| import re | |
| import os | |
| import json | |
| import json_repair | |
| import sys | |
| import argparse | |
| # Local Qwen is incapable of handling this, only use claude | |
| project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) | |
| sys.path.insert(0, project_root) | |
| from chatbot_api import llm_factory | |