Fix supplied tool calls in ADK and Langroid Bots - #615
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
guidovizoso,
mxmzb and
tylerslaton
as code owners
September 19, 2026 04:13
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.
ADK and Langroid could answer text prompts with an OpenAI key but could not reliably call the tools supplied by OpenBot. ADK now registers the documented
AGUIToolset; Langroid now sends each run’s tool schemas and complete message history—including actual tool results—to its model.Langroid keeps the existing AG-UI adapter and provider selection. Each run has isolated tool/history state, and calls are sequential because the adapter emits one tool call per response.
Validation:
gpt-4.1-miniround trip: the model called the supplied tool, then returned the unpredictable value produced by that tool.The live check uses a synthetic client tool; it does not claim a new browser, chart, OAuth, or desktop validation. No runtime dependency or OS-specific changes.
References: ADK tool configuration, Langroid ChatAgent API.