Merge pull request #2525 from 7lsu/main

typo fix
This commit is contained in:
Yifei Zhang 2023-08-01 15:17:26 +08:00 committed by GitHub
commit 6137d551fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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