mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
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:
1 parent
61e21ea28b
commit
5142582d3d
5 files changed
+16
-6
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user