Skip to content

fix!: Restrict AG2Agent.query to its declared arguments. - #7316

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara_1025620793
Nov 20, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
copybara_1025620793

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

fix!: Restrict AG2Agent.query to its declared arguments.

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().

@copybara-service
copybara-service Bot requested a review from a team as a code owner November 19, 2026 17:01
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Nov 19, 2026
@copybara-service
copybara-service Bot force-pushed the copybara_1025620793 branch 2 times, most recently from ceb1b9f to 2bfe742 Compare November 19, 2026 17:43
@copybara-service copybara-service Bot changed the title fix: Restrict AG2Agent.query to its declared arguments. fix!: Restrict AG2Agent.query to its declared arguments. Nov 19, 2026
@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Nov 19, 2026
@copybara-service
copybara-service Bot force-pushed the copybara_1025620793 branch 3 times, most recently from 24ea7d0 to 73708a6 Compare November 20, 2026 01:19
`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
copybara-service Bot merged commit acaa5a1 into main Nov 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: vertex-ai Issues related to the googleapis/python-aiplatform API. google-contributor size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant