fix: 修复 ChatGPT 无法发送提示词的问题 (closes #59)

This commit is contained in:
foxhui
2026-04-13 02:17:58 +08:00
Unverified
parent fc67064aa4
commit fe11ac8542
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 🐛 Fixed
- **适配器**
- 修复豆包因前端更新导致点击失效
- 修复 ChatGPT 无法发送提示词的问题
## [3.6.5] - 2026-04-09
+1 -1
View File
@@ -85,7 +85,7 @@ async function generate(context, prompt, imgPaths, modelId, meta = {}) {
// 4. 发送提示词
logger.debug('适配器', '发送提示词...', meta);
await safeClick(page, sendBtnLocator, { bias: 'button' });
await page.keyboard.press('Enter');
logger.info('适配器', '等待生成结果...', meta);
+1 -1
View File
@@ -141,7 +141,7 @@ async function generate(context, prompt, imgPaths, modelId, meta = {}) {
// 5. 发送提示词
logger.debug('适配器', '发送提示词...', meta);
await safeClick(page, sendBtnLocator, { bias: 'button' });
await page.keyboard.press('Enter');
logger.info('适配器', '等待生成结果...', meta);