gpt-engineer
gpt-engineer copied to clipboard
Pass a flag in run command to keep the generated code hidden
Hey, I was thinking that we should add an optional flag to the run command. This flag would allow us to hide the generated code on the terminal. By doing so, the terminal output would appear cleaner, and the reader could easily understand what is happening just by reading the output. Currently, with both the code and instructions displayed, it looks cluttered.
That being said, if someone wants the code to be printed, it can still be displayed based on the flag value.
Let me know if I can help in implementing this.
good
good
I believe this to be a good idea.
Please @ayush-vibrant fell free to provide a PR with this functionality.
I would suggest as inspiration something like --v
/--vv
/--vvv
like many commands do to set the level of verbosity
If not that, maybe approaching it from "the other side" with an option such as --quiet
Making the output very populated by default and if you provide this option then the output is fairly restricted.
cc @AntonOsika thoughts?
@patillacode Looks like you removed yourself from this issue, Is this issue open to be picked up?
Hello @VijayKalmath
Please feel free to pick this up.
@VijayKalmath Are you picking this up? Otherwise I can pick it up.
@patillacode I do not have a key which has gpt-4 access, is there any turnaround to this? Or by any chance you have a spare key? (If it's not too much to ask)
I wish I had one!!!
Also, giving a key to a stranger would not be recommended 😉
Opened draft PR, @patillacode please assign this issue.
Hahah @patillacode that's true. A man can try though!
But I see that @VijayKalmath has raised a PR. That's so cool.
Hm I definitely think logging the code is worth it. Otherwise it's just "not doing anything" for a very long time.
Happy to have this reopened if someone has a good argument. Do not agree with "clutter" being sufficiently strong!
Closing for now 🏃