Thanks for flagging. I am seeing the same thing (thought=None), not only with the generate_content_stream but with the generate_content also. One thing mentioned in this doc is that it’s not guaranteed but let me follow up with the internal team on this.
Tried changing options, on v1beta, fishing for parameters… nothing. I don’t know how to get the CoT back, and I was reading it to get assurance about the quality of the output. It’s my fav model otherwise.
Moving forward, our team has made a decision to only show thoughts in Google AI Studio. Meaning, we no longer return thoughts via the Gemini API. Here is the updated doc to reflect that.
Correct, the reasoning / thinking is still happening when you use the thinking model via the API, it is just not showing the thoughts in the response anymore.
Yeah, I believe this will be the case moving forward.
That’s unfortunate to say the least… it was extremely useful for developers to have access to thoughts without relying on the studio. I guess that’s just the nature of using these experimental/preview models since they may be subject to change at any moment.