diff --git a/app/requests.ts b/app/requests.ts index e58bc7cb6..bb9d362d4 100644 --- a/app/requests.ts +++ b/app/requests.ts @@ -193,8 +193,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);