Skip to content

Commit

Permalink
Merge pull request #23 from Dogtiti/feature/chatglm
Browse files Browse the repository at this point in the history
fix: type error
  • Loading branch information
Dogtiti authored Dec 27, 2024
2 parents e007155 + ba8e241 commit 815ba9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/platforms/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
stream,
} from "@/app/utils/chat";
import { cloudflareAIGatewayUrl } from "@/app/utils/cloudflare";
import { DalleSize, DalleQuality, DalleStyle } from "@/app/typing";
import { ModelSize, DalleQuality, DalleStyle } from "@/app/typing";

import {
ChatOptions,
Expand Down Expand Up @@ -73,7 +73,7 @@ export interface DalleRequestPayload {
prompt: string;
response_format: "url" | "b64_json";
n: number;
size: DalleSize;
size: ModelSize;
quality: DalleQuality;
style: DalleStyle;
}
Expand Down

0 comments on commit 815ba9a

Please sign in to comment.