Add "Delete Chat History" or "Reset Assistant" Button in Firebase Studio / Gemini AI
Many developers are experiencing lag, broken context, or freezing when Firebase Studio (especially with Gemini AI integration) accumulates too much chat history. This often forces us to reset or recreate the entire project — and even then, Gemini may not respond at all.
😫 Common issues:
Chat lag and UI freezing as history grows.
Inaccurate or irrelevant responses from Gemini due to old context.
No way to manually clear or reset the AI assistant.
Developers are forced to reset projects, which is disruptive and time-wasting.
✅ Suggested Solution:
Add a simple button such as:
“Clear Chat History” or
“Reset Gemini Session”
Some ideas:
Place it at the top or settings icon in the chat window.
Optionally prompt the user for confirmation before clearing.
Consider auto-clearing old history after a certain time or session timeout.
🙌 Why It Matters:
Boosts developer productivity by keeping AI responses accurate and fast.
Reduces frustration caused by needing to reset entire Firebase projects.
Enhances privacy and control over shared chat context (e.g., code, data).
It's a small UX change that solves a major usability issue.
🧩 Bonus Suggestion:
Also allow developers to opt-out of chat memory for sensitive projects or to start each session fresh by default.
Thanks for your consideration — this change would dramatically improve the Firebase Studio + Gemini experience for many developers.
-
Chase Perrin (techelpr) commented
Gemini completely loses all intelligence when its history gets too long in chat, to the point where it can't even refactor error handling in the most simple way possible. Just to test how difficult it would be to get it to succeed, I have spent the better part of two days trying to get it to just make a change to concatenate some variables and display them with error messages, and instead it has broken entire other sections of the application over and over again in the same way like a cognitive loop of failure. It was so good at first, but now it seems to have lost all ability to keep a thought or even operate. The ability to clear the chat history is absolutely imperative for this service to succeed.
-
RB RB commented
Yes, I would like to factory reset everything because y’all messed my device up. I cannot watch TV in three months.
-
Carlos Tecles commented
We found a plausible soultion at this point:
https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781 -
Gregory Kalinin commented
Thank you Joe Clinton! The "/clear" and "Compress chat" are super helpful prompts to use when to reset or partially reset Gemini's context
-
Joe Clinton commented
I found you can do /clear to reset the chat history now. After doing that ask it to reread your blueprint and add to context so it knows about your project again.
-
Joe Clinton commented
I think another option which might be more useful is "Compress chat". Which lets gemini go through and intelligently pick out what code lines it needs to remember and which parts it needs to summarize. Then your chat becomes 10x smaller, but you don't lose useful context.