Repository navigation
Conversation
Integrate the translator callable identity work from d1f8d10 with the current literal-name, replay, selector, and allocation fixes. Translate declarations and events once inside each translation trip, retain isolated provider payloads, and move the focused coverage alongside its owner.
M1k0t0
force-pushed
the
floway/responses-tool-compatibility
branch
from
September 27, 2026 07:13
2dbf4dd to
c89bcfa
Compare
This was referenced Sep 27, 2026
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.
Responses requests can reuse a callable name across namespaces, function/custom declarations, and replayed history. Translation can conflate these identities, while server-tool shims can mistake a namespaced client call for an injected helper. For example, a historical function
readmust remain distinct when the next request declares a custom tool namedread.This change preserves those identities through translation, continuation, and hosted-tool execution:
additional_tools/tool_search_output, replay, and selectors in both Responses → Chat Completions and Responses → Anthropic Messages. Restore source names, namespaces, callable kinds, argument events, and echoed tool fields on the return path..or__literal unless an explicit namespace is present. Allocate distinct aliases for callable kinds and namespace tuples, preserve namespace descriptions, and bound collision lookup and long-name processing.allowed_toolssubsets and original choice echoes across helper iterations.Validation on
bddaf78eb:pnpm run verifypassed, including lint, typecheck, 6,434 tests across 588 files, repository checks, and the web build.