How to Prevent v0 Agents Doing Tasks Unrelated to Prompt?

I’ve been having v0 pretty consistently try to “fix” stuff that doesn’t need fixing, and therefore waste my credits.

Example:

Asked to fix a specific error:

But then the agent gets sidetracked and starts fixing what it views as a css contrast issue on a button in a layout

How do we prevent this?

It started remembering not to do a specific task that it kept doing over and over and over again, but it’s still spending time on it when I didn’t even mention it and it is totally unrelated to what I was working on:

The prompt was about issues with the code and filtering from the database, not about my landing page styles:

Hi! One way in which you could tackle this is by using the “Knowledge” feature available in the Settings at the top right. You could include strict instructions like “Focus on the prompt entered and perform targeted changes. Do not digress or get distracted with older queries”. Initially, I faced a lot of problem with this but over time it does understand how to avoid doing it.

This is a poor user experience. The v0 team should already have that baked in.

It still wastes credits even though it stops itself:

I don’t quite understand, you’ve already shared this image earlier and it doesn’t help identify or fix the problem. Did you try the knowledge instructions I suggested?

I had already added to the knowledge base. It still is wasting credits.

Could you share the project link after making it public, if it isn’t too sensitive.

It’s a private project - I hope the v0 team makes some improvements or I’m thinking of moving elsewhere.