mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-29 14:37:21 +00:00
mistral[patch]: Support both model and model_name (#20557)
This commit is contained in:
parent
e3bd521654
commit
718c9cbe3a
@ -315,8 +315,7 @@ class ChatMistralAI(BaseChatModel):
|
||||
max_retries: int = 5
|
||||
timeout: int = 120
|
||||
max_concurrent_requests: int = 64
|
||||
|
||||
model: str = "mistral-small"
|
||||
model: str = Field(default="mistral-small", alias="model_name")
|
||||
temperature: float = 0.7
|
||||
max_tokens: Optional[int] = None
|
||||
top_p: float = 1
|
||||
|
Loading…
Reference in New Issue
Block a user