• Your Name's avatar
    Add nested XML tool call parsing support · cd3cd0d9
    Your Name authored
    - Add pattern for <tool_call><tool><toolname><key>value</key></toolname></tool></tool_call>
    - Add pattern for standalone nested tool format <tool><toolname><key>value</key></toolname></tool>
    - Update strip_tool_calls_from_content to remove these formats from content
    - Tool name is now parsed as the XML tag itself with nested child tags as arguments
    cd3cd0d9
parser.py 51.8 KB