You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dec76cf
Browse filesBrowse the repository at this point in the historyBrowse files
hzq
committed
Finish Responses turns at the validated terminal event
Release the reader without waiting for the upstream connection or its cleanup acknowledgement. Reconcile visible text with the terminal snapshot and keep partial function arguments out of truncated turns.
Improvement-Round: 9/10 after v0.0.73
|`anthropicInlineToolChanges`| Anthropic Messages only, off by default. Permit `inline-tools-2026-09-15` for verified tool changes in a native bridge continuation. Not needed just to turn all tools off. See [caller tools](harness.md). |
130
130
131
+
For an `openai-responses` provider the worker finishes on the first complete, consistent [Responses terminal event](https://developers.openai.com/api/docs/guides/streaming-responses). It does not wait for the HTTP connection to close. An item-level `done`, `[DONE]`, or EOF alone cannot authorize a tool call. An incomplete response with reason `max_output_tokens` preserves partial text and reported usage, never partial tool arguments. Other or unspecified incomplete reasons produce `upstream_incomplete`, not a token-limit claim. Text already streamed must agree with the terminal snapshot. A missing suffix is delivered once; out-of-order parts may wait for the snapshot rather than appearing under the wrong item.
0 commit comments