-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feature request: Create a PR on the repo #8
Comments
Same happens to me: #4 (comment) |
This repo does not automatically interact with the github repo/issue that you are running it on. It generates a In you can then apply the patch manually that was proposed |
Timothy is correct. Although it could be cool to make this as an optional flag for private, non SWE-bench repos. |
ok so the repo needs to be Public? I might have similar problem... I have created an issue on my repo and used this cmd: python run.py --model_name claude-3-opus-20240229 \ --data_path https://github.com/cocobeach/Killer-Wasp/issues/1 --config_file config/default_from_url.yaml (where is tha config_file?)
Any ideas? Thanks a lot Great Repo, we all love it!! |
Right now the submit function only displays the --diff as far as I know, maybe a simple solution would be to create the patch and push it to the repo?
|
@cocobeach No, it does not matter if the repo is public, private, or anything. The functionality to automatically push the diff to Github simply does not exist. This repo does not do that. If you wanted it to do that though, you can add it as a function the agent can all. |
Ok then I don't understand, what happens with the issue number we give it when we hit run.py, what is it supposed to do in theory? Where are we supposed to retrieve the answer? |
The scope of the project so far was to demonstrate and quantify the ability to solve real world gh issues. As @farouqaldori correctly pointed out, you can see the I will look into whether we can add PR functionality soon. |
Had the same error where it couldnt access my private repo but then added my github token to my bash profile and then it worked. @cocobeach |
I gave it a github api token that has access to my playground repo: https://github.com/catid/swe_agent_playground
Token is in the keys.cfg but it doesn't seem to read that so I also manually exported the key envvars.
It completed the task but did not create a PR or branch and does not have any useful errors explaining why:
Also no useful logs explaining why it did not submit anything in the trajectories folder.
Also noted that this project fails to start if the repo is empty. I'd prefer to have it work on empty repos too.
The text was updated successfully, but these errors were encountered: