Skip to content

ai@7.0.0-canary.167

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Jun 17:25
· 4 commits to main since this release
9c6364d

Patch Changes

  • 4757690: feat(ai): rename onObjectStepFinish to onObjectStepEnd

  • eeefc3f: fix(ai): enforce timeout.stepMs for the whole step in streamText

    Previously streamText's step timer was cleared synchronously right after the step's stream was registered, before the stream produced anything, so stepMs never aborted a step that stalled before emitting content. The step timer now survives until the step's stream finishes or aborts, matching generateText. chunkMs/totalMs and normal step-finish cleanup are unchanged.

  • b79b6a8: fix(ai): add approval guard for denied tool outputs

  • Updated dependencies [6b4d325]

    • @ai-sdk/gateway@4.0.0-canary.101