Skip to content

Commit e5d41f8

Browse files
committed
fix(openai): raise OAuth body cap to 16 MiB shared provider default
Signed-off-by: lsr911 <[email protected]>
1 parent e72fb73 commit e5d41f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/openai/openai-chatgpt-oauth-flow.runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const CALLBACK_HOST = resolveCallbackHost();
3838
const REDIRECT_URI = resolveRedirectUri(CALLBACK_HOST);
3939
const MANUAL_PROMPT_FALLBACK_MS = 15_000;
4040
const TOKEN_REQUEST_TIMEOUT_MS = 30_000;
41-
const OPENAI_OAUTH_RESPONSE_MAX_BYTES = 1 * 1024 * 1024;
41+
const OPENAI_OAUTH_RESPONSE_MAX_BYTES = 16 * 1024 * 1024;
4242
const SCOPE = "openid profile email offline_access";
4343

4444
type TokenSuccess = { type: "success"; access: string; refresh: string; expires: number };

0 commit comments

Comments
 (0)