A programming framework for agentic AI
update input prompt message (#3149)
Jatin Shridhard3c73e9d3663
diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.pyindex 79a3c0d01..674c8b924 100644--- a/autogen/agentchat/conversable_agent.py+++ b/autogen/agentchat/conversable_agent.py@@ -1723,7 +1723,7 @@ class ConversableAgent(LLMAgent):sender_name = "the sender" if sender is None else sender.nameif self.human_input_mode == "ALWAYS":reply = self.get_human_input(- f"Provide feedback to {sender_name}. Press enter to skip and use auto-reply, or type 'exit' to end the conversation: "+ f"Replying as {self.name}. Provide feedback to {sender_name}. Press enter to skip and use auto-reply, or type 'exit' to end the conversation: ")no_human_input_msg = "NO HUMAN INPUT RECEIVED." if not reply else ""# if the human input is empty, and the message is a termination message, then we will terminate the conversation@@ -1836,7 +1836,7 @@ class ConversableAgent(LLMAgent):sender_name = "the sender" if sender is None else sender.nameif self.human_input_mode == "ALWAYS":reply = await self.a_get_human_input(- f"Provide feedback to {sender_name}. Press enter to skip and use auto-reply, or type 'exit' to end the conversation: "+ f"Replying as {self.name}. Provide feedback to {sender_name}. Press enter to skip and use auto-reply, or type 'exit' to end the conversation: ")no_human_input_msg = "NO HUMAN INPUT RECEIVED." if not reply else ""# if the human input is empty, and the message is a termination message, then we will terminate the conversation