mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-10 20:25:33 +08:00
Update siliconflow.ts
This commit is contained in:
@@ -121,10 +121,10 @@ export class SiliconflowApi implements LLMApi {
|
||||
// console.log(chatPayload);
|
||||
|
||||
// make a fetch request
|
||||
const requestTimeoutId = setTimeout(
|
||||
() => controller.abort(),
|
||||
REQUEST_TIMEOUT_MS,
|
||||
);
|
||||
const requestTimeoutId = setTimeout(() => {
|
||||
console.error("[Request] SiliconFlow API timeout");
|
||||
controller.abort();
|
||||
}, 10 * REQUEST_TIMEOUT_MS);
|
||||
|
||||
if (shouldStream) {
|
||||
const [tools, funcs] = usePluginStore
|
||||
|
Reference in New Issue
Block a user