优化提示词

This commit is contained in:
2025-09-21 22:12:21 +08:00
parent fd89745950
commit afd170c451
4 changed files with 37 additions and 2 deletions

View File

@@ -746,7 +746,7 @@ class PyTreeGenerator:
# 保存推理链(若有)
try:
if reasoning_text:
reasoning_path = os.path.join(self.reasoning_dir, f"{plan_id}.md")
reasoning_path = os.path.join(self.reasoning_dir, "reasoning_content.md")
with open(reasoning_path, 'w', encoding='utf-8') as rf:
rf.write(reasoning_text)
logging.info(f"📝 推理链已保存: {reasoning_path}")
@@ -817,7 +817,7 @@ class PyTreeGenerator:
# 保存推理链(若有)
try:
if reasoning_text:
reasoning_path = os.path.join(self.reasoning_dir, f"{plan_id}.md")
reasoning_path = os.path.join(self.reasoning_dir, "reasoning_content.md")
with open(reasoning_path, 'w', encoding='utf-8') as rf:
rf.write(reasoning_text)
logging.info(f"📝 推理链已保存: {reasoning_path}")