Skip to content

Commit

Permalink
Update chat_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dabzr authored Dec 26, 2024
1 parent 5991b45 commit 112e8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/groq/langchain_groq/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 112e8ea

Please sign in to comment.