Dogtiti před 1 rokem
rodič
revize
a867adaf04
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {