You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(providers): scope Z.ai schema guidance to the response_format call only
- schemaGuidance now falls back to the bare responseFormat object when
.schema is absent, matching the schema-or-format fallback used
elsewhere in the codebase (was silently injecting nothing for callers
that pass a bare JSON schema)
- guidance is now only appended to the messages sent alongside an
actual response_format (the immediate call, or whichever pass
deferResponseFormat applies it to) instead of every turn of an
active tool loop, where it wrongly told the model to return final
JSON instead of continuing to call tools
0 commit comments