Skip to content

feat(interactions)!: support multimodal content in CodeExecutionResultStep.result - #1322

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_998245322
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_998245322

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

feat(interactions)!: support multimodal content in CodeExecutionResultStep.result

CodeExecutionResultStep.result can now hold either a string or a list of
Content items (e.g. text and images produced by code execution).

BREAKING CHANGE: In the typed SDKs, CodeExecutionResultStep.result changes
from string to the CodeExecutionResultStepResult union. Code that reads
result as a string must now check which variant is present and read the
string from it. The JSON for text-only results is unchanged.

@copybara-service copybara-service Bot changed the title No public description feat(interactions): support multimodal content in CodeExecutionResultStep.result Oct 13, 2026
@copybara-service
copybara-service Bot force-pushed the copybara_998245322 branch 6 times, most recently from a64c04b to 66b50fd Compare October 14, 2026 04:13
@copybara-service
copybara-service Bot force-pushed the copybara_998245322 branch 3 times, most recently from 232bc52 to 2678bc3 Compare October 22, 2026 18:44
@copybara-service copybara-service Bot changed the title feat(interactions): support multimodal content in CodeExecutionResultStep.result feat(interactions)!: support multimodal content in CodeExecutionResultStep.result Nov 3, 2026
@copybara-service
copybara-service Bot force-pushed the copybara_998245322 branch 3 times, most recently from d4db667 to c7ff5d9 Compare November 4, 2026 00:13
…tStep.result

`CodeExecutionResultStep.result` can now hold either a string or a list of
Content items (e.g. text and images produced by code execution).

BREAKING CHANGE: In the typed SDKs, `CodeExecutionResultStep.result` changes
from `string` to the `CodeExecutionResultStepResult` union. Code that reads
`result` as a string must now check which variant is present and read the
string from it. The JSON for text-only results is unchanged.

PiperOrigin-RevId: 998245322

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant