Skip to content

v0.3.3

  • v0.3.3
  • 4c593a7
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • v0.3.3
  • 4c593a7
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@nooga nooga tagged this 07 Jan 12:53
* [feature] Implement request timeout handling in API clients

- Introduces a RequestTimeoutError class to manage request timeouts effectively.
- Updates BaseClient to support request timeout configuration, defaulting to 10 minutes.
- Modifies makeAPIRequest methods across AnthropicClient, GoogleClient, and OpenAIResponsesClient to accept an AbortSignal for cancellation.
- Enhances error handling in parseError methods to recognize and handle timeouts.
- Adds executeWithTimeout method in BaseClient to wrap API requests with timeout protection.
- Implements tests to validate retry behavior and timeout handling in OpenAI client and Responses API client.

* [chore] Publishes release for API timeouts

Prepares release for API timeout improvements by bumping the package version to 0.3.3.

- Updates project version metadata for publishing
- Signals deployment of recent API timeout fixes and related adjustments

---------

Co-authored-by: XIV <hello@bazed.ai>
Assets 2
Loading