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) {