Repository navigation
fix!: Restrict AG2Agent.query to its declared arguments. - #7316
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
copybara_1025620793
branch
2 times, most recently
from
November 19, 2026 17:43
ceb1b9f to
2bfe742
Compare
AG2Agent.query to its declared arguments.AG2Agent.query to its declared arguments.
copybara-service
Bot
force-pushed
the
copybara_1025620793
branch
from
November 19, 2026 19:36
2bfe742 to
bddb513
Compare
copybara-service
Bot
force-pushed
the
copybara_1025620793
branch
3 times, most recently
from
November 20, 2026 01:19
24ea7d0 to
73708a6
Compare
`AG2Agent.query` accepts only `input`, `max_turns`, `msg_to`, `clear_history`, `summary_method` and (ignored) `user_input`. Only the `content` field of a mapping `input` is used. BREAKING_CHANGE: `AG2Agent.query` no longer forwards other arguments such as `executor_kwargs` to `ConversableAgent.run()`. PiperOrigin-RevId: 1026046548
copybara-service
Bot
force-pushed
the
copybara_1025620793
branch
from
November 20, 2026 01:58
73708a6 to
acaa5a1
Compare
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.
fix!: Restrict
AG2Agent.queryto its declared arguments.AG2Agent.queryaccepts onlyinput,max_turns,msg_to,clear_history,summary_methodand (ignored)user_input. Only thecontentfield of amapping
inputis used.BREAKING_CHANGE:
AG2Agent.queryno longer forwards other arguments such asexecutor_kwargstoConversableAgent.run().