{"success":false,"directory":"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\model-selection-k-b181c2d6-ae84-41a7-899b-979ce8439c4e","checks":0} node:internal/modules/run_main:107 triggerUncaughtException( ^ ExpectError: expect(locator).toBeDisabled() failed Locator: getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]') Expected: disabled Received: enabled Timeout: 5000ms Call log: - Expect "toBeDisabled" getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]') with timeout 5000ms - waiting for getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]') 14 × locator resolved to - unexpected value "enabled" at captureRawStack (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright-core\lib\coreBundle.js:9282:17) at callMatcherAsStep (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright\lib\matchers\expect.js:13316:57) at Object.toBeDisabled (D:\Ai-project\REA逆向\Agent-Workbench\node_modules\playwright\lib\matchers\expect.js:13308:23) at D:\Ai-project\REA逆向\Agent-Workbench\scripts\verify-model-selection-ui.mjs:48:81 { matcherResult: { message: 'expect(locator).toBeDisabled() failed\n' + '\n' + `Locator: getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]')\n` + 'Expected: disabled\n' + 'Received: enabled\n' + 'Timeout: 5000ms\n' + '\n' + 'Call log:\n' + ` - Expect "toBeDisabled" getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]') with timeout 5000ms\n` + ` - waiting for getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]')\n` + ' 14 × locator resolved to \n' + ' - unexpected value "enabled"\n', pass: false, actual: 'enabled', name: 'toBeDisabled', expected: 'disabled', log: [ ` - Expect "toBeDisabled" getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]') with timeout 5000ms`, ` - waiting for getByRole('dialog', { name: '模型中心', exact: true }).getByLabel('新任务默认模型', { exact: true }).locator('option[value="connection:9a8261b5-b015-4835-a39e-4d7125a0d639"]')`, ' 14 × locator resolved to ', ' - unexpected value "enabled"' ], timeout: 5000, ariaSnapshot: '- complementary:\n' + ' - text: AW\n' + ' - strong: Agent Workbench\n' + ' - text: 本地编程工作台 · 正式版\n' + ' - button "收起项目栏"\n' + ' - text: 当前项目\n' + ' - combobox "当前项目":\n' + ' - option "project" [selected]\n' + ' - button "打开项目"\n' + ' - text: D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\test-ggoQd3\\project 任务会话\n' + ' - button "新建任务"\n' + ' - button "新建任务 ↵"\n' + ' - button "新任务"\n' + ' - button "归档会话 新任务"\n' + ' - text: 项目文件 0\n' + ' - button "刷新文件"\n' + ' - textbox "筛选文件"\n' + ' - text: ⌃ K\n' + ' - button "机制研究与设计"\n' + ' - button "项目记忆"\n' + ' - button "运行诊断"\n' + ' - button "选择与管理模型": 模型与连接 工程模型池\n' + ' - text: 本地服务已连接\n' + ' - button "版本与更新": v1.24.3\n' + '- main:\n' + ' - text: project 任务\n' + ' - heading "新任务" [level=1]\n' + ' - button "手机连接"\n' + ' - button "打开模型中心": 模型中心\n' + ' - button "切换当前模型": 工程模型池\n' + ' - text: 本地项目 就绪\n' + ' - button "运行诊断"\n' + ' - button "项目技能"\n' + ' - button "项目MCP工具"\n' + ' - button "查看任务记录"\n' + ' - button "隔离协作"\n' + ' - button "工程评测"\n' + ' - button "本地代理引擎"\n' + ' - button "REA 工件研究"\n' + ' - button "导出会话"\n' + ' - region "任务对话":\n' + ' - text: 从项目到结果\n' + ' - heading "读懂项目。 把每一步做好。" [level=2]\n' + ' - paragraph: 给出一个任务,读取依据、工具执行和文件改动会在这里连成完整过程。\n' + ' - button "了解这个项目,并提出一项改进"\n' + ' - button "查找关键实现,解释调用关系"\n' + ' - button "检查项目,并准备可审查的修改"\n' + ' - text: 文件修改先审查,终端命令逐次确认。\n' + ' - button "添加截图"\n' + ' - text: 每任务1张 · PNG/JPEG · 原图≤2MB\n' + ' - textbox "任务内容":\n' + ' - /placeholder: 描述项目任务,或询问工作台的执行状态与报错…\n' + ' - text: project 工程模型池\n' + ' - button "发送任务" [disabled]\n' + ' - text: Ctrl + Enter 发送 · 会话自动保存 改动与执行结果可追溯\n' + '- complementary:\n' + ' - separator "调整检视区宽度"\n' + ' - button "文件"\n' + ' - button "改动"\n' + ' - button "轨迹"\n' + ' - button "任务"\n' + ' - button "索引"\n' + ' - button "浏览"\n' + ' - button "放大检视区"\n' + ' - heading "查看项目文件" [level=3]\n' + ' - paragraph: 从左侧打开文件,或让助手先读取项目。\n' + ' - text: 读取范围限定在当前项目\n' + '- dialog "模型中心":\n' + ' - heading "模型中心" [level=2]\n' + ' - paragraph: 连接、模型池与执行健康统一管理。\n' + ' - button "关闭窗口"\n' + ' - region "模型控制台":\n' + ' - text: MODEL CONTROL\n' + ' - heading "选择模型,继续开发。" [level=2]\n' + ' - paragraph: 连接、模型池和实际请求使用同一个入口。\n' + ' - text: 新任务默认\n' + ' - strong: 工程模型池\n' + ' - text: 0 等待\n' + ' - navigation "模型中心分类":\n' + ' - button "模型连接"\n' + ' - button "模型池"\n' + ' - button "运行预算"\n' + ' - button "等待时限"\n' + ' - button "请求账本"\n' + ' - button "配置导入"\n' + ' - button "凭据保存"\n' + ' - button "运行巡检"\n' + ' - button "刷新模型中心"\n' + ' - region "默认模型选择":\n' + ' - heading "新任务默认模型" [level=3]\n' + ' - paragraph: 选择已保存的连接,或使用模型池调度。切换本身不请求模型。\n' + ' - button "添加模型"\n' + ' - text: 当前选择\n' + ' - combobox "新任务默认模型":\n' + ' - option "离线演示 · 固定脚本"\n' + ' - text: 模型池按成员配置调度;每次实际连接和返回型号保存在请求账本。\n' + ' - heading "模型连接" [level=3]\n' + ' - paragraph: 保存多条连接后可在上方切换;添加连接不会替换当前模型。凭据可选择本机加密保存。\n' + ' - button "添加连接"\n' + ' - article:\n' + ' - heading "原模型连接" [level=4]\n' + ' - text: 兼容服务 · Chat Completions 已配置\n' + ' - term: 模型\n' + ' - definition: owned-legacy-gpt\n' + ' - term: 接口\n' + ' - definition: http://127.0.0.1:50830/legacy/v1\n' + ' - term: 凭据\n' + ' - definition: 此服务可不填\n' + ' - term: 请求 / 容量\n' + ' - definition: 0 在途 · 并发 1 · 上下文 16,000\n' + ' - text: 文本:声明支持 工具:声明支持 流式:待验证 视觉:待验证 语音:待验证\n' + ' - button "用于新任务"\n' + ' - button "编辑"\n' + ' - text: 检测范围\n' + ' - combobox "原模型连接检测范围":\n' + ' - option "文本响应" [selected]\n' + ' - option "工具调用"\n' + ' - option "流式文本"\n' + ' - option "合成图像识别"\n' + ' - button "原生参数"\n' + ' - button "验证响应(调用模型)"\n' + ' - article:\n' + ' - heading "Claude · 自有接口" [level=4]\n' + ' - text: 自定义 · Chat Completions 已配置\n' + ' - term: 模型\n' + ' - definition: owned-claude\n' + ' - term: 接口\n' + ' - definition: http://127.0.0.1:50830/selected/v1\n' + ' - term: 凭据\n' + ' - definition: 此服务可不填\n' + ' - term: 请求 / 容量\n' + ' - definition: 0 在途 · 并发 1 · 上下文 16,000\n' + ' - text: 文本:声明支持 工具:声明支持 流式:待验证 视觉:待验证 语音:待验证\n' + ' - button "用于新任务"\n' + ' - button "编辑"\n' + ' - button "停用Claude · 自有接口": 停用\n' + ' - text: 检测范围\n' + ' - combobox "Claude · 自有接口检测范围":\n' + ' - option "文本响应" [selected]\n' + ' - option "工具调用"\n' + ' - option "流式文本"\n' + ' - option "合成图像识别"\n' + ' - button "原生参数"\n' + ' - button "验证响应(调用模型)"\n' + ' - article:\n' + ' - heading "待填凭据" [level=4]\n' + ' - text: 自定义 · Chat Completions 待填凭据\n' + ' - term: 模型\n' + ' - definition: no-credential\n' + ' - term: 接口\n' + ' - definition: http://127.0.0.1:50830/no-key/v1\n' + ' - term: 凭据\n' + ' - definition: 尚未填写\n' + ' - term: 请求 / 容量\n' + ' - definition: 0 在途 · 并发 1 · 上下文 16,000\n' + ' - text: 文本:声明支持 工具:声明支持 流式:待验证 视觉:待验证 语音:待验证\n' + ' - button "用于新任务"\n' + ' - button "编辑"\n' + ' - button "停用待填凭据": 停用\n' + ' - text: 检测范围\n' + ' - combobox "待填凭据检测范围":\n' + ' - option "文本响应" [selected]\n' + ' - option "工具调用"\n' + ' - option "流式文本"\n' + ' - option "合成图像识别"\n' + ' - button "原生参数"\n' + ' - button "验证响应(调用模型)"' } } Node.js v24.22.1