aigc-director/aigc-claw/backend/models/llm_client.py
File was renamed from aigc-director/aigc-claw/backend/tool/llm_client.py
@@ -2,11 +2,11 @@
import logging
try:
    from tool.llm_gpt import GPT
    from tool.llm_gemini import Gemini
    from tool.llm_deepseek import DeepSeek
    from tool.llm_dashscope import QwenLLM
    from tool.vlm_dashscope import QwenVLClient
    from models.llm_gpt import GPT
    from models.llm_gemini import Gemini
    from models.llm_deepseek import DeepSeek
    from models.llm_dashscope import QwenLLM
    from models.vlm_dashscope import QwenVLClient
except ImportError:
    from llm_gpt import GPT
    from llm_gemini import Gemini
@@ -52,16 +52,21 @@
            model = "qwen3.6-max-preview"
            
        if Config.PRINT_MODEL_INPUT:
            print("---- LLM QUERY REQUEST ----")
            print(f"Model: {model}")
            lines = [
                "---- LLM QUERY REQUEST ----",
                f"Model: {model}",
            ]
            if task_id:
                print(f"Task ID: {task_id}")
                lines.append(f"Task ID: {task_id}")
            if image_urls:
                print(f"Images: {len(image_urls)}")
                for u in image_urls:
                    print(f"  - {u}")
            print(f"Prompt: {prompt[:200]}{'...' if len(prompt) > 200 else ''}")
            print("-" * 30)
                lines.append(f"Images: {len(image_urls)}")
                lines.extend(f"  - {u}" for u in image_urls)
            lines.extend([
                f"Web Search: {web_search}",
                f"Prompt: {prompt[:200]}{'...' if len(prompt) > 200 else ''}",
                "-" * 30,
            ])
            logger.info("\n%s", "\n".join(lines))
            
        result = ""
        model_lower = model.lower()