stream output miss first text
Closed this issue · 7 comments
xmlandroid commented
avastmick commented
Thanks, I'll investigate when I get time over the weekend.
avastmick commented
Hi, @xmlandroid, I cannot replicate this in any way. I always see all of the response from the API.
So I can help you further, can you give more techical details on your usage? Please include:
- version of crate
- whether the 'beta' features are enabled
- whether this is using the open API or using Vertex
- A more comprehensive listing of the code you are using to fetch/process the response.
xmlandroid commented
I find the problem is when I use serde_json::from_value convert the Value to GeminiResponse the first chunk will return Err not Ok
xmlandroid commented
other chunk is ok,just the first Gemini return struct is different ,convert the value to GeminiResponse get Err
xmlandroid commented
xmlandroid commented
xmlandroid commented
By the way, do you have any examples of conversations with pictures?