Commit Graph

3 Commits

Author SHA1 Message Date
Nirmal Arya
e5e24450c9 fix: Robust BayerMGA provider implementation with better error handling
Key improvements:
- Switch from getOpenAILikeModel to createOpenAI for better control
- Comprehensive error handling and validation
- Better base URL normalization and configuration
- Enhanced logging for debugging inference issues
- Proper header configuration for API requests
- Detailed error messages for troubleshooting

This should resolve the inference execution issues while maintaining model listing functionality.
2025-05-31 13:58:55 -04:00
Nirmal Arya
2c9926fc9d fix: Add better error handling and logging to BayerMGA provider
- Added comprehensive logging for model fetching and instance creation
- Improved error handling with detailed error messages
- Added input validation for API responses
- Better debugging for inference endpoint issues
2025-05-31 13:50:44 -04:00
Nirmal Arya
14172c4de6 feat: Add Bayer MGA provider with dynamic model fetching
- Implemented BayerMGAProvider extending BaseProvider
- Configured base URL: https://chat.int.bayer.com/api/v2
- Added dynamic model fetching from /models endpoint with filters
- Integrated provider into UI (CloudProvidersTab, ServiceStatusTab)
- Added provider registration in LLM registry
- Supports user-configurable API token input
- Filters models by availability status
- Maps API response to ModelInfo format with proper token limits
2025-05-31 13:34:28 -04:00