carlymr

Results comments of carlymr

I'm running into some similar issues - with streamText as well as generateObject - and here are my observations: - It works sometimes - I've gotten generateObject calls to successfully...

Update, I filed an issue for what I think is the root cause of my issue (and a broader issue) here: https://github.com/vercel/ai/issues/5473 As a workaround, I was able to successfully...

I don't think that works for anthropic cacheControl, since that needs to be specified at the message level (since it's specifically setting a cache breakpoint on that message).

Thank you! I did do that workaround (calling convertToCoreMessage on the UI messages first), and that did resolve my issue. I'm a little concerned about resolving this with a documentation...