Files
openclaw/src
SidQin-cyber 7793c0cce8 fix(agents): detect Venice provider proxying xAI/Grok models for schema cleaning
isXaiProvider() only checks for provider strings containing "xai" or
"x-ai", and openrouter with "x-ai/" model prefix.  Venice proxies
xAI/Grok models under provider string "venice", which bypasses the
detection entirely.  Requests then fail with "Invalid arguments passed
to the model" because unsupported JSON Schema keywords are not stripped.

Add a Venice + grok model detection branch to isXaiProvider().

Closes #34955

Made-with: Cursor
2026-03-05 05:23:28 +00:00
..