Skip to content

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

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

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 94c1f1d to 94e5533 Compare October 14, 2026 04:12
@copybara-service
copybara-service Bot force-pushed the copybara/998245322 branch 3 times, most recently from 394e2e9 to def05dd 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 4 times, most recently from d2acee1 to 6a3fed4 Compare November 4, 2026 04:25
…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