continue
continue copied to clipboard
Enable AI to create files
Validations
- [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that requests the same enhancement
I would like to write a task a little more complex than one page. It would be great if the model can create files by itself if needed instead of writing everything in one place. Something similar to Devin ai. Example usages:
- Asking the model to create some model classes. Each one should be in its own file.
- A UI task with multiple reusable components that needs to be in a separate file.
- Make fake implementation for interfaces and unit test classes.
I think developers should focus on one thing and do it well rather than trying to do 10x things poorly. Making files by LLM is bad idea from security perspective: permissions, content, ... Extensions already have elevated privileges, creating any random files could backfire spectacularly...
@salah-8 note this is now live in two forms:
- Using tools, the model has access to a
builtin_create_new_filetool. To @martincerven's concerns this can be disabled or set to require requesting permission using the tool permissions popup https://docs.continue.dev/customize/tools - In multi-file edit mode (cmd + I to enter) codeblocks can be applied to create new files
Either of these could be used to your ends. Other than further integration of edit into the chat interface, I believe this issue has been resolved.