Skip to content

feat(openai-codex): add gpt-5.3-codex-spark and robust responses stream handling#11601

Open
aShanki wants to merge 1 commit intoRooCodeInc:mainfrom
aShanki:feat/openai-codex-spark-context-and-stream-fixes
Open

feat(openai-codex): add gpt-5.3-codex-spark and robust responses stream handling#11601
aShanki wants to merge 1 commit intoRooCodeInc:mainfrom
aShanki:feat/openai-codex-spark-context-and-stream-fixes

Conversation

@aShanki
Copy link

@aShanki aShanki commented Feb 19, 2026

Summary

  • add gpt-5.3-codex-spark to OpenAI Codex model list with Spark-specific metadata (contextWindow: 128000, maxTokens: 8192, supportsImages: false)
  • harden OpenAI Codex Responses event parsing to handle done-only/content-part streams so assistant text/tool calls are emitted reliably
  • add tests for Spark model metadata and done-only/content-part stream fallback behavior

Testing

  • pnpm vitest run api/providers/tests/openai-codex.spec.ts api/providers/tests/openai-codex-native-tool-calls.spec.ts (in src)
  • pnpm --filter @roo-code/types test -- src/tests/provider-settings.test.ts
  • pre-push hook: full monorepo check-types

Notes

  • this fixes the runtime issue where Codex Spark could return no assistant messages even with a valid API response

Start a new Roo Code Cloud session on this branch

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments