Compare commits
3 Commits
99bd36d92f
...
c70a4a4102
Author | SHA1 | Date |
---|---|---|
Vinlic | c70a4a4102 | |
Vinlic | 376bb55ce3 | |
Vinlic | 64e43ffd2c |
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "glm-free-api",
|
||||
"version": "0.0.22",
|
||||
"version": "0.0.24",
|
||||
"description": "GLM Free API Server",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue