Skip to content

fix(provider): object-root union schemas for all openai-compatible backends - #261

Merged
LeXwDeX merged 2 commits into
mainfrom
dev
Aug 14, 2026
Merged

fix(provider): object-root union schemas for all openai-compatible backends#261
LeXwDeX merged 2 commits into
mainfrom
dev

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Promote to main: generalize the implicit-root anyOftype: "object" normalization from DeepSeek-only id matching to the whole @ai-sdk/openai-compatible transport.

Dev validation

Closes #260 (cherry-picked content merged via dev).

…ckends

The DeepSeek-only guard missed GLM and other OpenAI-compatible relays,
which silently emit empty tool arguments for implicit-root anyOf function
schemas. Generalize the fix to the @ai-sdk/openai-compatible transport.
fix(provider): object-root union schemas for all openai-compatible backends
@LeXwDeX
LeXwDeX merged commit 58d6417 into main Aug 14, 2026
15 checks passed
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.

1 participant