Skip to content

ai-gateway-provider@3.1.2

Choose a tag to compare

@github-actions github-actions released this 22 Mar 13:51
· 116 commits to main since this release
1ad154e

Patch Changes

  • #457 cc94a06 Thanks @threepointone! - Fix request cancellation by propagating abortSignal to outbound network calls.

    ai-gateway-provider: Pass abortSignal to the fetch call (API path) and to binding.run() (binding path) so that cancelled requests are properly aborted.

    workers-ai-provider: Pass abortSignal to binding.run() for chat, embedding, and image models, matching the existing behavior in transcription, speech, and reranking models.

    @cloudflare/tanstack-ai: Pass signal through to binding.run() in both createGatewayFetch (AI Gateway binding path) and createWorkersAiBindingFetch (Workers AI binding path).