perf: token params

This commit is contained in:
archer
2023-05-12 23:24:25 +08:00
parent 651eb1bf6b
commit 9a0c92629b
3 changed files with 9 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ export const lafClaudChat = async ({
headers: {
Authorization: apiKey
},
timeout: stream ? 40000 : 240000,
timeout: stream ? 60000 : 240000,
responseType: stream ? 'stream' : 'json'
}
);