MyMidas/backend/app/api/v1
megaproxy 1ece0908af 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>
2026-04-22 19:28:20 +00:00
..
__init__.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
accounts.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
admin.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
auth.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
budgets.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
categories.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
investments.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
predictions.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
reports.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
settings.py Add Test Connection button to AI settings with plain-English error messages 2026-04-22 19:28:20 +00:00
transactions.py Add Scan Receipt button to create transactions from receipt photos 2026-04-22 19:15:59 +00:00
users.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00