Browse Source

fix: size

Dogtiti 11 tháng trước cách đây
mục cha
commit
a867adaf04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {