fix(auth): show actionable provider re-auth errors (#450)

This commit is contained in:
Iuliia Ivashko
2026-02-20 00:34:34 +02:00
committed by GitHub
parent 135b2c89be
commit 50a66bb6f1
4 changed files with 46 additions and 1 deletions
@@ -52,7 +52,9 @@ export const fetchQuota = async () => {
providerName,
ok: false,
configured: true,
error: `API error: ${response.status}`
error: response.status === 401
? 'Session expired \u2014 please re-authenticate with OpenAI'
: `API error: ${response.status}`
});
}