Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add setting to hide "thought" responses from Google Gemini Thinking Mode models #5339

Open
1 task done
robinvalk opened this issue Jan 17, 2025 · 3 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@robinvalk
Copy link

What features would you like to see added?

Currently the Google Gemini Thinking Mode model responses come in "two parts". As from the Google docs:

On a standard request, the model responds with two parts, the thoughts and the model response.

It looks like that in the current implementation both of the parts are displayed in the chat. It would be nice to have a setting to disable the "thought" response messages to be displayed.

More details

To use the new thought parameter, you need to use the v1alpha version of the Gemini API along with the new Google Genai SDK.

https://ai.google.dev/gemini-api/docs/thinking-mode#working_with_thoughts

Which components are impacted by your request?

No response

Pictures

Picture of the very expressive responses

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@robinvalk robinvalk added the enhancement New feature or request label Jan 17, 2025
@voelspriet
Copy link

Just use gemini-2.0-flash-exp as model

Image

@tedlin0124
Copy link

thinking model is different with default model. The output is better.

@michnovka
Copy link

This would be a good thing for more models, perhaps this switch could be more general? Deepseek also has the thought output.

If nothing else, it could be collapsed by default and on click it would expand to show what it was thinking about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants