From b5ee4c1fcf5c08d42ca6dc93bb37d349fce60826 Mon Sep 17 00:00:00 2001 From: Davidlasky Date: Sat, 29 Mar 2025 02:28:00 -0500 Subject: [PATCH] make timeout longer --- .gitignore | 3 +++ app/constant.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b1c2bfefa..b41e98a61 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ masks.json # mcp config app/mcp/mcp_config.json + +# docker files +Dockerfile \ No newline at end of file diff --git a/app/constant.ts b/app/constant.ts index 84357c13e..3a7ab71e9 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -109,7 +109,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 = 300000; export const REQUEST_TIMEOUT_MS_FOR_THINKING = REQUEST_TIMEOUT_MS * 5; export const EXPORT_MESSAGE_CLASS_NAME = "export-markdown"; @@ -408,7 +408,7 @@ You are an AI assistant with access to system tools. Your role is to help users `; -export const SUMMARIZE_MODEL = "gpt-4o-mini"; +export const SUMMARIZE_MODEL = "gpt-4o"; export const GEMINI_SUMMARIZE_MODEL = "gemini-pro"; export const DEEPSEEK_SUMMARIZE_MODEL = "deepseek-chat";