From 09bdfd95fabe85cf5c2c60e4edc5556901e5f21f Mon Sep 17 00:00:00 2001 From: foxhui Date: Sun, 22 Mar 2026 23:46:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B1=86=E5=8C=85?= =?UTF-8?q?=E9=80=82=E9=85=8D=E5=99=A8=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=A8=A1=E5=9E=8B=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(closes=20#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 12 ++++++++++++ src/backend/adapter/doubao_text.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 446a9c3..efa7734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.5.8] - 2026-03-22 + +### 🐛 Fixed +- **适配器** + - 修复豆包适配器无法点击选择模型的问题 + +## [3.5.7] - 2026-03-21 + +### 🔄 Changed +- **浏览器** + - 扩展拟人点击策略并增强坐标安全性 + ## [3.5.6] - 2026-03-20 ### 🐛 Fixed diff --git a/src/backend/adapter/doubao_text.js b/src/backend/adapter/doubao_text.js index 527497a..1f3e84c 100644 --- a/src/backend/adapter/doubao_text.js +++ b/src/backend/adapter/doubao_text.js @@ -97,7 +97,7 @@ async function generate(context, prompt, imgPaths, modelId, meta = {}) { const modelMenuName = MODEL_MENU_MAP[modelId] || MODEL_MENU_MAP['seed']; logger.debug('适配器', `选择模型: ${modelId} -> ${modelMenuName}`, meta); - const modelSelectorBtn = page.locator('div[data-testid="deep-thinking-action-button"]'); + const modelSelectorBtn = page.locator('main button[aria-haspopup="menu"]:has(div[data-testid="deep-thinking-action-button"])'); const selectorExists = await modelSelectorBtn.count() > 0; if (selectorExists) {