All notable changes to this project will be documented in this file.
0.9.0 (2025-02-11)
0.8.0 (2025-02-10)
- Remove tool_calls from Message struct and update related tests (265bdec)
- Remove unnecessary code block from README.md (dcb7c26)
0.8.0-rc.2 (2025-02-10)
- Implement Default trait for Message and MessageRole structs (cb43ca8)
- Initialize the client with tools optionally (9c56170)
- Use in the tests two different conventions to see what's possible (eef16e8)
- Enhance InferenceGatewayAPI docblocks with additional error handling and return details (b666c33)
- Improve the docs for Tool-Use, update it (9e5f5da)
- Improve the example by mentioning the workflow of messages exchange (ef474b4)
- Remove redundant whitespace in InferenceGatewayAPI documentation (422e857)
- Resort functions examples, healthcheck is less important so put it at the bottom (e6eb55d)
- Update the example in the README.md (0fda0dc)
- Add assertion for tool_calls length in response test (4edcd4b)
0.8.0-rc.1 (2025-02-09)
- Add optional tool_call_id to Message struct and update serialization tests (d51e911)
0.7.1-rc.3 (2025-02-09)
- Remove ToolParameterType and ToolParameter structs to simplify code (0e4d1b4)
- Rename parameters to arguments in ToolFunctionResponse and update ToolCallResponse structure (3f36c5f)
0.7.1-rc.2 (2025-02-09)
- Enhance Tool and ToolFunction structures with description and parameters updates, use JSON raw value for now (cdf6eca)
0.7.1-rc.1 (2025-02-08)
- Remove tool_calls from Message struct and update related tests (265bdec)
- Remove unnecessary code block from README.md (dcb7c26)
0.7.0 (2025-02-07)
- Add tool call functionality to Message struct and related types (dba7f19)
- Implement Tool-Use (#2) (1a484a7)
- openapi: Add Tool schema and update Message structure in OpenAPI definition (ae377e9)
0.6.3 (2025-02-04)
- Add Clone trait to Message struct for improved usability (e5ebd50)
0.6.2 (2025-02-02)
- Update README to include serde dependencies for stream response content deserialization (b9d2fa7)
0.6.1 (2025-02-02)
- Add Streaming Content section to README with usage examples (4e135a4)
0.6.0 (2025-02-02)
- Add streaming support for content generation and enhance error handling (5c574c3)
- Implement streaming API so the client can receive Server Sent Events (32060e0)
- Refactor content generation stream to use SSEvents struct for improved event handling (1411d15)
- Add TODO to enhance the error handling of streaming with retries (4162ad7)
- Remove unnecessary blank line in content generation stream (b4698b8)
- Update openapi - removed google AI Studio and Implemented Streaming (924e23e)
0.5.8 (2025-01-29)
- Update health check method to use async/await for improved API responsiveness (0e5d245)
- Update README with client usage examples and enhance API interaction details (4d86541)
0.5.7 (2025-01-29)
- Add case-insensitive provider aliases and update URL generation (0715d11)
0.5.6 (2025-01-29)
- Remove unnecessary lowercase conversion for provider string and enhance error handling in API responses (cdeb27c)
0.5.5 (2025-01-29)
- Ensure provider string is lowercase in URL generation for consistency (f84314c)
0.5.4 (2025-01-29)
- Update main function to return GatewayError instead of Box (9c8bbc3)
- Implement TryFrom for Provider just in case users want to convert the string to an enum (3da7e50)
- Update dependencies and refactor main function for async support (b99d520)
0.5.3 (2025-01-28)
- Update README to include InferenceGatewayAPI in import statements for clarity (b6aba41)
- Update error handling to use thiserror crate and improve GatewayError structure (fe85dcb)
- Add unit tests for GatewayError handling in InferenceGatewayClient (6b7e6d4)
0.5.2 (2025-01-28)
- Update model structure to use 'name' instead of 'id' for consistency (3e0ea86)
- fix: Update README to log model 'name' instead of 'id' for consistency (4dba8fe)
0.5.1 (2025-01-28)
- Update README to replace Role with MessageRole for consistency (f491774)
0.5.0 (2025-01-28)
- Implement custom error handling for Inference Gateway API (ab8c732)
- Add static analysis step to CONTRIBUTING.md (8000794)
- openapi: Download the latest openapi spec from inference-gateway (c49a9e6)
- Update CONTRIBUTING.md to reflect new branch naming and task commands (0196eef)
- Rename Role to MessageRole enum for consistency with openapi (f97d44b)
0.4.0 (2025-01-28)
- Add get_provider_models method to InferenceGatewayAPI and implement it in InferenceGatewayClient (92565a7)
- Introduce Role enum for message roles and update usage in README and Message struct (6bcfa81)
- Simplify provider string formatting in get_provider_models method (e069fad)
- Add CONTRIBUTING.md with guidelines for contributing to the Inference Gateway Rust SDK (e649871)
- fix: Update homepage link in Cargo.toml and README.md to reflect new repository URL (b93424a)
- openapi: Download the latest OpenAPI specification (fa1edf6)
- Update README.md to include examples for listing models and models by provider (7d44bb3)
- Add lint, analyse, and test tasks to Taskfile for improved code quality (50461a3)
0.3.0 (2025-01-22)
- Add Anthropic provider to the Provider enum (30004a5)
- Add optional token support for InferenceGatewayClient requests (9145eb7)
- Implement InferenceGatewayAPI trait for InferenceGatewayClient (dc47832)
- Enhance release workflow with error handling for actual run of semantic-release (34279b8)
- Fix syntax in release workflow for semantic-release execution (3b94bbc)
- Remove debug output from release workflow (a7d03ad)
- Enhance InferenceGatewayAPI with health check and detailed documentation (c70a9e1)
0.2.5 (2025-01-21)
- Improve version extraction from dry run output in release workflow (728b100)
0.2.4 (2025-01-21)
- Fix dry-run output handling in release workflow (f822fda)
- Refactor release workflow to improve dry-run output handling (79999b4)
- Update semantic-release version and improve release condition checks (813a6ff)
0.2.3 (2025-01-21)
- Add debug output to release workflow for better visibility (2264a48)
0.2.2 (2025-01-21)
- Enhance release workflow to output new version and publish conditionally (424b92d)
0.2.1 (2025-01-21)
- Update README and lib.rs to include content in response and improve logging (97e2a29)
0.2.0 (2025-01-21)
- Add Taskfile for OpenAPI specification download and update devcontainer configuration (7ea7473)
- Enhance content generation with structured messages and logging (de4e8a7)
- Update OpenAPI specification from main repo (c9c92f6)
0.1.4 (2025-01-20)
- Correct launch.json path in devcontainer configuration (86717c4)
0.1.3 (2025-01-20)
- Update repository URLs in configuration and changelog (586febf)
0.1.2 (2025-01-20)
- Enhance GitHub release configuration with asset management and custom release name (da054cf)
- Keep it simple (17d7b79)