Fix tool call conversion and working checkpoint result

This commit is contained in:
Liang Jiaqing
2026-04-10 10:45:00 +08:00
parent cc283a96f3
commit 4b18ad683f
2 changed files with 9 additions and 3 deletions

2
ga.py
View File

@@ -429,7 +429,7 @@ class GenericAgentHandler(BaseHandler):
yield f"[Info] Updated key_info and related_sop.\n"
next_prompt = self._get_anchor_prompt(skip=args.get('_index', 0) > 0)
#next_prompt += '\n[SYSTEM TIPS] 此函数一般在任务开始或中间时调用如果任务已成功完成应该是start_long_term_update用于结算长期记忆。\n'
return StepOutcome({"status": "success"}, next_prompt=next_prompt)
return StepOutcome({"result": "working key_info updated"}, next_prompt=next_prompt)
def do_no_tool(self, args, response):
'''这是一个特殊工具由引擎自主调用不要包含在TOOLS_SCHEMA里。