-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
KeyError in apply_edits breaking improve mode #928
Comments
Note: the "some/dir/" is not my edit for obscurity. i only changed the filename for this post. The "some/dir" path it is showing there is what it is actually showing. |
I made a potential fix in #930 . The cause of the problem is outlined in the PR. Would be awesome if you could pull the fix and see if it improves your case. I do not succeed in triggering the bug locally. Let me know how it goes. |
Updated the fix #930 according to recommendation by @ErikBjare . Would be great if you can pull and play around @baldmanwithbeard |
Hi, I'm using the build I installed from pip; should this change be reflected there? Or is this on an unreleased build? (Do I need to pull the repo?) |
Hi @baldmanwithbeard clone gpt-engineer I hope this sketch is clear enough to get you started. |
poetry install step unsuccessful; keeps erroring with "cannot install jedi" and "cannot install sphinxcontrib-serializinghtml" |
I was still able to run "poetry shell" but then gpt-engineer was not a recognized command |
Please paste the actual error output to assist us in assessing the issue. |
Thanks for the screenshots. Please create a Python virtual environment for your GPTE installation and give this another go. Here are instructions on how to do so. Should you encounter errors again, kindly paste text outputs of the same to save our furious fingers and the inevitable transcription errors that result. |
I ran into issues where i was moving the file around and renaming it but renamed it back before i launched gpt engineer and ran into it an error because the file was not in the file_dict. This will address that. I am also making a comment in this issue gpt-engineer-org#928
this is similar but not the same as my issue. I am submitting a PR for mine I ran into issues where i was moving the file around and renaming it but renamed it back before i launched gpt engineer and ran into it an error because the file was not in the file_dict. This will address that. I am also making a comment in this issue. #952 |
@captivus @ATheorell I just wanted to let you know this worked for me, checking out the new version. I did run into an error unrelated to this issue but it does look the program was trying to edit a block that had already been edited and doesn't see the expected code block and errors out. |
potential fix for some/dir/ bug #928
Thanks for checking @Wheaties466 |
I am running improve mode, creating c# and xaml. GPT Engineer is attempting to make updates to a xaml user control (here renamed to be "myExistingUserControl.xaml") and running into an issue where the filepath is invalid.
The text was updated successfully, but these errors were encountered: