Skip to content

fix(llm): surface native retry attempts#28691

Open
rekram1-node wants to merge 1 commit into
devfrom
fix-retries
Open

fix(llm): surface native retry attempts#28691
rekram1-node wants to merge 1 commit into
devfrom
fix-retries

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • emit native LLM retry events before internally retried HTTP requests
  • convert native LLM errors into session API errors so existing retry policy can classify them
  • mark transient transport failures retryable and publish retry state to the session UI

Tests

  • bun typecheck (packages/llm)
  • bun test test/executor.test.ts (packages/llm)
  • bun typecheck (packages/opencode)
  • bun test test/session/message-v2.test.ts test/session/retry.test.ts (packages/opencode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant