Skip to content

Conversation

PederHP
Copy link
Collaborator

@PederHP PederHP commented Sep 1, 2025

Fixes #747

We might want to warn or give errors if StructuredContent is present when there are incompatible content blocks - ie more than one text content block. I don't think it can actually happen, but if it can it will be a spec violation. Clients should not get different output in unstructured Content if StructuredContent is provided.

@PederHP PederHP changed the title Fix structured output backwards compatibility for string literals Fix structured output backwards compatibility for string results Sep 1, 2025
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.

StructuredContent vs Content Mismatch
1 participant