mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Fix unsupported stop param for grok-code models (#14565)
This commit is contained in:
parent
03f2be1e20
commit
7fd6e62570
1 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,8 @@ class XAIChatConfig(OpenAIGPTConfig):
|
|||
return False
|
||||
elif "grok-4" in model:
|
||||
return False
|
||||
elif "grok-code-fast" in model:
|
||||
return False
|
||||
return True
|
||||
|
||||
def _supports_frequency_penalty(self, model: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue