Skip to content

fix(chatgpt): retry transient WebSocket response failures - #268

Merged
danielkov merged 1 commit into
mainfrom
fix/chatgpt-response-failure-retry
Oct 12, 2026
Merged

danielkov merged 1 commit into
mainfrom
fix/chatgpt-response-failure-retry

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Pin agentkit-provider-openai to 0.10.13 so ChatGPT sessions retry correlated transient WebSocket response failures. Add a loopback regression that keeps the failed socket open and requires a full-request retry on a fresh socket.

Motivation

An accepted response that fails with server_error and status 503 currently terminates the session after one attempt, before the configured retry policy can run. This adopts the published fix from AgentKit #33.

Technical details

The lockfile changes only the provider version and checksum; dependencies and enabled features are unchanged. The published archive matches the merged upstream commit.

Recovery retains the upstream store:false, response-ID correlation, and output-supersession safeguards. Malformed sequence numbers are now rejected as protocol errors rather than silently ignored.

@danielkov
danielkov enabled auto-merge (squash) October 12, 2026 16:02

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@danielkov
danielkov merged commit 53400be into main Oct 12, 2026
5 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