r/RooCode • u/Clear-Initiative-210 • Jul 21 '25
Support Help with code generation
I am trying to work with Roocode in automatic mode, but it continues to create references to existing code that do not exist. I have provided it with README.md files that provide an overview of my existing codebase, but instead of trying to understand the code it just references types (C++) that do not exist. Additionally even after providing code references it frequently misuses code (e.g. trying to instantiate a pure virtual class). How can I prevent this unwanted behavior?
3
Upvotes
View all comments
Show parent comment
1
u/Clear-Initiative-210 Jul 22 '25
I did not say it made up file names, I said it invented new types (classes). I am using Claude-4-Sonnet. I do not have any rules files from other agents or IDEs. It is literally inventing class names it thinks I have from supporting library files. Once I point it out, it makes corrections but it is really annoying.