Martin Gran

Results 19 comments of Martin Gran

Hi @lgrammel Would be great to have some updated documentation on this. I struggle with the AIStream - as it stopped working when moving to 3.0.21. I use useChat.

@lgrammel For me the stream is no longer displayed in the UI. I use ```useChat```, the exact same implementation as an earlier version of AI Chatbot template by vercel. 1....

> @martgra If I understand correctly, you are returning custom text chunks. In the new protocol, text chunks are lines that look like this `0:my-chunk\n`. You can use `formatStreamPart` to...

@lgrammel may I ask if ```useChat``` sometime will use the SSE protocol directly? Seems like this text stream is less flexible than actually including more metadata in the stream like...

> > @lgrammel may I ask if `useChat` sometime will use the SSE protocol directly? Seems like this text stream is less flexible than actually including more metadata in the...

Seems like one cannot set options through append anymore either. Used to set options with append and reload but now my server side gets "undefined" on additional options. Something happened...

@Kludex Dont know what API version in Azure is currently the newest but I encountered this error with the following: python 3.11 pydantic-ai-slim = {version = "^0.0.40", extras = ["openai"]}...

@Kludex Is there a possibility to prfioritize this? Kind of a dealbreaker for us using Azure - I guess that means a lot of enterprises. Important - the error only...

This is the same bug reported at semantic kernel -> https://github.com/microsoft/semantic-kernel/issues/7250 Their fix is to check for None, as it appears in the stream when content filters are async.

@Kludex have mailed back and forth with MS support and fixing this issue is registered as a feature request in the Azure API. However - they recommend me to continue...