fix(ai): correct provider error message typo (closes #958)

This commit is contained in:
Mario Zechner 2026-01-26 15:37:57 +01:00
parent 585ce73be1
commit 9b903656ae
4 changed files with 4 additions and 4 deletions

View file

@ -246,7 +246,7 @@ export const streamGoogle: StreamFunction<"google-generative-ai", GoogleOptions>
}
if (output.stopReason === "aborted" || output.stopReason === "error") {
throw new Error("An unkown error ocurred");
throw new Error("An unknown error occurred");
}
stream.push({ type: "done", reason: output.stopReason, message: output });