chore(release): v1.21.2.1

Hotfix: the Coach and daily briefing failed for ChatGPT-provider accounts —
a provider tool-call rejection surfaced as a 500. Provider failures now
degrade gracefully, the Codex tool-call wire format is corrected, and the
provider error body is captured for diagnosis. Also: the thinking bubble
shows only the animated dots.
This commit is contained in:
Marc-André Bombeck committed 2026-06-27 10:33:11 +02:00
1 parent 61e21ea28b
commit 5142582d3d
5 files changed
+16 -6

No files matched your search

+1 -3
View File
@@ -1107,9 +1107,7 @@ async function streamRefusal(args: {
* GlitchTip path. Status mapping mirrors `AllProvidersFailedError`: 401/403 →
* credential_expired, 429 → rate_limited, everything else → unavailable.
*/
function classifyBubblingProviderError(
err: unknown,
): {
function classifyBubblingProviderError(err: unknown): {
code: "credential_expired" | "rate_limited" | "unavailable";
httpStatus: number | null;
} | null {