[Unreleased]
[0.5.0] - 2025-01-07
Added
- VertexAI provider for Claude models via Google Cloud
- Uses Application Default Credentials (ADC) for authentication
- Supports streaming and non-streaming modes
- Model routing with NotImplementedError for unsupported models
- Unified
fetch(messages, tools = [], &block) method across all providers
- Normalized response format with
:delta and :complete types
- Consistent
tool_calls structure: { id:, name:, arguments: }
- Thinking content support in streaming responses
- Claude class for shared Anthropic protocol logic
- Automatic system message extraction from messages array
- Message normalization for tool results and tool_calls
- Environment variable support for provider configuration
OLLAMA_HOST for Ollama (default: localhost:11434)
OPENAI_API_KEY and OPENAI_BASE_URL for OpenAI
ANTHROPIC_API_KEY for Anthropic
GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_REGION for VertexAI
Changed
- Refactored Anthropic provider to delegate to Claude class
- Refactored VertexAI provider to delegate to Claude class
- Updated default Anthropic model to claude-sonnet-4-20250514
- Updated default VertexAI model to claude-opus-4-5@20251101
Fixed
- Fixed streaming tool_calls accumulation in Ollama provider
- Fixed error responses to include response body for debugging
- Fixed VertexAI model name format (@ separator instead of -)
[0.4.0] - 2025-10-15
Added
- Added tool/function calling support to Ollama provider
- Ollama
chat method now accepts optional tools parameter matching OpenAI signature
- Tools work in both streaming and non-streaming modes
- Added comprehensive test coverage for tool functionality
Changed
- Updated README with Ollama tools example
- Updated API coverage documentation
[0.3.1] - 2025-10-08
Fixed
- Added missing net-hippie runtime dependency to gemspec
[0.3.0] - 2025-10-08
Changed
- Refactored all providers to use net-hippie HTTP client
- Reduced code duplication across providers
- Improved error handling consistency
Added
- Added net-hippie dependency for cleaner HTTP interactions
[0.2.0] - 2025-10-08
- Add Ollama provider with streaming support
/api/chat endpoint with streaming
/api/generate endpoint with streaming
/api/embed endpoint for embeddings
/api/tags endpoint to list models
/api/show endpoint for model info
- Add Anthropic (Claude) provider with streaming support
/v1/messages endpoint with streaming
- Support for system prompts
- Support for tools/function calling
- Extend OpenAI provider
- Add
/v1/models endpoint
- Add
/v1/embeddings endpoint
[0.1.0] - 2025-10-07
- Initial release
- OpenAI provider with chat/completions endpoint
- Support for OpenAI-compatible APIs via custom base_url