Skip to content

fix(provider): retry truncated streams without terminal marker - #23

Merged
lx-1997 merged 1 commit into
mainfrom
codex/stream-recovery
Jul 27, 2026
Merged

fix(provider): retry truncated streams without terminal marker#23
lx-1997 merged 1 commit into
mainfrom
codex/stream-recovery

Conversation

@lx-1997

@lx-1997 lx-1997 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • classify missing finish_reason stream termination as a retryable premature close
  • surface exhausted retries as service_unavailable
  • add the exact RDK Studio incident as a provider retry regression

Verification

  • npm run build --workspace @rdk-moss/agent
  • npm test --workspace @rdk-moss/agent (191 test files passed)
  • node packages/moss-agent/test/error-classify-500.spec.mjs
  • node packages/moss-agent/test/provider-retry-contract.spec.mjs

@lx-1997
lx-1997 merged commit 14ca171 into main Jul 27, 2026
3 checks passed
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