Repository navigation
fix(google-genai): capture server tool message parts - #701
Merged
lmolkova merged 5 commits intoSep 13, 2026
Merged
Conversation
Assisted-by: Codex
Assisted-by: Codex
Pull request dashboard statusMerged · refreshed 2026-09-13 23:00 UTC Status above doesn't look right?
|
Assisted-by: Codex
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The synthesized provider responses require human validation or re-recording against the real Google GenAI API.
Pull request overview
Adds server-executed tool calls and results to Google GenAI message telemetry.
Changes:
- Maps Generate Content and Interactions server tools to semantic-convention message parts.
- Adds parser and conformance coverage.
- Adds synthesized VCR fixtures and a changelog fragment.
File summaries
| File | Description |
|---|---|
tests/test_conformance.py |
Registers new scenarios. |
tests/interactions/test_parser.py |
Tests Interactions mappings. |
tests/generate_content/test_message.py |
Tests Generate Content mappings. |
tests/conformance/server_tool_calling.py |
Adds server-tool conformance scenarios. |
tests/cassettes/interactions_server_tool_calling_conformance.yaml |
Adds Interactions replay data. |
tests/cassettes/generate_content_server_tool_calling_conformance.yaml |
Adds Generate Content replay data. |
src/.../message.py |
Maps Generate Content server tools. |
src/.../interactions.py |
Maps Interactions server-tool steps. |
.changelog/701.fixed |
Documents the fix. |
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
lmolkova
marked this pull request as ready for review
September 12, 2026 20:54
eternalcuriouslearner
approved these changes
Sep 13, 2026
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.
Maps Google GenAI provider-executed tool calls and results to server tool message parts for Generate Content and Interactions. Client-executed function calls remain regular tool call parts.
Known concern: the new conformance cassettes are synthesized and marked for re-recording against the provider.