Thoughts are missing (CoT not included anymore)

Beginning this morning, Thoughts are not included in the streamed response anymore.

when using:

  "generationConfig": {
    "thinkingConfig": {
      "includeThoughts": true
    }
  }

Text parts are not reported anymore in the response, and only post-thought text is streamed.

Expected: yesterday’s behavior, with Text Parts that include { text: 'something", thought: true }
Obtained: no thought fragments anymore

Please let us know if the request format has changed somehow.

This is with: gemini-2.0-flash-thinking-exp-01-21, in streamGenerateContent (sse).

5 Likes

Seeing the same thing here.

2 Likes

Hey everyone,

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.

Thanks.

4 Likes

same issue here. thanks for looking into it.

1 Like

same issue here. I tried running 100 queries and not even once got the thoughts

2 Likes

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.

1 Like

Any news about the missing “thinking” part in the API @Logan_Kilpatrick

1 Like

Hey Everyone,

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.

Thanks.

2 Likes

Thank you for your feedback.

Does the thinking happen in the background and would that change the reasoning in anyway?

Is this permanent?

Thank you

2 Likes

Are you planning to bring it back in the future? It was the main reason for me to start using the model.

Thank you

1 Like

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.

Thanks.

1 Like

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.