• Your Name's avatar
    Add ToolCallParser as fallback for all model parsers and enhance multi-line tool call parsing · 63bed9c0
    Your Name authored
    - Added _parse_multiline_tool_calls() method to handle multi-line tool_call format
    - Added ToolCallParser fallback to all specific model parsers:
      - QwenParser, DeepSeekParser, LlamaParser, MistralParser
      - ClaudeParser, CommandRParser, GemmaParser, GrokParser
      - PhiParser, ApexBig50Parser
    - Updated extract_tool_calls() to use both XML and multi-line parsing
    - Tested and verified tool call extraction works for user's example format
    63bed9c0
coderai 238 KB