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 {