Credit Where it is Due

This is going to be direct.

For the last one week of using Firebase Studio inbuilt AI, it has been showing some sort of improvement in both context management and generaly following commands. Right now it understands by itself when to update file and when not to, according to the prompt instructions compared to the last few months.

It can still do better under context.
Currently i have noted an issue where the AI will choose to rewrite a full set of API endpoints just to go for that “optimization“ or sometimes it will choose to duplicate it then change the dependant requests to hit the new endpoints but it will not report that it created a new file with “optimizations“.

This is not all bad, but most times we expect it to just do what you just told it to do so you honestly don’t endup inspecting the changes. at the end you end up deploying changes you have not even gone through and a whole folder with endpoints that are not in use.

Other than that, the AI is doing very well interms of even that context and speed,

1 Like

I tried this out and my relationship with the built in AI got a lot better and smoother.

In GEMINI.md I set some principles and most important a rule of behavior and a protocol os communication.

In short, cause I am in my cell:

  1. Plan, tell me, discuss with me and WAIT for my approval before any editing.
  2. NEVER make changes when I tell that I will TEST something or when I ask explicitly an explication
  3. Read README.md (my first prompt and complete app specs) and keep a task list in TODO.md to advance step by step

But… you cannot be unaware of your codebase if you want to prevent duplicate files and functions!

1 Like

A lot of people take AI for granted, but at the end of the day it is just a tool and tools sometimes break down or missfunction, the more complex is the task at hand the probability increases as does security issues. Don’t compromise your security and your users security for the sake of comfort and speed because it only goes downhill from there (this is a note for new users).

And as Liga stated, inspect your files and your code before deployment, I know it seems like a hassle but it’s the right thing to do. If you did not code it don’t deploy it kind of mentality.