Skip to content

fix(core): scope Responses WebSocket reuse to turns#20

Merged
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/responses-websocket-stale-session
May 3, 2026
Merged

fix(core): scope Responses WebSocket reuse to turns#20
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/responses-websocket-stale-session

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented May 3, 2026

Summary

  • reset reusable Responses WebSocket state at the start of each model turn
  • clear cached chained request/response state when a WebSocket closes before a terminal response
  • keep prewarm/reuse within a turn while avoiding stale cross-turn sockets

Validation

  • ./build-fast.sh

Reset reusable Responses WebSocket state at the start of each turn and clear cached chain state when the socket closes before a terminal response. This keeps prewarm reuse within a turn while avoiding stale cross-turn sockets.
@cbusillo cbusillo force-pushed the fix/responses-websocket-stale-session branch from f517830 to a7bc192 Compare May 3, 2026 18:05
@cbusillo cbusillo merged commit 8bfdfe0 into local/cbusillo-overlay May 3, 2026
1 check passed
@cbusillo cbusillo deleted the fix/responses-websocket-stale-session branch May 3, 2026 18:06
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