• Your Name's avatar
    Update QwenParser with improved parsing and add _clean_json_string helper · 73d1c77c
    Your Name authored
    - Added _clean_json_string() method to BaseParser for cleaning JSON strings
    - Updated QwenParser.parse() with 3-step parsing strategy:
      1. Qwen format: <tool=func_name>...</tool>
      2. JSON format with flexible tag matching
      3. Fallback coder style with parameter tags
    - Fixed syntax issues in the module
    73d1c77c
parser.py 15.7 KB