@ai-sdk/openai@4.0.25
Patch Changes
-
beaecb3: fix(provider/openai): resolve responses doStream at response.in_progress instead of first output token
The early-stream-error peek treated
response.in_progressas an unknown chunk, sodoStreamdid not resolve until the first output item arrived — delaying stream availability (and downstream TTFB for proxies/gateways) by the model's full time-to-first-token.response.in_progressis now modeled in the chunk schema and marks the request as accepted: the peek keeps watching for error frames for a short grace window (50ms) so quota/rate-limit errors flushed alongsideresponse.in_progressstill throw as retryableAPICallErrors, while healthy streams become available right after upstream acknowledges the request. -
b192878: feat: add experimental_toolCaller routing to generateText for code mode
-
Updated dependencies [d8210b6]
-
Updated dependencies [b192878]
- @ai-sdk/provider-utils@5.0.16