proxy: expand streaming response events #31

Merged
wmc merged 1 commit from codex/streaming-proxy-events into main 2026-06-23 07:34:36 +00:00
Owner

Summary

  • Map streamed Chat tool-call argument deltas to Responses function-call SSE events.
  • Emit response.incomplete for streamed length and content_filter finish reasons.
  • Carry usage from empty-choice usage chunks into the terminal streaming response.
  • Update README and TODO for the completed proxy streaming slice.

Verification

  • RED: focused streaming proxy tests failed before implementation
  • GREEN: focused streaming proxy tests passed after implementation
  • DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-stream-events-proxy CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests
  • git diff --check
  • DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer scripts/verify.sh

Review

  • Subagent review: no findings.
## Summary - Map streamed Chat tool-call argument deltas to Responses function-call SSE events. - Emit `response.incomplete` for streamed `length` and `content_filter` finish reasons. - Carry usage from empty-choice usage chunks into the terminal streaming response. - Update README and TODO for the completed proxy streaming slice. ## Verification - RED: focused streaming proxy tests failed before implementation - GREEN: focused streaming proxy tests passed after implementation - DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcodebuild test -project CodexModelSwitcher.xcodeproj -scheme CodexModelSwitcher -configuration Debug -destination platform=macOS -derivedDataPath /tmp/CodexModelSwitcher-DerivedData-stream-events-proxy CODE_SIGNING_ALLOWED=NO -only-testing:CodexModelSwitcherTests/CompatibilityProxyServerTests - git diff --check - DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer scripts/verify.sh ## Review - Subagent review: no findings.
wmc merged commit 99a99c421c into main 2026-06-23 07:34:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
wmc/CodexModelSwitcher!31
No description provided.