agentchat
autogen.agentchat.UpdateSystemMessage
UpdateSystemMessage
Update the agent’s system message before they reply
Parameters:Name | 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 Type: str | Callable |
Class Attributes