From 26daa180d7f86a4ce32e4070fa2d14f85596f2e5 Mon Sep 17 00:00:00 2001 From: Li Jiang Date: Tue, 6 Feb 2024 01:21:03 +0800 Subject: [PATCH] Fix docstrings (#1539) --- autogen/agentchat/conversable_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.py index e3fb3d8be..e4bf53836 100644 --- a/autogen/agentchat/conversable_agent.py +++ b/autogen/agentchat/conversable_agent.py @@ -721,7 +721,7 @@ class ConversableAgent(Agent): Reset the consecutive auto reply counter. If `clear_history` is True, the chat history with the recipient agent will be cleared. - `generate_init_message` is called to generate the initial message for the agent. + `a_generate_init_message` is called to generate the initial message for the agent. Args: recipient: the recipient agent. @@ -729,7 +729,7 @@ class ConversableAgent(Agent): silent (bool or None): (Experimental) whether to print the messages for this conversation. cache (Cache or None): the cache client to be used for this conversation. **context: any context information. - "message" needs to be provided if the `generate_init_message` method is not overridden. + "message" needs to be provided if the `a_generate_init_message` method is not overridden. Otherwise, input() will be called to get the initial message. """ self._prepare_chat(recipient, clear_history)