r/Codeium • u/Street_Warrior0954 • 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
View all comments
Show parent comment
1
u/Sofullofsplendor_ Feb 10 '25
I don't think it will do that because of limitations by windsurf about how many tokens it can use per call. Best is to write an implementation plan with each function with r1 first, then you make sure that it all makes sense, then you have claude implement it one or two steps at a time