From 112e8eab98be89889d1b091640ef51121854e607 Mon Sep 17 00:00:00 2001 From: dabzr <128552152+dabzr@users.noreply.github.com> Date: Thu, 26 Dec 2024 00:04:19 -0300 Subject: [PATCH] Update chat_models.py --- libs/partners/groq/langchain_groq/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/groq/langchain_groq/chat_models.py b/libs/partners/groq/langchain_groq/chat_models.py index f8e518cc4fe21..5868e9cc6a3a4 100644 --- a/libs/partners/groq/langchain_groq/chat_models.py +++ b/libs/partners/groq/langchain_groq/chat_models.py @@ -305,7 +305,7 @@ class Joke(BaseModel): """Model name to use.""" temperature: float = 0.7 """What sampling temperature to use.""" - stop: Optional[Union[List[str], str]] = Field(None, alias="stop_sequences") + stop: Optional[Union[List[str], str]] = Field(default=None, alias="stop_sequences") """Default stop sequences.""" model_kwargs: Dict[str, Any] = Field(default_factory=dict) """Holds any model parameters valid for `create` call not explicitly specified."""