소스 검색

run_complete_agent_flow方法增加返回值

jiaqiang 4 일 전
부모
커밋
33eb449f78
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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