Commit graph

3 commits

Author SHA1 Message Date
skamenan7
fb89143949 fix: resolve CI test failures for Bedrock provider
- Fix test assertion to match actual error message
- Add missing has_model method to FakeModelStore mock
- Remove redundant comments and update docs
2025-11-05 15:14:58 -05:00
skamenan7
454aeaaf3e fix: refactor auth and improve error handling for Bedrock provider
Refactor to use auth_credential for consistent credential management and
improve error handling with defensive checks.

Changes:
- Use auth_credential instead of api_key for better credential handling
- Simplify model availability check to accept all pre-registered models
- Guard metrics collection when usage data is missing in responses
- Add debug logging for better troubleshooting of API issues
- Update unit tests for auth_credential refactoring
2025-11-05 15:14:58 -05:00
skamenan7
4ff367251f feat: add OpenAI-compatible Bedrock provider with error handling
Implements AWS Bedrock inference provider using OpenAI-compatible endpoint
for Llama models available through Bedrock.

Changes:
- Add BedrockInferenceAdapter using OpenAIMixin base
- Configure region-specific endpoint URLs
- Add NotImplementedError stubs for unsupported endpoints
- Implement authentication error handling with helpful messages
- Remove unused models.py file
- Add comprehensive unit tests (12 total)
- Add provider registry configuration
2025-11-05 15:14:58 -05:00