You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Lambda Cloud API key validation in widget test configuration
## Problems Fixed:
- **Field Name Mismatch**: Fixed lookup from "api_key" to "lambda_api_key"
- **No Real API Validation**: Added actual Lambda Cloud API connectivity testing
- **Generic Error Messages**: Now provides specific feedback on API authentication
## Technical Changes:
- Add `_test_lambda_connectivity()` method that calls Lambda Cloud API
- Update `_test_cloud_connectivity()` to include Lambda Cloud
- Fix test configuration to use correct field name (`lambda_api_key`)
- Separate Lambda Cloud from generic provider handling for proper validation
## User Experience Improvements:
- **With valid API key**: "✅ Lambda Cloud API connection successful"
- **With invalid API key**: "❌ Lambda Cloud API connection failed (check API key)"
- **With no API key**: "❌ Lambda Cloud API key is required"
- **Connection issues**: Proper error handling and messaging
Now widget "Test Configuration" actually validates API keys against Lambda Cloud servers.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments