Fix wrong spelling

main
Peanuts 2 years ago committed by GitHub
parent 86fb36163c
commit 7fc43b4745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -189,8 +189,8 @@ export async function requestChatStream(
finish();
} else if (res.status === 401) {
console.error("Anauthorized");
options?.onError(new Error("Anauthorized"), res.status);
console.error("Unauthorized");
options?.onError(new Error("Unauthorized"), res.status);
} else {
console.error("Stream Error", res.body);
options?.onError(new Error("Stream Error"), res.status);

Loading…
Cancel
Save