When I started out my prototype work project, I was fascinated at how the agent workspace fixed and structure project and resolved problems in a sec. It really wow me, that’s what kept me stuck with Firebase studio. Now on a long run after going through the project and almost getting everything up, the agent efficiency to resolving matters has dropped. In fact currently I have to spent hours on a single issues or bug to be resolved with this agent. I have restarted the project, /clear the history yet the agent brain at this point really takes hours to figure out a solution on a spot and resolved. Like am already losing out, as I have wasted time, try all means to ensure issues are resolved. Please who have had such experience and what’s the possible solution to get the agent back to handle issues and bug at a spot without the prolong hours. In fact sometimes the agent will have to tried different means and yet kept telling me, I know you’re frustrated, I know your out of patience, yet nothing is changing. PLEASE FOLKS HELP A BROTHER HERE
4 Likes
dms
2
The /clear
command doesn’t empty the model’s context. It only clears your chat history.
If the model seems “less efficient” than it was before, try to clearing out the bugs in your code. You may be asking the model to add a new feature, but unfortunately; it will struggle if there are unresolved bugs.
One technique, you can say “Run ‘npm run typecheck’. Count the number of errors. Resolve 5 of them”. Keep running this until you can resolve it.
1 Like
Thank you @dms I will try my hands on this, though I have been already started running this particular command, I hope it a prompt I should post, not on terminal. Because I am already running this your recommendation technique as a prompt. If it as prompt, am already doing that, and hoping to get things solved. Because it not changing with the previous times I have run them. The error still on a stand still.
1 Like
Chandu
4
then how to clear full context of model?
Agreed, been working on a project for several weeks now, and all of a sudden the agent started messing up. If I ask it to add a feature, it puts code it doesn’t need to touch, and when it goes to fix it, it changes something else, it wasn’t like that when I started the project. Then all of a sudden the entire chat history was emptied, and I can no longer return to previous versions. What’s up, my project is live :(.
1 Like
dms
6
Though it’s not the most convenient, try being super specific including naming files that you would like it to change.
If you want the model to fix an error, copy the specific error code into the Prototyper window along with the name of the file where the error resides. The model will do a much better job of fixing the error if it has the context of the error message.
Thank you @dms , you have really been of a great support. But may I shared with you that, I have done all of this you just said. Yet the model has failed to execute solution. Even the model itself it feeling abject bad for not being able to execute solution. I mean, we got stuck off on a particular runtime error for the past 24hours, which the model detected and ask to fix it. I run the model prompt of the exact error several times, yet model still couldn’t, I took a screenshot of it and shared with model yet, model can’t fix, I mean I have tweaked it to my best of knowledgeable to be be specific, yet the error hasn’t left. It hasn’t been this hard before, the has been a harder issues or bug, which model has handled and resolved, even this similar runtime error the model has resolved, but what just happened suddenly that we have to get this sticks for hours trying all manner of effort yet, no way is what is surprising to me. This particular error is what the model couldn’t fix, we have done all manners of actions, tried different files removal yet, error persist. So I am kind of lost of what to do honestly
Runtime Error
Error: ./src/app/cart
You cannot have two parallel pages that resolve to the same path.
dms
8
Thank you @Mikeyoungdya2 for the context and the error message. I’m guessing you’re using working in NextJs. If so, then know NextJS can’t tell the difference between a route group [ex: app/(landing)/cart/page.ts
] and a simple route like app/cart/page.js
. They’ll resolve to the same page.
If you choose which of the two pages to render, the issue should go away.
You can also rename one of the routes.
Hey @dms thank you for your swift reply. I honour your support. Specially are you saying this has nothing to do with model correcting? What exactly do you advice I do with the those files, I rename them my self or use model to do so? Please a quick one. Thanks
1 Like
dms
10
The fastest way to resolve the error is to rename one of the files. If it causes downstream impacts, (i.e. let’s say it breaks a page further down in your app), have the model correct the error. It should know to not rename the file the same as it was before and instead fix the downstream issues for you.
When prompting the model to fix the error after you manual make the change in Code mode to the file name, tell the model the exact filename that contains the current error and tell it to fix the error so that it conform to the rules of NextJs.
Alright, thank you dearly. Let me try my hands on what you advice and see it works. Thank you @dms
1 Like
xdoomx
12
Switch between the codie view with Gemini to troubleshoot and the prototype view.
I find Gemini can work more efficiently at solving code issues and it has an autonomous agent mode which goes faster
2 Likes
Berns
13
It’s Gemini 2.5 model that has been quantized in the last couple of weeks, so the model isn’t as smart as it was before, that’s the reason. In ai studio it struggles with simple problems it used to be able to solve with March/April’s version.
@xdoomx thank you greatly for stopping by on this.. please can you provide a step by step guide to this Switch. It will really be of great help so I wouldn’t get lost. Thank you
@Berns what do you advice, which model should I switch to and how please. Thank you for stopping by. I am grateful
I feel your pain. I have one I have been working on for a few weeks, with AI Studio. I had it perfect, then decided to make a small tweak. That was a big mistake. I have been trying to get back the earlier functions, but no matter how I prompt it, i cant get the function back. It keeps assuring me that it has found the definitive fix, but stays the same. This has been going on for a week now. I am ready to scrap it and start again.
Berns
17
I don’t really use firebase studio other than using it to start a project sometimes, I then take it to Jules or Kiro.
1 Like
Really? How do you export your project from Firebase to Jules or koro? And do you publish from there?
Berns
19
Save it to git from studio. Jules can read from your github. Yes it then lives as files on my computer and can do what I want with it.
How do you publish it. Via Jules?