Added
Claude Vision Integration
- Added `ClaudeVisionModel` class for Anthropic's Claude Vision API integration
- Implemented robust retry logic and error handling for Claude API calls
- Added handling for rate limits and server errors
- Added specific handling for API overload conditions (Error 529)
- Implemented exponential backoff for retries
- Added support for custom prompts with Claude Vision
- Added `describe_image_claude` function to main API
Testing Framework
- Added Claude-specific test markers (`pytest.mark.claude`)
- Added comprehensive test suite for Claude Vision model:
- Unit tests for initialization, configuration, and error handling
- Integration tests with real API calls
- Rate limit and retry logic tests
- Custom prompt handling tests
- CLI interface tests
Documentation
- Added Claude Vision model documentation in `docs/getting_started.md`
- Updated API documentation with Claude Vision integration details
- Added environment setup instructions for Anthropic API key
- Enhanced testing documentation with Claude-specific examples
- Updated CLI help messages with Claude Vision options
Configuration
- Added `ANTHROPIC_API_KEY` environment variable support
- Added Claude Vision model configuration in factory system
- Added retry strategy configuration for API calls
Enhanced
- Improved error handling with specific error types for API issues
- Enhanced retry logic for rate limits and server errors
- Updated model factory to support Claude Vision
- Improved test fixtures for better test isolation
- Enhanced documentation with more comprehensive examples
Fixed
- Proper handling of empty responses from Claude API
- Correct error propagation for authentication issues
- Improved rate limit handling with exponential backoff