Observed an issue where text-end event is never triggered.
Works fine if I am using @ai-sdk/openai directly without helicone.
I don't think this is restricted to model provider because I was able to reproduce the same issue with anthropic.
To reproduce the issue, instruct the agent to send a message before making any tool calls.
"Let the user know before executing a tool" or something along that line should work.
Why is this a problem?
- Message ids do not change and multiple text messages from the agent get merged into one.
And I tried using '@ai-sdk/openai' as an alternative but requests keep failing saying missing messages array. But that issues goes away as soon as I switch to @helicone/ai-sdk-provider. I mean since helicone claims to be compatible with openai packages, I am unsure why it doesn't work with @ai-sdk/openai.
Observed an issue where
text-endevent is never triggered.Works fine if I am using @ai-sdk/openai directly without helicone.
I don't think this is restricted to model provider because I was able to reproduce the same issue with anthropic.
To reproduce the issue, instruct the agent to send a message before making any tool calls.
"Let the user know before executing a tool" or something along that line should work.
Why is this a problem?
And I tried using
'@ai-sdk/openai'as an alternative but requests keep failing saying missingmessagesarray. But that issues goes away as soon as I switch to@helicone/ai-sdk-provider. I mean sinceheliconeclaims to be compatible withopenaipackages, I am unsure why it doesn't work with@ai-sdk/openai.