Skip to content

[Platform][Anthropic] Strip unsupported schema features#2174

Open
valtzu wants to merge 1 commit into
symfony:mainfrom
valtzu:anthropic-schema-fix
Open

[Platform][Anthropic] Strip unsupported schema features#2174
valtzu wants to merge 1 commit into
symfony:mainfrom
valtzu:anthropic-schema-fix

Conversation

@valtzu

@valtzu valtzu commented Jun 13, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? yes
New feature? no
Docs? no
Issues Fix #2119
License MIT

Remove unsupported schema properties from Anthropic structured output.

The docs mention

The Python, TypeScript, Ruby, and PHP SDKs can automatically transform schemas with unsupported features by removing them and adding constraints to field descriptions. The C# and Go SDKs do the same when the schema is derived from a native type. See SDK-specific methods for details.

So maybe instead of just stripping these off, should we add them to description field? 🤔

@carsonbot carsonbot added Bug Something isn't working Platform Issues & PRs about the AI Platform component Status: Needs Review labels Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve StructuredOutput options

2 participants