Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdcd92dd

Browse files
committed
Reduce max image upload size to 1MB
Changed the maxSizeInMB parameter for image uploads from 3MB to 1MB in the OpenAI endpoint schema to enforce stricter file size limits.
1 parent91fd2cb commitdcd92dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/lib/server/endpoints/openai/endpointOai.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const endpointOAIParametersSchema = z.object({
4040
"image/jpeg",
4141
],
4242
preferredMimeType:"image/jpeg",
43-
maxSizeInMB:3,
43+
maxSizeInMB:1,
4444
maxWidth:1024,
4545
maxHeight:1024,
4646
}),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp