TerminationAndHumanReplyNoInputMessage(*, uuid=None, no_human_input_msg, sender=None, recipient)
Bases: BaseMessage
When the human-in-the-loop is prompted but provides no input.
Source code in autogen/messages/agent_messages.py
| def __init__(
self,
*,
uuid: Optional[UUID] = None,
no_human_input_msg: str,
sender: Optional["Agent"] = None,
recipient: "Agent",
):
super().__init__(
uuid=uuid,
no_human_input_msg=no_human_input_msg,
sender_name=sender.name if sender else "No sender",
recipient_name=recipient.name,
)
|
Source code in autogen/messages/agent_messages.py
| def print(self, f: Optional[Callable[..., Any]] = None) -> None:
f = f or print
f(colored(f"\n>>>>>>>> {self.no_human_input_msg}", "red"), flush=True)
|