""" mini_restore 配置 — ToolHub 工具测试 精简版配置,仅用于测试 ToolHub 的搜索和调用流程。 不启用浏览器、知识管理等复杂功能。 """ from agent.core.runner import KnowledgeConfig, RunConfig # ===== Agent 运行配置 ===== RUN_CONFIG = RunConfig( # 模型配置 model="qwen3.5-plus", temperature=0.3, max_iterations=50, # 启用 thinking 模式 extra_llm_params={"extra_body": {"enable_thinking": True}}, # Agent 预设(对应 presets.json 中的 "main") agent_type="main", # 工具:仅 toolhub 相关 tools=None, tool_groups=["core", "toolhub"], # 任务名称 name="ToolHub 工具测试", # 知识管理配置 knowledge=KnowledgeConfig( # 知识注入(关闭以避免 405 错误) enable_injection=False, ) ) # ===== 任务配置 ===== INPUT_DIR = "examples/mini_restore/input" OUTPUT_DIR = "examples/mini_restore/output" # ===== 基础设施配置 ===== SKILLS_DIR = "./skills" TRACE_STORE_PATH = ".trace" DEBUG = True LOG_LEVEL = "INFO" LOG_FILE = None