瀏覽代碼

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)}"