瀏覽代碼

fix: size

Dogtiti 11 月之前
父節點
當前提交
a867adaf04
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/client/platforms/glm.ts

+ 1 - 1
app/client/platforms/glm.ts

@@ -90,7 +90,7 @@ export class ChatGLMApi implements LLMApi {
         return {
           model: modelConfig.model,
           prompt,
-          size: "1024x1024",
+          size: options.config.size,
         } as ImageGenerationPayload;
       default:
         return {