Skip to content
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

Rebase of @leomariga's Existing Project #578

Merged
merged 46 commits into from
Aug 15, 2023
Merged

Rebase of @leomariga's Existing Project #578

merged 46 commits into from
Aug 15, 2023

Conversation

pbharrin
Copy link
Contributor

@pbharrin pbharrin commented Aug 9, 2023

As requested by @AntonOsika I've rebased @leomariga 's "Improve Existing Codes" PR #465 to recent changes.

I tested and it works in "normal" mode (generate new code) and it works in Improve Existing Code mode. Existing code mode works for command line mode as well as the TKInter based GUI. I ran tests and they all passed (except test_ai.py which has nothing in it.)

I think there are some existing comments from the PR which could be implemented. I will check on those.

leomariga and others added 30 commits June 24, 2023 17:45
…isspellings and cleaned up. Applied leomariga suggestions.
Added range functionality to file selector input, fixed some bugs, m…
…isspellings and cleaned up. Applied leomariga suggestions.
@pbharrin
Copy link
Contributor Author

I think I have addressed everything in the last comments of #465.

Additionally if the file names are not known or a new file is generated then these new files are placed in workspace. This is not optimal, I know but we should discuss a solution. The code does not know what is the correct place to place these files. We could perhaps ask the AI or we could try to infer a root directory based on the largest common path from all the files, or some combination of these two.

@leomariga
Copy link
Contributor

Thanks for helping us with this issue @pbharrin . I hope we can see it merged soon. =)

@AntonOsika
Copy link
Owner

Awesome great job @pbharrin

I'll try to do the review later today, day full of afk duties.

Copy link
Owner

@AntonOsika AntonOsika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job on the PR.

Added my comments. You can immediately commit my proposals in git by clicking commit to batch.

gpt_engineer/chat_to_files.py Show resolved Hide resolved
gpt_engineer/main.py Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/main.py Outdated Show resolved Hide resolved
gpt_engineer/preprompts/implement_on_existing Show resolved Hide resolved
projects/example/prompt Outdated Show resolved Hide resolved
pbharrin and others added 8 commits August 13, 2023 08:13
Remove development notes.

Co-authored-by: Anton Osika <[email protected]>
Co-authored-by: Anton Osika <[email protected]>
Co-authored-by: Anton Osika <[email protected]>
remove redundant code

Co-authored-by: Anton Osika <[email protected]>
remove development notes

Co-authored-by: Anton Osika <[email protected]>
@pbharrin pbharrin merged commit 81b3a9f into AntonOsika:main Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants