ChatDev icon indicating copy to clipboard operation
ChatDev copied to clipboard

[Feature Request] Attaching files to define task, bootstrap org and name, and for including reference files.

Open cryptictech opened this issue 2 years ago • 3 comments

It would be nice to define a task file for defining a longer specified task as doing so from the command line can make the command too long and hard to understand. I'm sure this is possible with a Linux command, although I'm worried that it could also be hard to read, I'm thinking perhaps through a --tasks-file option.

Adding a separate file for org and project name or even pulling from an environment file/variable could help shorten or bootstrap the run command, using the parameter option over the defined variable to allow on the fly modifications without having to modify the file.

Lastly it would be nice to add additional files that the program can use as documentation or for reference, this could be through a single option like --reference-file or through different options to specify different file uses, for instance --doc-file or --requirements-file.

cryptictech avatar Jan 02 '24 02:01 cryptictech

Thanks for the great suggestion, the task file and separation of different files are great ideas

Liagim01 avatar Jan 11 '24 08:01 Liagim01

Yeah, the gpt-engineer project uses the prompt file, which handles free form text. It is much easier to specify complex requirements using that interface. I often paste large code blocks or entire files into that prompt file. If I was to flatten out that code in order to make it a one line string that can be input via command line arguments, it loses a lot of important form and meaning. There are a lot of tasks I would like to try with this system, but I simply cannot due to the limited prompt interface.

aaronjolson avatar Jan 25 '24 04:01 aaronjolson

I was able to update the code to allow for file inclusion. I have not had a chance to see if it will run, if someone can check it out I would appreciate it. i have linked it to my github repo

Linuxscot1974 avatar Jul 21 '24 23:07 Linuxscot1974