Merge branch 'Yidadaa:main' into main

This commit is contained in:
Hk-Gosuto 2023-08-01 15:56:35 +08:00 committed by GitHub
commit db4b808257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,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);
} }
} }