forked from XiaoMo/ChatGPT-Next-Web
commit
6137d551fe
@ -178,7 +178,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
options.onFinish(message);
|
options.onFinish(message);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("[Request] failed to make a chat reqeust", e);
|
console.log("[Request] failed to make a chat request", e);
|
||||||
options.onError?.(e as Error);
|
options.onError?.(e as Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user