From a2850035b7f2b29596cf4505b621859df23e9413 Mon Sep 17 00:00:00 2001 From: DirkSchlossmacher <62424946+DirkSchlossmacher@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:02:59 +0100 Subject: [PATCH] isDalle3 || isO1 ? REQUEST_TIMEOUT_MS * 6 --- app/client/platforms/openai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/platforms/openai.ts b/app/client/platforms/openai.ts index bb0aa4a165e..246d46a5b57 100644 --- a/app/client/platforms/openai.ts +++ b/app/client/platforms/openai.ts @@ -380,7 +380,7 @@ export class ChatGPTApi implements LLMApi { // make a fetch request const requestTimeoutId = setTimeout( () => controller.abort(), - isDalle3 || isO1 ? REQUEST_TIMEOUT_MS * 4 : REQUEST_TIMEOUT_MS, // dalle3 using b64_json is slow. + isDalle3 || isO1 ? REQUEST_TIMEOUT_MS * 6 : REQUEST_TIMEOUT_MS, // dalle3 using b64_json is slow. ); const res = await fetch(chatPath, chatPayload);