Przeglądaj źródła

run_complete_agent_flow方法增加返回值

jiaqiang 4 dni temu
rodzic
commit
33eb449f78
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      llmops/complete_agent_flow_rule.py

+ 2 - 2
llmops/complete_agent_flow_rule.py

@@ -638,7 +638,7 @@ async def main():
     industry = "农业"
 
     # 测试文件
-    file_name = "test_temp_agriculture_transaction_flow.csv"
+    file_name = "交易流水样例数据.csv"
     curr_dir = os.path.dirname(os.path.abspath(__file__))
     file_path = os.path.join(curr_dir, "..", "data_files", file_name)
 
@@ -665,7 +665,7 @@ async def main():
         print(f"   规划步骤: {summary.get('planning_steps', 0)}")
         print(f"   指标计算: {summary.get('metrics_computed', 0)}")
         print("🎉 测试成功!")
-
+    return result
 
 if __name__ == "__main__":
     import asyncio