Comment by theshrike79
3 days ago
Just yesterday I gave gemini code a git worktree of the system I'm building at work. (Corp approved yadda yadda).
Can't remember the prompt was "evaluate the codebase and suggest any improvements. specifically on the <nameofsystem> system"
Then I tabbed out and did other stuff
Came back a bit later, checked out its ramblings. It misunderstood the whole system completely and tried to add a recursive system that wasn't even close to what it was supposed to be.
BUT it had detected an error message that just provided an index where parsing failed on some user input like "error at index (10)", which is completely useless for humans. But that's what the parser library gives us, so it's been there for a while.
It suggested a function that grabs the input, modifies it with a marker at the index given by the error message and shows clearly which bit in the input was wrong.
Could I have done this myself? Yes.
Would I have bothered, no I have actual features to add at this point.
Was it useful? Definitely. There was maybe 5 minutes of active work on my part and I got a nice improvement out of it.
And this wasn't the only instance.
Even the misunderstanding could've been avoided by me providing the agent better documentation on what everything does and where they are located.
No comments yet
Contribute on Hacker News ↗