优化绘图接口

This commit is contained in:
Vinlic 2024-04-25 09:38:35 +08:00
parent 50083accf0
commit 64e43ffd2c
1 changed files with 1 additions and 2 deletions

View File

@ -379,8 +379,7 @@ async function generateImages(
return (async () => {
logger.info(prompt);
const messages = [
{ role: "user", content: prompt },
{ role: "user", content: prompt.indexOf('画') == -1 ? `请画:${prompt}` : prompt },
];
// 请求流
const token = await acquireToken(refreshToken);