fix(webui): identify OAuth reauthentication behind fallback replies

This commit is contained in:
Xubin Ren committed 2026-09-21 00:13:46 +08:00
1 parent a05f11ba10
commit 448767d147
28 files changed
+269 -40

No files matched your search

+5 -2
View File
@@ -13,8 +13,11 @@ later (failed refreshes are cached briefly). Existing presets and manual model
IDs remain available. A successful chat may have used a fallback preset and
does not prove that the selected provider's authorization is still valid.
When a live chat uses a fallback model, a dismissible notice above the composer
names that model and links to model settings. It does not change your selected
preset or assume that every fallback means the login expired.
names that model and links to model settings. If the provider explicitly rejected
OAuth credentials, the notice instead names the provider that needs a new login,
with fallback completion as secondary information. Network errors, ordinary
permission denials, and rate limits do not request reauthentication. The notice
does not change your selected preset.
For every setup, answer three questions: