Skip to content

Releases

v0.1.5

Choose a tag to compare

@zkytech zkytech released this 06 Feb 13:50
Improve Brotli decompression error handling in OpenAI service

- Add fallback mechanism for Brotli decompression failures
- Catch and log Brotli decompression exceptions
- Provide direct content decoding as a backup when Brotli fails

v0.1.4

Choose a tag to compare

@zkytech zkytech released this 06 Feb 13:31
Add Brotli decompression support for upstream responses

- Add brotli library to requirements.txt
- Implement explicit Brotli decompression for responses with 'br' content encoding
- Enhance response handling to support Brotli compressed content from upstream services

v0.1.3

Choose a tag to compare

@zkytech zkytech released this 06 Feb 13:24
Reset upstream service tracking counters for normal and stream requests

- Add counter reset logic for both normal and stream request methods
- Ensure consistent upstream service tracking across request types
- Improve request handling by initializing tracking state before each request attempt

v0.1.2

Choose a tag to compare

@zkytech zkytech released this 06 Feb 13:15
Improve OpenAI service request handling and error resilience

- Add robust URL formatting to handle base URL and path variations
- Enhance error handling with detailed logging for request and response errors
- Implement more comprehensive exception tracking for upstream services
- Add timeout configuration for HTTP client
- Improve JSON response parsing with explicit error handling
- Track and limit upstream service attempts before raising a final exception

v0.1.1

Choose a tag to compare

@zkytech zkytech released this 06 Feb 10:15
Enhance upstream service handling and remove model restriction

- Remove hardcoded model name check in router
- Add upstream service tracking in OpenAIService
- Improve error handling and logging for stream requests
- Track number of tried upstream services before raising an exception

init

Choose a tag to compare

@zkytech zkytech released this 30 Jan 05:50
v0.1.0

Add Docker support with Dockerfile, docker-compose, and GitHub Action…