mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
fix: 修复 ChatGPT 无法发送提示词的问题 (closes #59)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user