소스 검색

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 {