gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

Improve or modify existing code

Open coolrazor007 opened this issue 2 years ago • 1 comments

I've tried using a prompt to improve existing code, but it doesn't seem to work. Has anyone else gotten this to work? Something like "edit main.py in workspace to write console output to a logfile named log.txt". I tried that as a test and it will not read the simple main.py in there.

I tried something very similar to what this guy did (~9:30 mark) for referencing: https://www.youtube.com/watch?v=gWy-pJ2ofEM

coolrazor007 avatar Jun 16 '23 01:06 coolrazor007

I think the current agent doesn't have the ability to read existing code, because I only see chat_to_files.py (convert GPT's message and store them as files) but I don't see files_to_chat.py. Maybe this feature will be added in the future version.

liusida avatar Jun 22 '23 03:06 liusida

We're working on it 🚀

AntonOsika avatar Jul 08 '23 14:07 AntonOsika