Skip to content

Commit

Permalink
fix: adapt type hinting to None
Browse files Browse the repository at this point in the history
  • Loading branch information
blaufink committed Nov 20, 2024
1 parent 6466191 commit ce6e5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/mistralai/langchain_mistralai/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class ChatMistralAI(BaseChatModel):
"""Decode using nucleus sampling: consider the smallest set of tokens whose
probability sum is at least top_p. Must be in the closed interval [0.0, 1.0]."""
random_seed: Optional[int] = None
safe_mode: bool = None
safe_mode: Optional[bool] = None
streaming: bool = False

model_config = ConfigDict(
Expand Down

0 comments on commit ce6e5e1

Please sign in to comment.