UpdateSystemMessage
autogen.agentchat.conversable_agent.UpdateSystemMessage dataclass
#
Update the agent's system message before they reply
PARAMETER | DESCRIPTION |
---|---|
content_updater | The format string or function to update the agent's system message. Can be a format string or a Callable. If a string, it will be used as a template and substitute the context variables. If a Callable, it should have the signature: def my_content_updater(agent: ConversableAgent, messages: List[Dict[str, Any]]) -> str |