Files
goose/ui
spencrmartin c9f2beecbd feat: Improve API key validation with format-specific detection
Backend changes:
- Detect provider from key format first (sk-ant- = Anthropic, sk- = OpenAI, etc.)
- Only test the detected provider instead of all providers
- Return structured error responses with suggestions
- Add DetectProviderError struct with detailed feedback

Frontend changes:
- Handle new structured error responses
- Show provider-specific error messages
- Display helpful suggestions when validation fails
- Improve loading state to show 'Testing API key...'

Fixes issue where wrong keys would test against all providers.
Now users get clear feedback about their specific key type.
2025-10-30 10:48:20 -04:00
..