/settings/ai crashes on an unknown AI provider kind #98
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#98
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in Nye's review of PR #97 (#96). If a stored AI setting has a kind that isn't a known provider (for example "anthropic" instead of "claude"), /settings/ai crashes with nil.unavailable/0 at lib/lamplighter_web/live/ai_settings_live.ex:312. Same on main. A restore from a newer or hand-edited backup could bring in such a row. Expected: the page loads and shows the setting as an unknown provider instead of crashing.