fix: Update reasoning tag message and comment out dump function

This commit is contained in:
Paul Gauthier 2025-03-06 18:21:45 -08:00 committed by Paul Gauthier (aider)
parent d1d40a9a76
commit 539859f1ab
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: