pavlo-tkhir
pavlo-tkhir
@isaacwasserman here is how I deal with it. Hope this helps Frontend ``` const { messages: currentSessionMessages, status, sendMessage, } = useChat({ transport: new DefaultChatTransport({ headers: { Authorization: authorizationHeader },...
@lgrammel, thanks for the prompt reply. I'm testing your fix and will get back to you with the results. However, I have a couple of questions: 1. originalMessages in createUIMessageStream...
@lgrammel It looks like your suggestion didn't fix the issue. ``` [ { "role": "user", "id": "xjAKKqEzVkOmpNPl", "parts": [ { "type": "text", "text": "what is the weather like today" }...
@paulonasc, Unfortunately, no. We had to move to an "alternative framework" to solve this.
@paulonasc we have moved to langgraph. I can't say it was a great decision, but at least we no longer have this issue. However, we have got a lot of...
@Nitinref any updates on this?
@hntrl I still get the error when the thinking is enabled: ```typescript const agentModel = new ChatAnthropic({ modelName: "claude-sonnet-4-5", maxTokens: 32_000, thinking: { type: "enabled", budget_tokens: 1024 }, }); ```...
Found the issue. The Anthropic API buffers tool call arguments by default. From their documentation: "Our current models only support emitting one complete key and value property from input at...