| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Update ADK to support the new Interactions API. See: https://ai.google.dev/gemini-api/docs/interactions-breaking-changes-may-2026 Key changes include: * Updated `interactions_utils.py` to parse new v2 interaction events such as `InteractionCreatedEvent`, `InteractionCompletedEvent`, and explicit step types (`ModelOutputStep`, `FunctionCallStep`, etc.). * Transitioned from "turns" to "steps" terminology, including renaming `convert_contents_to_turns` to `convert_contents_to_steps`. * Updated `contributing/samples/interactions_api` Breaking Changes in interactions_utils.py: - Renamed "turn" functions to "step" equivalents: - `convert_content_to_turn` -> `_convert_content_to_step` - `convert_contents_to_turns` -> `_convert_contents_to_steps` - `convert_interaction_output_to_part` -> `_convert_interaction_step_to_parts` - Updated `build_interactions_request_log` to use required `input_steps` instead of `input_turns`. - Deprecated `convert_part_to_interaction_content` Change-Id: I962724321342ba0192251896ce51832b214d60d9
Co-authored-by: George Weale <gweale@google.com> PiperOrigin-RevId: 936123710 Change-Id: I91027f5305ee7f90781eef11aafbf28fe4a2fc7a
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Sorry, something went wrong.
|
Response from ADK Triaging Agent Hello @wukath, thank you for creating this PR! To help us review and process your contribution, please make sure the following guidelines from our contribution guidelines are addressed:
This information will help reviewers to review your PR more efficiently. Thanks! |
Sorry, something went wrong.
Change-Id: I57c02aa762177971a637ce3d6f256d6f46f668fe
|
Let's make sure the tests are passing this time. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Cherry-picks da1d8f1 and 9f3aeef into the v1 branch.