mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
refactor: Change default temperature to None and remove debug dump
This commit is contained in:
parent
495a27c0a7
commit
7b557c0586
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue