refactor: Change default temperature to None and remove debug dump

This commit is contained in:
Paul Gauthier 2025-02-04 14:00:25 -08:00 committed by Paul Gauthier (aider)
parent 495a27c0a7
commit 7b557c0586
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ class Coder:
max_reflections = 3 max_reflections = 3
edit_format = None edit_format = None
yield_stream = False yield_stream = False
temperature = 0 temperature = None
auto_lint = True auto_lint = True
auto_test = False auto_test = False
test_cmd = None test_cmd = None

View file

@ -569,7 +569,7 @@ class Model(ModelSettings):
kwargs["num_ctx"] = num_ctx kwargs["num_ctx"] = num_ctx
key = json.dumps(kwargs, sort_keys=True).encode() key = json.dumps(kwargs, sort_keys=True).encode()
dump(kwargs) # dump(kwargs)
hash_object = hashlib.sha1(key) hash_object = hashlib.sha1(key)
res = litellm.completion(**kwargs) res = litellm.completion(**kwargs)