Add Test Connection button to AI settings with plain-English error messages
- POST /settings/ai/test sends a minimal text prompt to verify the provider - Returns ok/message — maps HTTP status codes to human-readable explanations - 405 → "URL pointing at wrong place, check custom URL has no path suffix" - 401 → invalid key, 404 → wrong path, 429 → rate limited, etc. - Test button appears once a key is saved; result shown inline below buttons Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e676e698ff
commit
1ece0908af
4 changed files with 8732 additions and 2 deletions
8619
frontend/package-lock.json
generated
Normal file
8619
frontend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue