You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] AI Services shows an editable form when the settings fail to load #4822
When Admin › AI Services can't load the server settings, the page still shows its whole form instead of a load error. Every field reads empty or a built-in value, and an admin can edit and press Save. The save then fails with a message about a field, not about the settings that never loaded. Notifications and Downloads show a load error with a way to retry in the same situation.
Steps to reproduce
From the source, not reproduced live:
Make GET /api/v2/admin/settings fail, for example with a server error.
Open Admin › AI Services.
The page shows the editable form.
Expected behavior
The page shows that the settings couldn't be loaded, with a way to retry, and no editable controls until they load, as Notifications and Downloads do.
web/src/pages/admin-settings/AISettings.tsx shows its skeleton only while form.isLoading || providerList.isLoading and never checks form.loadError or form.loaded. NotificationsAdminSettings.tsx (form.loadError || !form.loaded) and DownloadsSettings.tsx (form.loadError && !form.loaded) guard this case. This touches AISettings.tsx, which #4816 changes; start after it merges.
AI harness
Claude Code in T3 Code
AI tool(s)
Claude Code
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated, human verified
Independent or adversarial review
Found by the multi-agent code review of #4816 and checked against the source on main.
Confirmations
I searched open and recently closed issues and pull requests, and this is not already reported
I reproduced this myself on a real deployment
Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity