Skip to content

Commit c25903b

Browse files
authored
Merge pull request #5658 from ccq18/main
fix o1系列模型超时时间改为4分钟,
2 parents e34c266 + 592f620 commit c25903b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/client/platforms/openai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export class ChatGPTApi implements LLMApi {
352352
// make a fetch request
353353
const requestTimeoutId = setTimeout(
354354
() => controller.abort(),
355-
isDalle3 || isO1 ? REQUEST_TIMEOUT_MS * 2 : REQUEST_TIMEOUT_MS, // dalle3 using b64_json is slow.
355+
isDalle3 || isO1 ? REQUEST_TIMEOUT_MS * 4 : REQUEST_TIMEOUT_MS, // dalle3 using b64_json is slow.
356356
);
357357

358358
const res = await fetch(chatPath, chatPayload);

0 commit comments

Comments
 (0)