Skip to content

fix: omit empty content from an LlmResponse built from a content-less candidate - #365

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_967732960
Aug 25, 2026
Merged

fix: omit empty content from an LlmResponse built from a content-less candidate#365
copybara-service[bot] merged 1 commit into
mainfrom
test_967732960

Conversation

@copybara-service

Copy link
Copy Markdown

fix: omit empty content from an LlmResponse built from a content-less candidate

A candidate with no content parts (for example one blocked for safety) now
yields an LlmResponse with null content instead of an empty Content, unless the
turn finished normally.

@copybara-service
copybara-service Bot force-pushed the test_967732960 branch 3 times, most recently from d5a5aed to 30867b3 Compare August 25, 2026 10:48
… candidate

A candidate with no content parts (for example one blocked for safety) now
yields an LlmResponse with null content instead of an empty Content, unless the
turn finished normally.

PiperOrigin-RevId: 970510957
@copybara-service
copybara-service Bot merged commit e856bce into main Aug 25, 2026
8 checks passed
@copybara-service
copybara-service Bot deleted the test_967732960 branch August 25, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants