Repository navigation
Conversation
The CHANGELOG moved under this branch: activeagents#699 rewrote Unreleased and activeagents#701 to activeagents#703 added entries. This keeps main's CHANGELOG and puts the Responses streaming entry at the top of Unreleased → Fixed, tagged `(activeagent)` like its neighbours. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PCEJHsJpjXpDa9Kuq9i4Yg
TonsOfFun
added a commit
to yorzi/activeagent
that referenced
this pull request
Nov 12, 2026
activeagents#706 landed its CHANGELOG entry at the top of Unreleased → Fixed after this branch was cut. This keeps main's CHANGELOG and puts the missed-gate entry above it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PCEJHsJpjXpDa9Kuq9i4Yg
This was referenced Nov 12, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes loss of Responses API streaming error details (follow-up to #613).
The SDK yields typed
errorandresponse.failedevents for failures inside a successful HTTP stream. These events reached the provider's fallback branch, replacing the API error withUnexpected Response Chunk Type.Handle both events by raising the existing
ActiveAgent::Providers::Errors::ProviderErrorwith the API code and message. A failed response with no error details gets a fallback message. Failed streams do not enter the successful completion branch. No HTTP status or retry classification is inferred from a streaming error code.Testing and validation
Synthetic SSE responses exercise both event types through the SDK and provider, including a failed response without error details. All three regressions fail on main with the unexpected chunk error and pass with the fix. Together with the finish-reason tests: 6 tests, 9 assertions, no failures. The complete Responses provider area passes: 81 tests, 221 assertions. RuboCop reports no offenses in the changed Ruby files.
This change was prepared with assistance from an AI coding agent (Codex).