github vercel/ai ai@6.0.78

latest releases: @ai-sdk/langchain@2.0.83, @ai-sdk/rsc@2.0.78
5 hours ago

Patch Changes

  • 59fcf30: fix(ai): make experimental_context required in ToolLoopAgentOnFinishCallback

    This fixes a type inconsistency where ToolLoopAgentOnFinishCallback had experimental_context as optional while StreamTextOnFinishCallback and GenerateTextOnFinishCallback had it as required. Since ToolLoopAgent delegates to streamText/generateText, and both always pass experimental_context when invoking the callback, the types should match.

Don't miss a new ai release

NewReleases is sending notifications on new releases.