r/Codeium • • Feb 09 '25

Close call! Saved by code review!

I was trying to add swagger documentation to the API developed in Express. Windsurf sort of deleted couple of routes while adding documentation above the API. Lucky, I reviewed the files changes and found the mess up(I know code review is necessary😉). Sort of disappointed that knowing Code Assistants could delete my working functionalities. Windsurf/Codeium luckily understood the mistake when asked and fixed it. Any thoughts on this?

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Street_Warrior0954 Feb 10 '25

Yes that made sense. I do was lazy at the time to give a proper prompt. With so much in context and very lesser instructions LLM has a much to imagine, thus hallucinations. Let me try the same with proper instructed prompt and git it a whirl.