Skip to content

v0.2.3 - Fix xAI Grok reasoningEffort Error

Latest

Choose a tag to compare

@acedergren acedergren released this 05 Feb 14:17
· 4 commits to main since this release

What's Changed

Bug Fix

Fixed xAI Grok models failing with reasoningEffort parameter error

xAI Grok models use model variant selection (grok-4-1-fast-reasoning vs grok-4-1-fast-non-reasoning) to control reasoning mode, not the reasoningEffort API parameter. The provider was incorrectly sending reasoningEffort for xAI reasoning models, causing:

HTTP 400: Model does not support parameter reasoningEffort

Note on Model IDs

The correct xAI Grok 4.1 model IDs use hyphens (not dots):

  • xai.grok-4-1-fast-reasoning
  • xai.grok-4-1-fast-non-reasoning

If you have xai.grok-4.1-fast-reasoning (with dots) in your config, update to use hyphens.

Full Changelog: v0.2.2...v0.2.3