mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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
|
||||
if text:
|
||||
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.ended_reasoning_content = True
|
||||
|
||||
|
|
|
@ -625,7 +625,7 @@ class Model(ModelSettings):
|
|||
kwargs["num_ctx"] = num_ctx
|
||||
key = json.dumps(kwargs, sort_keys=True).encode()
|
||||
|
||||
dump(kwargs)
|
||||
# dump(kwargs)
|
||||
|
||||
hash_object = hashlib.sha1(key)
|
||||
if "timeout" not in kwargs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue