Skip to content

Commit

Permalink
refactor: Change default temperature to None and remove debug dump
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Feb 4, 2025
1 parent 495a27c commit 7b557c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aider/coders/base_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Coder:
max_reflections = 3
edit_format = None
yield_stream = False
temperature = 0
temperature = None
auto_lint = True
auto_test = False
test_cmd = None
Expand Down
2 changes: 1 addition & 1 deletion aider/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def send_completion(self, messages, functions, stream, temperature=None):
kwargs["num_ctx"] = num_ctx
key = json.dumps(kwargs, sort_keys=True).encode()

dump(kwargs)
# dump(kwargs)

hash_object = hashlib.sha1(key)
res = litellm.completion(**kwargs)
Expand Down

0 comments on commit 7b557c0

Please sign in to comment.