NewCodeSession fetches provider info without error boundary
Severity: Low
File: frontend/src/pages/Code/NewCodeSession.tsx:30
The component fetches provider information on mount to display the active LLM. If the request fails, it sets settingsLlmLabel to null, but doesn't display an error message or retry option. Users don't know why the provider info is missing.
try {
const r = await fetch(`${API_BASE}/api/v1/providers`)
if (!r.ok || cancelled) return
const data = await r.json()
// ...
} catch {
if (!cancelled) setSettingsLlmLabel(null)
}
Why it matters
When the providers API is down or returns an error, users see a blank provider field with no indication of the problem. They may proceed to create a session without knowing which provider will be used.
NewCodeSession fetches provider info without error boundary
Severity: Low
File:
frontend/src/pages/Code/NewCodeSession.tsx:30The component fetches provider information on mount to display the active LLM. If the request fails, it sets
settingsLlmLabeltonull, but doesn't display an error message or retry option. Users don't know why the provider info is missing.Why it matters
When the providers API is down or returns an error, users see a blank provider field with no indication of the problem. They may proceed to create a session without knowing which provider will be used.