From a963b9ffd82a3590965a0b4c8e91a94ad01bb947 Mon Sep 17 00:00:00 2001 From: LeoLjl Date: Thu, 21 Nov 2024 02:31:25 +0000 Subject: [PATCH] Bug fix --- autogen/agentchat/contrib/captainagent.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/autogen/agentchat/contrib/captainagent.py b/autogen/agentchat/contrib/captainagent.py index 0611ce94ae..77824e7af5 100644 --- a/autogen/agentchat/contrib/captainagent.py +++ b/autogen/agentchat/contrib/captainagent.py @@ -178,12 +178,7 @@ def __init__( if nested_config["group_chat_llm_config"] is None: nested_config["group_chat_llm_config"] = llm_config.copy() - self.assistant = ConversableAgent( - name="CaptainAgent", - system_message=system_message, - llm_config=llm_config, - agent_config_save_path=agent_config_save_path, - ) + self.assistant = ConversableAgent(name="CaptainAgent", system_message=system_message, llm_config=llm_config) self.assistant.update_tool_signature(self.AUTOBUILD_TOOL, is_remove=False) self.executor = CaptainUserProxyAgent(