feat: 支持 Gemini Business 的文本模型,并完善项目

This commit is contained in:
foxhui
2025-12-17 03:27:56 +08:00
parent 56a31205cc
commit ae8629686c
12 changed files with 418 additions and 30 deletions
+1 -2
View File
@@ -43,8 +43,7 @@ async function generateImage(context, prompt, imgPaths, modelId, meta = {}) {
try {
logger.info('适配器', `开启新会话... (搜索模式: ${!!modelConfig.search})`, meta);
const gotoResult = await gotoWithCheck(page, targetUrl);
if (gotoResult.error) return gotoResult;
await gotoWithCheck(page, targetUrl);
// 1. 等待输入框加载
await waitForInput(page, textareaSelector, { click: false });