autogen
autogen.UPDATE_SYSTEM_MESSAGE
UPDATE_SYSTEM_MESSAGE
Update the agent’s system message before they reply
Parameters:Name | Description |
---|---|
update_function | The string or function to update the agent’s system message. Can be a 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_update_function(agent: ConversableAgent, messages: List[Dict[str, Any]]) -> str Type: str | Callable |
Class Attributes