Repository navigation
ADFA-6318 | Describe native tool calling in the AI-Agent-OpenAI README - #121
Merged
Merged
Conversation
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 point 2 of ADFA-6318. Point 1 (
docs/plugin-api.mdin CodeOnTheGo) is a separate PR in that repo.What was stale
ToolCallingBackend. That text dates from ADFA-3017; native tool calling landed in ADFA-5410 (OpenAiBackendimplementsToolCallingBackendand overridesgenerateStreamingWithTools).OpenAiToolProtocol.kt(the tool protocol) andOpenAiHttpClient.kt(the actual HTTP transport, which the list attributed toOpenAiBackend).@Testmethods undersrc/test.Change
README only. The section now describes the request (
tools[],tool_choiceonly for a required tool), stream (tool_callsdeltas accumulated, reported after the stream ends), results (sent asuserturns), prompt (nativeformat fromtools.yml), and the fallback when a server refuses tools (retry once with none, Toast, remembered per base URL). Each claim was checked against the code.Verification
addons checkpasses. Docs-only; no build or device run.🤖 Generated with Claude Code