Documentation Index
Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
Use this file to discover all available pages before exploring further.
make_remove_function
The returned function can be registered as a hook to “process_all_messages_before_reply"" to remove messages with tool calls. Parameters:
| Name | Description |
|---|---|
tool_msgs_to_remove | Type: list[str] |