mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
feat(core): allow overriding ls_model_name from kwargs (#32541)
This commit is contained in:
@@ -448,7 +448,7 @@ class ChatMistralAI(BaseChatModel):
|
||||
params = self._get_invocation_params(stop=stop, **kwargs)
|
||||
ls_params = LangSmithParams(
|
||||
ls_provider="mistral",
|
||||
ls_model_name=self.model,
|
||||
ls_model_name=params.get("model", self.model),
|
||||
ls_model_type="chat",
|
||||
ls_temperature=params.get("temperature", self.temperature),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user