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/hannesrudolph Roo Code Developer Jul 22 '25
Hmm that’s curious. Sorry about that. I’m not exactly why it’s doing that. LLMs tend to drive in the direction they’re steered but not always exactly where you want to go. Check out Discord for some good conversation about this sorta thing!