mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
feat: 支持 Gemini Business 的文本模型,并完善项目
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user