瀏覽代碼

整理execution_record

TanJingyu 19 小時之前
父節點
當前提交
d877979cb1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      knowledge_v2/execution_collector.py

+ 1 - 0
knowledge_v2/execution_collector.py

@@ -98,6 +98,7 @@ class ExecutionCollector:
                 
                 # Result
                 execution_record["output"]["result"] = tool_call_detail.get("result", "")
+                execution_record["output"]["tool"] = tool_call_detail.get("tool_name", "")
 
             else:
                 # Flow B: Search (Multi/LLM)