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(