Merge pull request #4429 from pipecat-ai/mb/update-grok-default-llm-model
fix(xai): update default Grok model to grok-4.20-non-reasoning
This commit is contained in:
1
changelog/4429.changed.md
Normal file
1
changelog/4429.changed.md
Normal file
@@ -0,0 +1 @@
|
||||
- Changed the default model for `GrokLLMService` from `grok-3` to `grok-4.20-non-reasoning`. xAI is retiring `grok-3` on May 15, 2026.
|
||||
@@ -56,7 +56,7 @@ class GrokLLMService(OpenAILLMService):
|
||||
Args:
|
||||
api_key: The API key for accessing Grok's API.
|
||||
base_url: The base URL for Grok API. Defaults to "https://api.x.ai/v1".
|
||||
model: The model identifier to use. Defaults to "grok-3".
|
||||
model: The model identifier to use. Defaults to "grok-4.20-non-reasoning".
|
||||
|
||||
.. deprecated:: 0.0.105
|
||||
Use ``settings=GrokLLMService.Settings(model=...)`` instead.
|
||||
@@ -67,7 +67,7 @@ class GrokLLMService(OpenAILLMService):
|
||||
"""
|
||||
# 1. Initialize default_settings with hardcoded defaults
|
||||
default_settings = self.Settings(
|
||||
model="grok-3",
|
||||
model="grok-4.20-non-reasoning",
|
||||
)
|
||||
|
||||
# 2. Apply direct init arg overrides (deprecated)
|
||||
|
||||
Reference in New Issue
Block a user