Browse Source

clean_agent

丁云鹏 5 days ago
parent
commit
ea8cd55969
1 changed files with 1 additions and 0 deletions
  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)}"