Skip to content

fix(agent): resume prepared model requests after an Agent rebuild - #6901

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/settle-frozen-tool-model
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/settle-frozen-tool-model

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 14, 2026

Copy link
Copy Markdown
Member

A rebuild of the Agent package could make a prepared model request look like it had changed routes and leave the conversation unable to send another message. Use the adapter identity and request contract to decide whether recovery can continue. If a request is rejected before dispatch, settle the attempt so the same conversation can accept a follow-up.

No data migration is needed. On restart, the Host can settle an existing interrupted attempt once it confirms the original reader process has exited. The conversation keeps its history.

Verified locally: dispatch after a package rebuild, preflight rejection without blocking a follow-up, recovery after replacing the Host process, and compaction.

Generated-by: OpenAI Codex

@M4n5ter
M4n5ter merged commit 86990fe into rust-preview Nov 14, 2026
6 of 8 checks passed
@M4n5ter
M4n5ter deleted the codex/settle-frozen-tool-model branch November 14, 2026 11:07
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