perf: config home page

This commit is contained in:
archer
2023-09-01 10:13:57 +08:00
parent 2ae8d43216
commit 68cdf50cb6
15 changed files with 110 additions and 77 deletions

View File

@@ -124,7 +124,7 @@ export const dispatchChatCompletion = async (props: Record<string, any>): Promis
stream
},
{
timeout: stream ? 60000 : 480000,
timeout: stream ? 120000 : 480000,
responseType: stream ? 'stream' : 'json',
...axiosConfig(userOpenaiAccount)
}