Update Grok 4 max_output_tokens to 16K to match Grok 3.

This commit is contained in:
Raymond Lucke
2025-07-10 18:41:50 -07:00
parent 346410e34e
commit 0b4167bd6f

View File

@@ -26,7 +26,7 @@ class XAIModelProvider(OpenAICompatibleProvider):
model_name="grok-4-0709",
friendly_name="X.AI (Grok 4)",
context_window=256_000, # 256K tokens
max_output_tokens=256000,
max_output_tokens=16_384,
supports_extended_thinking=True, # Supports reasoning mode
supports_system_prompts=True,
supports_streaming=True,