Explorar o código

fix 默认超时时间改为3分钟,支持o1-mini

ccq18 hai 1 ano
pai
achega
12e7caa209
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/constant.ts

+ 1 - 1
app/constant.ts

@@ -95,7 +95,7 @@ export const UNFINISHED_INPUT = (id: string) => "unfinished-input-" + id;
 
 export const STORAGE_KEY = "chatgpt-next-web";
 
-export const REQUEST_TIMEOUT_MS = 60000;
+export const REQUEST_TIMEOUT_MS = 180000;
 
 export const EXPORT_MESSAGE_CLASS_NAME = "export-markdown";