Nikita Butakov

Results comments of Nikita Butakov

+1 we're currently persisting the `responseMessage` in the `onFinish` callback of `createUIMessageStream` (which is a UIMessage) but it would be helpful to have a utility function to ensure we're appending...

@lgrammel we saw the same issue yesterday. In our case `streamText` finished while a tool call was still in an `input-streaming` state, for an unknown reason. We then persisted the...

Nevermind, was an express limit issue in our config

Thanks @nicoalbanese that works for sendMessage! However we also need a way for `addToolResult` to pass any dynamic values.

@nicoalbanese our case is a bit different, we're using `createUIMessageStream` and `pipeUIMessageStreamToResponse` without `toUIMessageStream` where would the `consumeStream` go in this case? thank you!

@gr2m we're also seeing missing toolCalls on streamText for 5.0.81 with sonnet 4.5, sonnet 4, and gpt-4-1 on all providers (anthropic, vertex, bedrock)

+1 🚀 would be great to be able to provide these settings inside the anthropic provider options https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-5#context-editing

@cloudycotton were you able to figure out how to do this in ai-sdk?

been occasionally seeing these errors as well after tool calls, but we're not intentionally using prefill