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
Any ideas how to work around this? Works for mistral okay.
500: Unexpected error: 500: Error processing AI query: 500: Error running data analyst: status_code: 400, model_name: grok-3-mini-fast-latest, body: Invalid request content: strict mode on function call is currently not supported.
Example Code
Python, Pydantic AI & LLM client version
python version is 3.12
pydantic-ai version is 0.2.10
LLM client is xai and model is 'grok-3-latest'(tried other models)
The text was updated successfully, but these errors were encountered:
@Luca-Blight I'm working on fixing exactly this class of issues in #1835 and #1842! Can you verify you're currently doing exactly what's in https://ai.pydantic.dev/models/openai/#grok-xai, with OpenAIModel and OpenAIProvider with custom base_url? In the first PR I'm fixing it for that scenario, and in the second PR there's a new GrokProvider that'll also get this behavior.
Initial Checks
Description
Any ideas how to work around this? Works for mistral okay.
500: Unexpected error: 500: Error processing AI query: 500: Error running data analyst: status_code: 400, model_name: grok-3-mini-fast-latest, body: Invalid request content:
strict
mode on function call is currently not supported.Example Code
Python, Pydantic AI & LLM client version
The text was updated successfully, but these errors were encountered: