mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
fix: Update reasoning tag message and comment out dump function
This commit is contained in:
parent
d1d40a9a76
commit
539859f1ab
2 changed files with 2 additions and 2 deletions
|
@ -1768,7 +1768,7 @@ class Coder:
|
||||||
text = chunk.choices[0].delta.content
|
text = chunk.choices[0].delta.content
|
||||||
if text:
|
if text:
|
||||||
if self.got_reasoning_content and not self.ended_reasoning_content:
|
if self.got_reasoning_content and not self.ended_reasoning_content:
|
||||||
tag = f"\n\n------\n\n</{REASONING_TAG}>\n\n"
|
tag = f"\n\n> Done thinking ...\n\n------\n\n</{REASONING_TAG}>\n\n"
|
||||||
self.partial_response_content += tag
|
self.partial_response_content += tag
|
||||||
self.ended_reasoning_content = True
|
self.ended_reasoning_content = True
|
||||||
|
|
||||||
|
|
|
@ -625,7 +625,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)
|
||||||
if "timeout" not in kwargs:
|
if "timeout" not in kwargs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue