소스 검색

clean_agent

丁云鹏 1 개월 전
부모
커밋
ea8cd55969
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      agents/clean_agent/agent.py

+ 1 - 0
agents/clean_agent/agent.py

@@ -91,6 +91,7 @@ def execute_agent_with_api(user_input: str):
                 
                 # memory = InMemorySaver()
                 # graph = graph_builder.compile(checkpointer=memory)
+                graph = graph_builder.compile()
             except Exception as e:
                 logger.error(f"初始化Agent失败: {str(e)}")
                 return f"初始化Agent失败: {str(e)}"