Fix unsupported stop param for grok-code models (#14565)

This commit is contained in:
Sameer Kankute 2025-09-15 19:30:54 +05:30 committed by GitHub
parent 03f2be1e20
commit 7fd6e62570
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: