-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ask to run code after improvement #722
Comments
So you wish to add improvement on interactive mode? Am I right? |
Yes, I think I'd be good if that existed. Not sure if I can contribute though. |
fyi: requires #721 to be merged |
I concur with @UmerHA's points. Additionally, automating the environment setup to handle dependencies would be beneficial, saving users from manual installations, especially when new dependencies are introduced post-improvement. This would streamline the process, making the |
@Ruijian-Zha I'm not sure if I understand. If successful, the generated run.sh script should create a virtual environment and install dependencies. Hypothetically, by including the run.sh/requirement.txt/whatever in the improvement prompt, the agent should already be able to suggest addition of new dependencies. I may be missing something here. |
@ATheorell The key idea is to run run.sh, requirements.txt, or similar scripts iteratively until the problem is resolved. The recently released Autogen can automatically install the necessary requirements in the current Conda sub-environment, aligning perfectly with our objectives. For more details, including my test code and results, you can visit my personal GitHub page: Autogen Direct Run & Iterative Debug. |
Unlike after code creation, after code improvement(i.e., the
-i
flag) gtp-engineer doesn't ask if the code should be run.Feature description
When using the
-i
flag and gpt-engineer has finished improving code, the use should be asked if they want to run the code.Motivation/Application
In my view, a good workflow for gpt-engineer would be:
The text was updated successfully, but these errors were encountered: