Skip to content

Commit

Permalink
Unset temperature in models (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric-roucher authored Jan 22, 2025
1 parent ce11c7e commit ffaa945
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/smolagents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ def __init__(self, **kwargs):
self.last_input_token_count = None
self.last_output_token_count = None
# Set default values for common parameters
kwargs.setdefault("temperature", 0.5)
kwargs.setdefault("max_tokens", 4096)
self.kwargs = kwargs

Expand Down

0 comments on commit ffaa945

Please sign in to comment.