Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Doc: Update github repo links

Kilian Lieretf320ca5c7997
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 9bf93af1..4422159a 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -7,7 +7,7 @@ body:
attributes:
value: >
#### Before submitting a bug, please make sure the issue hasn't been already
- addressed by searching through [the past issues](https://github.com/princeton-nlp/SWE-agent/issues).
+ addressed by searching through [the past issues](https://github.com/SWE-agent/SWE-agent/issues).
- type: textarea
attributes:
label: Describe the bug
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index e1489e84..2024b963 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,7 +1,7 @@
blank_issues_enabled: true
contact_links:
- name: Blank issue
- url: https://github.com/princeton-nlp/SWE-agent/issues/new
+ url: https://github.com/SWE-agent/SWE-agent/issues/new
about: None of the above? Open a blank issue
- name: Discord server
url: https://discord.gg/AVEFbBn2rH
diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml
index 47b90a34..2bd4a5c9 100644
--- a/.github/ISSUE_TEMPLATE/question.yml
+++ b/.github/ISSUE_TEMPLATE/question.yml
@@ -10,7 +10,7 @@ body:
Tell us about the confusion you have about SWE-agent *or*
the information that is missing in the documentation.
If you face error messages and more, please open a bug report
- instead https://github.com/princeton-nlp/SWE-agent/issues/new?template=bug_report.yml
+ instead https://github.com/SWE-agent/SWE-agent/issues/new?template=bug_report.yml
validations:
required: true
- type: input
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 17fb467c..cfb8890d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -5,10 +5,10 @@
The easiest way to contribute is to give us feedback.
-* **Something isn't working?** Open a [bug report](https://github.com/princeton-nlp/SWE-agent/issues/new?template=bug_report.yml).
+* **Something isn't working?** Open a [bug report](https://github.com/SWE-agent/SWE-agent/issues/new?template=bug_report.yml).
Rule of thumb: If you're running something and you get some error messages, this is the issue type for you.
-* **You have a concrete question?** Open a [question issue](https://github.com/princeton-nlp/SWE-agent/issues/new?template=question.yml).
-* **You are missing something?** Open a [feature request issue](https://github.com/princeton-nlp/SWE-agent/issues/new?template=feature_request.yml)
+* **You have a concrete question?** Open a [question issue](https://github.com/SWE-agent/SWE-agent/issues/new?template=question.yml).
+* **You are missing something?** Open a [feature request issue](https://github.com/SWE-agent/SWE-agent/issues/new?template=feature_request.yml)
* **Open-ended discussion?** Talk on [discord](https://discord.gg/AVEFbBn2rH). Note that all actionable items should be an issue though.
<!-- INCLUSION END -->
diff --git a/README.md b/README.md
index df801f3f..8d638766 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ Contact person: [John Yang](https://john-b-yang.github.io/), [Carlos E. Jimenez]
## Contributions <a name="contributions"></a>
- If you'd like to ask questions, learn about upcoming features, and participate in future development, join our [Discord community](https://discord.gg/AVEFbBn2rH)!
-- If you'd like to contribute to the codebase, we welcome [issues](https://github.com/princeton-nlp/SWE-agent/issues) and [pull requests](https://github.com/princeton-nlp/SWE-agent/pulls)!
+- If you'd like to contribute to the codebase, we welcome [issues](https://github.com/SWE-agent/SWE-agent/issues) and [pull requests](https://github.com/SWE-agent/SWE-agent/pulls)!
## Citation <a name="citation"></a>
@@ -87,13 +87,13 @@ MIT. Check `LICENSE`.
<div align="center">
-[![Pytest](https://github.com/princeton-nlp/SWE-agent/actions/workflows/pytest.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/pytest.yaml)
-[![Test build containers](https://github.com/princeton-nlp/SWE-agent/actions/workflows/test_build_containers.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/test_build_containers.yaml)
-[![Release to dockerhub (nightly)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml)
-[![Release to dockerhub (release)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-release.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-release.yaml)
-[![build-docs](https://github.com/princeton-nlp/SWE-agent/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/build-docs.yaml)
+[![Pytest](https://github.com/SWE-agent/SWE-agent/actions/workflows/pytest.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/pytest.yaml)
+[![Test build containers](https://github.com/SWE-agent/SWE-agent/actions/workflows/test_build_containers.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/test_build_containers.yaml)
+[![Release to dockerhub (nightly)](https://github.com/SWE-agent/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml)
+[![Release to dockerhub (release)](https://github.com/SWE-agent/SWE-agent/actions/workflows/release-dockerhub-release.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/release-dockerhub-release.yaml)
+[![build-docs](https://github.com/SWE-agent/SWE-agent/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/build-docs.yaml)
[![codecov](https://codecov.io/gh/princeton-nlp/SWE-agent/graph/badge.svg?token=18XAVDK365)](https://codecov.io/gh/princeton-nlp/SWE-agent)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/princeton-nlp/SWE-agent/main.svg)](https://results.pre-commit.ci/latest/github/princeton-nlp/SWE-agent/main)
-[![Markdown links](https://github.com/princeton-nlp/SWE-agent/actions/workflows/check-links.yaml/badge.svg)](https://github.com/princeton-nlp/SWE-agent/actions/workflows/check-links.yaml)
+[![Markdown links](https://github.com/SWE-agent/SWE-agent/actions/workflows/check-links.yaml/badge.svg)](https://github.com/SWE-agent/SWE-agent/actions/workflows/check-links.yaml)
</div>
diff --git a/config/README.md b/config/README.md
index 57d2874c..a1c947cd 100644
--- a/config/README.md
+++ b/config/README.md
@@ -3,4 +3,4 @@
You can also find the corresponding markdown files in the [`docs/` folder][source].
[docs]: https://princeton-nlp.github.io/SWE-agent/config/config
-[source]: https://github.com/princeton-nlp/SWE-agent/tree/main/docs
+[source]: https://github.com/SWE-agent/SWE-agent/tree/main/docs
diff --git a/docs/_footer.md b/docs/_footer.md
index 5ba70f9d..03b78d49 100644
--- a/docs/_footer.md
+++ b/docs/_footer.md
@@ -1,9 +1,9 @@
<div class="grid cards" markdown>
- :material-bug:{ .lg .middle } __Something broken?__
- [:octicons-arrow-right-24: Report bug](https://github.com/princeton-nlp/SWE-agent/issues/new?template=bug_report.yml)
+ [:octicons-arrow-right-24: Report bug](https://github.com/SWE-agent/SWE-agent/issues/new?template=bug_report.yml)
- :material-help:{ .lg .middle } __Something unclear?__
- [:octicons-arrow-right-24: Ask question](https://github.com/princeton-nlp/SWE-agent/issues/new?template=question.yml)
+ [:octicons-arrow-right-24: Ask question](https://github.com/SWE-agent/SWE-agent/issues/new?template=question.yml)
</div>
diff --git a/docs/config/config.md b/docs/config/config.md
index 7380c4af..57e1216b 100644
--- a/docs/config/config.md
+++ b/docs/config/config.md
@@ -12,7 +12,7 @@ A configuration is represented in one or more `.yaml` files, specified by the `-
* Control the **input/output interface** that sits between the agent and `SWEEnv`.
!!! tip "Default config files"
- Our default config files are in the [`config/`](https://github.com/princeton-nlp/SWE-agent/tree/main/config) directory.
+ Our default config files are in the [`config/`](https://github.com/SWE-agent/SWE-agent/tree/main/config) directory.
## Example configuration
diff --git a/docs/config/demonstrations.md b/docs/config/demonstrations.md
index 24017fb8..6190d423 100644
--- a/docs/config/demonstrations.md
+++ b/docs/config/demonstrations.md
@@ -29,7 +29,7 @@ If you would like to run `human_thought` mode without having to type in a though
Here's how you can make a demo from an existing trajectory file (like the one created from the previous step):
1. Find a basic trajectory that you already like and want to use as the basis for your demo.
- For instance, consider the `.traj` files in the [`trajectories/demonstrations/` folder](https://github.com/princeton-nlp/SWE-agent/tree/main/trajectories/demonstrations)
+ For instance, consider the `.traj` files in the [`trajectories/demonstrations/` folder](https://github.com/SWE-agent/SWE-agent/tree/main/trajectories/demonstrations)
or find the trajectory from the previous step (the path will be printed at the bottom).
2. Run `sweagent traj-to-demo --traj_path<path to trajectory file.traj>` to convert the trajectory to a demo.
This demo will be saved as a readable yaml file in the `demos/` directory.
diff --git a/docs/dev/changelog.md b/docs/dev/changelog.md
index 232d69d0..7f0c88b8 100644
--- a/docs/dev/changelog.md
+++ b/docs/dev/changelog.md
@@ -7,111 +7,111 @@
The main new feature is the **EnIGMA mode**, which included additions like support for Interactive Agent Tools
and Summarizers.
-* Add filemap command in the spirit of repomap by [@samuela](https://github.com/samuela) in [#619](https://github.com/princeton-nlp/SWE-agent/pull/619)
-* Create config to run human eval style challenges by [@ofirpress](https://github.com/ofirpress) in [#658](https://github.com/princeton-nlp/SWE-agent/pull/658)
-* Add claude 3.5 sonnet to models by [@carlosejimenez](https://github.com/carlosejimenez) in [#601](https://github.com/princeton-nlp/SWE-agent/pull/601)
-* Enh: Warn if scrolling >= 3 times by [@klieret](https://github.com/klieret) in [#626](https://github.com/princeton-nlp/SWE-agent/pull/626)
-* feat: support deepseek-coder LLM by [@jcraftsman](https://github.com/jcraftsman) in [#638](https://github.com/princeton-nlp/SWE-agent/pull/638)
-* Enh: Make timeout for agent commands configurable by [@klieret](https://github.com/klieret) in [#674](https://github.com/princeton-nlp/SWE-agent/pull/674)
-* Add support for new gpt-4o-mini model by [@ivan4722](https://github.com/ivan4722) in [#693](https://github.com/princeton-nlp/SWE-agent/pull/693)
-* Groq Models Integration by [@MohammedNagdy](https://github.com/MohammedNagdy) in [#721](https://github.com/princeton-nlp/SWE-agent/pull/721)
-* Make log level configurable; add TRACE level by [@klieret](https://github.com/klieret) in [#612](https://github.com/princeton-nlp/SWE-agent/pull/612)
+* Add filemap command in the spirit of repomap by [@samuela](https://github.com/samuela) in [#619](https://github.com/SWE-agent/SWE-agent/pull/619)
+* Create config to run human eval style challenges by [@ofirpress](https://github.com/ofirpress) in [#658](https://github.com/SWE-agent/SWE-agent/pull/658)
+* Add claude 3.5 sonnet to models by [@carlosejimenez](https://github.com/carlosejimenez) in [#601](https://github.com/SWE-agent/SWE-agent/pull/601)
+* Enh: Warn if scrolling >= 3 times by [@klieret](https://github.com/klieret) in [#626](https://github.com/SWE-agent/SWE-agent/pull/626)
+* feat: support deepseek-coder LLM by [@jcraftsman](https://github.com/jcraftsman) in [#638](https://github.com/SWE-agent/SWE-agent/pull/638)
+* Enh: Make timeout for agent commands configurable by [@klieret](https://github.com/klieret) in [#674](https://github.com/SWE-agent/SWE-agent/pull/674)
+* Add support for new gpt-4o-mini model by [@ivan4722](https://github.com/ivan4722) in [#693](https://github.com/SWE-agent/SWE-agent/pull/693)
+* Groq Models Integration by [@MohammedNagdy](https://github.com/MohammedNagdy) in [#721](https://github.com/SWE-agent/SWE-agent/pull/721)
+* Make log level configurable; add TRACE level by [@klieret](https://github.com/klieret) in [#612](https://github.com/SWE-agent/SWE-agent/pull/612)
### Fixes
-* Compatibility with SWE-bench 2.0 by [@klieret](https://github.com/klieret) in [#671](https://github.com/princeton-nlp/SWE-agent/pull/671)
-* ensure variables work in special command docstring by [@forresty](https://github.com/forresty) in [#628](https://github.com/princeton-nlp/SWE-agent/pull/628)
-* Important fix: Catch CostLimitExceeded in retry because of format/block by [@klieret](https://github.com/klieret) in [#682](https://github.com/princeton-nlp/SWE-agent/pull/682)
-* Fix: Handle empty traj in should_skip by [@klieret](https://github.com/klieret) in [#616](https://github.com/princeton-nlp/SWE-agent/pull/616)
-* Fix for end-marker communicate: Exit status always 0/invalid by [@klieret](https://github.com/klieret) in [#644](https://github.com/princeton-nlp/SWE-agent/pull/644)
-* Fix: Insufficient quoting of git commit message by [@klieret](https://github.com/klieret) in [#646](https://github.com/princeton-nlp/SWE-agent/pull/646)
-* Fix nonsensical trajectory formatting for PRs by [@klieret](https://github.com/klieret) in [#647](https://github.com/princeton-nlp/SWE-agent/pull/647)
-* Fix: sweunexpected keyword 'python_version' by [@klieret](https://github.com/klieret) in [#692](https://github.com/princeton-nlp/SWE-agent/pull/692)
-* Fix: Use LONG_TIMEOUT for pre_install commands by [@klieret](https://github.com/klieret) in [#695](https://github.com/princeton-nlp/SWE-agent/pull/695)
-* Fix: UnboundLocalError when catching decoding issue by [@klieret](https://github.com/klieret) in [#709](https://github.com/princeton-nlp/SWE-agent/pull/709)
-* Also create empty patch files for completeness by [@klieret](https://github.com/klieret) in [#725](https://github.com/princeton-nlp/SWE-agent/pull/725)
-* Fix: Raise ContextWindowExceeded instead of exit_cost by [@klieret](https://github.com/klieret) in [#727](https://github.com/princeton-nlp/SWE-agent/pull/727)
-* Fix: Deal with non-utf8 encoded bytes in comm by [@klieret](https://github.com/klieret) in [#731](https://github.com/princeton-nlp/SWE-agent/pull/731)
-* Fix: Handle spaces in repo names by [@klieret](https://github.com/klieret) in [#734](https://github.com/princeton-nlp/SWE-agent/pull/734)
-* Fix: Ensure utils is part of package by [@klieret](https://github.com/klieret) in [#742](https://github.com/princeton-nlp/SWE-agent/pull/742)
-* Fix: Submitting ' ' in human mode crashes container by [@klieret](https://github.com/klieret) in [#749](https://github.com/princeton-nlp/SWE-agent/pull/749)
-* Fix: Block su as command by [@klieret](https://github.com/klieret) in [#752](https://github.com/princeton-nlp/SWE-agent/pull/752)
-* Fix: SWE_AGENT_MODEL_MAX_RETRIES needs casting by [@klieret](https://github.com/klieret) in [#757](https://github.com/princeton-nlp/SWE-agent/pull/757)
+* Compatibility with SWE-bench 2.0 by [@klieret](https://github.com/klieret) in [#671](https://github.com/SWE-agent/SWE-agent/pull/671)
+* ensure variables work in special command docstring by [@forresty](https://github.com/forresty) in [#628](https://github.com/SWE-agent/SWE-agent/pull/628)
+* Important fix: Catch CostLimitExceeded in retry because of format/block by [@klieret](https://github.com/klieret) in [#682](https://github.com/SWE-agent/SWE-agent/pull/682)
+* Fix: Handle empty traj in should_skip by [@klieret](https://github.com/klieret) in [#616](https://github.com/SWE-agent/SWE-agent/pull/616)
+* Fix for end-marker communicate: Exit status always 0/invalid by [@klieret](https://github.com/klieret) in [#644](https://github.com/SWE-agent/SWE-agent/pull/644)
+* Fix: Insufficient quoting of git commit message by [@klieret](https://github.com/klieret) in [#646](https://github.com/SWE-agent/SWE-agent/pull/646)
+* Fix nonsensical trajectory formatting for PRs by [@klieret](https://github.com/klieret) in [#647](https://github.com/SWE-agent/SWE-agent/pull/647)
+* Fix: sweunexpected keyword 'python_version' by [@klieret](https://github.com/klieret) in [#692](https://github.com/SWE-agent/SWE-agent/pull/692)
+* Fix: Use LONG_TIMEOUT for pre_install commands by [@klieret](https://github.com/klieret) in [#695](https://github.com/SWE-agent/SWE-agent/pull/695)
+* Fix: UnboundLocalError when catching decoding issue by [@klieret](https://github.com/klieret) in [#709](https://github.com/SWE-agent/SWE-agent/pull/709)
+* Also create empty patch files for completeness by [@klieret](https://github.com/klieret) in [#725](https://github.com/SWE-agent/SWE-agent/pull/725)
+* Fix: Raise ContextWindowExceeded instead of exit_cost by [@klieret](https://github.com/klieret) in [#727](https://github.com/SWE-agent/SWE-agent/pull/727)
+* Fix: Deal with non-utf8 encoded bytes in comm by [@klieret](https://github.com/klieret) in [#731](https://github.com/SWE-agent/SWE-agent/pull/731)
+* Fix: Handle spaces in repo names by [@klieret](https://github.com/klieret) in [#734](https://github.com/SWE-agent/SWE-agent/pull/734)
+* Fix: Ensure utils is part of package by [@klieret](https://github.com/klieret) in [#742](https://github.com/SWE-agent/SWE-agent/pull/742)
+* Fix: Submitting ' ' in human mode crashes container by [@klieret](https://github.com/klieret) in [#749](https://github.com/SWE-agent/SWE-agent/pull/749)
+* Fix: Block su as command by [@klieret](https://github.com/klieret) in [#752](https://github.com/SWE-agent/SWE-agent/pull/752)
+* Fix: SWE_AGENT_MODEL_MAX_RETRIES needs casting by [@klieret](https://github.com/klieret) in [#757](https://github.com/SWE-agent/SWE-agent/pull/757)
### New Contributors
🎉 **@talorabr, @udiboy1209, @haoranxi, @NickNameInvalid, @rollingcoconut joined the team to build EnIGMA** 🎉
-* @carlosejimenez made their first contribution in [#601](https://github.com/princeton-nlp/SWE-agent/pull/601)
-* @samefarrar made their first contribution in [#606](https://github.com/princeton-nlp/SWE-agent/pull/606)
-* @hubstrauss made their first contribution in [#625](https://github.com/princeton-nlp/SWE-agent/pull/625)
-* @samuela made their first contribution in [#619](https://github.com/princeton-nlp/SWE-agent/pull/619)
-* @forresty made their first contribution in [#628](https://github.com/princeton-nlp/SWE-agent/pull/628)
-* @jcraftsman made their first contribution in [#638](https://github.com/princeton-nlp/SWE-agent/pull/638)
-* @ivan4722 made their first contribution in [#693](https://github.com/princeton-nlp/SWE-agent/pull/693)
-* @JoshuaPurtell made their first contribution in [#703](https://github.com/princeton-nlp/SWE-agent/pull/703)
-* @MohammedNagdy made their first contribution in [#721](https://github.com/princeton-nlp/SWE-agent/pull/721)
-* @pdemro made their first contribution in [#729](https://github.com/princeton-nlp/SWE-agent/pull/729)
+* @carlosejimenez made their first contribution in [#601](https://github.com/SWE-agent/SWE-agent/pull/601)
+* @samefarrar made their first contribution in [#606](https://github.com/SWE-agent/SWE-agent/pull/606)
+* @hubstrauss made their first contribution in [#625](https://github.com/SWE-agent/SWE-agent/pull/625)
+* @samuela made their first contribution in [#619](https://github.com/SWE-agent/SWE-agent/pull/619)
+* @forresty made their first contribution in [#628](https://github.com/SWE-agent/SWE-agent/pull/628)
+* @jcraftsman made their first contribution in [#638](https://github.com/SWE-agent/SWE-agent/pull/638)
+* @ivan4722 made their first contribution in [#693](https://github.com/SWE-agent/SWE-agent/pull/693)
+* @JoshuaPurtell made their first contribution in [#703](https://github.com/SWE-agent/SWE-agent/pull/703)
+* @MohammedNagdy made their first contribution in [#721](https://github.com/SWE-agent/SWE-agent/pull/721)
+* @pdemro made their first contribution in [#729](https://github.com/SWE-agent/SWE-agent/pull/729)
## 0.6.1 (2024-06-20)
-[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.6.0...v0.6.1)
+[All new commits](https://github.com/SWE-agent/SWE-agent/compare/v0.6.0...v0.6.1)
This is (mostly) a patch release, in particular fixing several issues that had been introduced by the speed improvements of v0.6.0.
We also solve a bug where existing linter errors in a file left SWE-agent unable to edit (because of our lint-retry-loop).
### Breaking changes
-* Change: sparse clone method is now correctly called "shallow" by [@klieret](https://github.com/klieret) in [#591]([#591](https://github.com/princeton-nlp/SWE-agent/pull/591))
+* Change: sparse clone method is now correctly called "shallow" by [@klieret](https://github.com/klieret) in [#591]([#591](https://github.com/SWE-agent/SWE-agent/pull/591))
### Improved
-* Enh: Show commands when encountering timeout error by [@klieret](https://github.com/klieret) in [#582]([#582](https://github.com/princeton-nlp/SWE-agent/pull/582))
-* Enh: Configuration option to show time in log by [@klieret](https://github.com/klieret) in [#583]([#583](https://github.com/princeton-nlp/SWE-agent/pull/583))
-* Enh: Allow to configure LONG_TIMEOUT for SWEEnv by [@klieret](https://github.com/klieret) in [#584]([#584](https://github.com/princeton-nlp/SWE-agent/pull/584))
-* Enh: Always write log to traj directory by [@klieret](https://github.com/klieret) in [#588]([#588](https://github.com/princeton-nlp/SWE-agent/pull/588))
+* Enh: Show commands when encountering timeout error by [@klieret](https://github.com/klieret) in [#582]([#582](https://github.com/SWE-agent/SWE-agent/pull/582))
+* Enh: Configuration option to show time in log by [@klieret](https://github.com/klieret) in [#583]([#583](https://github.com/SWE-agent/SWE-agent/pull/583))
+* Enh: Allow to configure LONG_TIMEOUT for SWEEnv by [@klieret](https://github.com/klieret) in [#584]([#584](https://github.com/SWE-agent/SWE-agent/pull/584))
+* Enh: Always write log to traj directory by [@klieret](https://github.com/klieret) in [#588]([#588](https://github.com/SWE-agent/SWE-agent/pull/588))
### Fixed
-* fix `docker.errors.NotFound` by [@klieret](https://github.com/klieret) in [#587]([#587](https://github.com/princeton-nlp/SWE-agent/pull/587))
-* Fix: Revert to full clone method when needed by [@klieret](https://github.com/klieret) in [#589]([#589](https://github.com/princeton-nlp/SWE-agent/pull/589))
-* Fix: Refresh container_obj before querying status by [@klieret](https://github.com/klieret) in [#590]([#590](https://github.com/princeton-nlp/SWE-agent/pull/590))
-* Fixed #571 - show message that model arg is ignored in case of using Azure OpenAI by [@jank](https://github.com/jank) in [#592]([#592](https://github.com/princeton-nlp/SWE-agent/pull/592))
-* Fix: Linting blocks for existing lint errors by [@klieret](https://github.com/klieret) in [#593]([#593](https://github.com/princeton-nlp/SWE-agent/pull/593))
-* Fix: Process done marker not found in read with timeout by [@klieret](https://github.com/klieret) in [#596]([#596](https://github.com/princeton-nlp/SWE-agent/pull/596))
+* fix `docker.errors.NotFound` by [@klieret](https://github.com/klieret) in [#587]([#587](https://github.com/SWE-agent/SWE-agent/pull/587))
+* Fix: Revert to full clone method when needed by [@klieret](https://github.com/klieret) in [#589]([#589](https://github.com/SWE-agent/SWE-agent/pull/589))
+* Fix: Refresh container_obj before querying status by [@klieret](https://github.com/klieret) in [#590]([#590](https://github.com/SWE-agent/SWE-agent/pull/590))
+* Fixed #571 - show message that model arg is ignored in case of using Azure OpenAI by [@jank](https://github.com/jank) in [#592]([#592](https://github.com/SWE-agent/SWE-agent/pull/592))
+* Fix: Linting blocks for existing lint errors by [@klieret](https://github.com/klieret) in [#593]([#593](https://github.com/SWE-agent/SWE-agent/pull/593))
+* Fix: Process done marker not found in read with timeout by [@klieret](https://github.com/klieret) in [#596]([#596](https://github.com/SWE-agent/SWE-agent/pull/596))
## 0.6.0 (2024-06-05)
-[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.5.0...v0.6.0)
+[All new commits](https://github.com/SWE-agent/SWE-agent/compare/v0.5.0...v0.6.0)
**We sped up SWE-agent by 2x** (timed with GPT4o). This is mostly due to faster communication with the running processes inside of the Docker container and other container setup & installation related improvements. Here are a few relevant PRs:
-* Switch to fast communicate and shallow clone by default by [@klieret](https://github.com/klieret) in [#530]([#530]([#530](https://github.com/princeton-nlp/SWE-agent/pull/530)))
-* Change: Only wait 1s for docker to start by [@klieret](https://github.com/klieret) in [#541]([#541]([#541](https://github.com/princeton-nlp/SWE-agent/pull/541)))
-* Feat: experimental shallow cloning by [@klieret](https://github.com/klieret) in [#498]([#498]([#498](https://github.com/princeton-nlp/SWE-agent/pull/498)))
-* Enh: Start from clone of python conda environment for speedup by [@klieret](https://github.com/klieret) in [#548]([#548]([#548](https://github.com/princeton-nlp/SWE-agent/pull/548)))
-* Enh: Use uv for editable install by default by [@klieret](https://github.com/klieret) in [#547]([#547]([#547](https://github.com/princeton-nlp/SWE-agent/pull/547)))
+* Switch to fast communicate and shallow clone by default by [@klieret](https://github.com/klieret) in [#530]([#530]([#530](https://github.com/SWE-agent/SWE-agent/pull/530)))
+* Change: Only wait 1s for docker to start by [@klieret](https://github.com/klieret) in [#541]([#541]([#541](https://github.com/SWE-agent/SWE-agent/pull/541)))
+* Feat: experimental shallow cloning by [@klieret](https://github.com/klieret) in [#498]([#498]([#498](https://github.com/SWE-agent/SWE-agent/pull/498)))
+* Enh: Start from clone of python conda environment for speedup by [@klieret](https://github.com/klieret) in [#548]([#548]([#548](https://github.com/SWE-agent/SWE-agent/pull/548)))
+* Enh: Use uv for editable install by default by [@klieret](https://github.com/klieret) in [#547]([#547]([#547](https://github.com/SWE-agent/SWE-agent/pull/547)))
### Improved
-* Improve scrolling behavior in web UI by [@anishfish2](https://github.com/anishfish2) in [#420]([#420]([#420](https://github.com/princeton-nlp/SWE-agent/pull/420)))
-* Web UI: Render Markdown in agent feed messages. by [@kwight](https://github.com/kwight) in [#486]([#486]([#486](https://github.com/princeton-nlp/SWE-agent/pull/486)))
-* Enh: Remove redundant 'saved traj to X' messages by [@klieret](https://github.com/klieret) in [#528]([#528]([#528](https://github.com/princeton-nlp/SWE-agent/pull/528)))
-* Allow to disable config dump to log by [@klieret](https://github.com/klieret) in [#537]([#537]([#537](https://github.com/princeton-nlp/SWE-agent/pull/537)))
-* Resolve relative paths to demonstrations and commands by [@klieret](https://github.com/klieret) in [#444]([#444]([#444](https://github.com/princeton-nlp/SWE-agent/pull/444)))
+* Improve scrolling behavior in web UI by [@anishfish2](https://github.com/anishfish2) in [#420]([#420]([#420](https://github.com/SWE-agent/SWE-agent/pull/420)))
+* Web UI: Render Markdown in agent feed messages. by [@kwight](https://github.com/kwight) in [#486]([#486]([#486](https://github.com/SWE-agent/SWE-agent/pull/486)))
+* Enh: Remove redundant 'saved traj to X' messages by [@klieret](https://github.com/klieret) in [#528]([#528]([#528](https://github.com/SWE-agent/SWE-agent/pull/528)))
+* Allow to disable config dump to log by [@klieret](https://github.com/klieret) in [#537]([#537]([#537](https://github.com/SWE-agent/SWE-agent/pull/537)))
+* Resolve relative paths to demonstrations and commands by [@klieret](https://github.com/klieret) in [#444]([#444]([#444](https://github.com/SWE-agent/SWE-agent/pull/444)))
### Fixed
-* Web UI: Remove -n option to wait by [@klieret](https://github.com/klieret) in [#487]([#487]([#487](https://github.com/princeton-nlp/SWE-agent/pull/487)))
-* Web UI: Kill the Flask server on exit. by [@kwight](https://github.com/kwight) in [#479]([#479]([#479](https://github.com/princeton-nlp/SWE-agent/pull/479)))
-* Web UI: Avoid proxy errors on MacOS by [@klieret](https://github.com/klieret) in [#506]([#506]([#506](https://github.com/princeton-nlp/SWE-agent/pull/506)))
-* Ensure container_name is reset for non-persistent containers by [@klieret](https://github.com/klieret) in [#463]([#463]([#463](https://github.com/princeton-nlp/SWE-agent/pull/463)))
-* Fix: Do not allow persistent container with cache task imgs by [@klieret](https://github.com/klieret) in [#551]([#551]([#551](https://github.com/princeton-nlp/SWE-agent/pull/551)))
+* Web UI: Remove -n option to wait by [@klieret](https://github.com/klieret) in [#487]([#487]([#487](https://github.com/SWE-agent/SWE-agent/pull/487)))
+* Web UI: Kill the Flask server on exit. by [@kwight](https://github.com/kwight) in [#479]([#479]([#479](https://github.com/SWE-agent/SWE-agent/pull/479)))
+* Web UI: Avoid proxy errors on MacOS by [@klieret](https://github.com/klieret) in [#506]([#506]([#506](https://github.com/SWE-agent/SWE-agent/pull/506)))
+* Ensure container_name is reset for non-persistent containers by [@klieret](https://github.com/klieret) in [#463]([#463]([#463](https://github.com/SWE-agent/SWE-agent/pull/463)))
+* Fix: Do not allow persistent container with cache task imgs by [@klieret](https://github.com/klieret) in [#551]([#551]([#551](https://github.com/SWE-agent/SWE-agent/pull/551)))
## 0.5.0 (2024-05-28)
-[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.4.0...v0.5.0)
+[All new commits](https://github.com/SWE-agent/SWE-agent/compare/v0.4.0...v0.5.0)
✨ The big news is our [brand new documentation](https://princeton-nlp.github.io/SWE-agent/) ✨
@@ -120,37 +120,37 @@ Secondly, @ollmer added a new flag `--cache_task_images` that will significantly
### Breaking changes
* We have reformatted our codebase. If you create a PR based on a previous commit, make sure you install our `pre-commit` hook to avoid merge-conflicts because of formatting. See [our docs](https://princeton-nlp.github.io/SWE-agent/dev/formatting_conflicts/) for more information.
-* Remove direct imports in `__init__.py` (you can no longer `from sweagent import Agent` by [@klieret](https://github.com/klieret) in [#436]([#436]([#436](https://github.com/princeton-nlp/SWE-agent/pull/436)))
+* Remove direct imports in `__init__.py` (you can no longer `from sweagent import Agent` by [@klieret](https://github.com/klieret) in [#436]([#436]([#436](https://github.com/SWE-agent/SWE-agent/pull/436)))
### Added
* Running the web UI is now supported when running swe-agent completely in docker
-* Speed up evaluation by caching task environments as docker images by [@ollmer](https://github.com/ollmer) in [#317]([#317]([#317](https://github.com/princeton-nlp/SWE-agent/pull/317)))
+* Speed up evaluation by caching task environments as docker images by [@ollmer](https://github.com/ollmer) in [#317]([#317]([#317](https://github.com/SWE-agent/SWE-agent/pull/317)))
### Improved
-* Add gpt-4o model by [@raymyers](https://github.com/raymyers) in [#344]([#344]([#344](https://github.com/princeton-nlp/SWE-agent/pull/344)))
-* Web: Allow to specify commit hash by [@klieret](https://github.com/klieret) in [#358]([#358]([#358](https://github.com/princeton-nlp/SWE-agent/pull/358)))
-* Add default environment_setup config by [@klieret](https://github.com/klieret) in [#351]([#351]([#351](https://github.com/princeton-nlp/SWE-agent/pull/351)))
-* Enh: Suppress openai logging; improve formatting of stats by [@klieret](https://github.com/klieret) in [#416]([#416]([#416](https://github.com/princeton-nlp/SWE-agent/pull/416)))
-* Remove signal dependency by [@klieret](https://github.com/klieret) in [#428]([#428]([#428](https://github.com/princeton-nlp/SWE-agent/pull/428)))
-* Do not use select if running on Windows by [@klieret](https://github.com/klieret) in [#429]([#429]([#429](https://github.com/princeton-nlp/SWE-agent/pull/429)))
-* Use custom Config class to support env and keys.cfg (this allows passing keys as environment variables) by [@klieret](https://github.com/klieret) in [#430]([#430]([#430](https://github.com/princeton-nlp/SWE-agent/pull/430)))
+* Add gpt-4o model by [@raymyers](https://github.com/raymyers) in [#344]([#344]([#344](https://github.com/SWE-agent/SWE-agent/pull/344)))
+* Web: Allow to specify commit hash by [@klieret](https://github.com/klieret) in [#358]([#358]([#358](https://github.com/SWE-agent/SWE-agent/pull/358)))
+* Add default environment_setup config by [@klieret](https://github.com/klieret) in [#351]([#351]([#351](https://github.com/SWE-agent/SWE-agent/pull/351)))
+* Enh: Suppress openai logging; improve formatting of stats by [@klieret](https://github.com/klieret) in [#416]([#416]([#416](https://github.com/SWE-agent/SWE-agent/pull/416)))
+* Remove signal dependency by [@klieret](https://github.com/klieret) in [#428]([#428]([#428](https://github.com/SWE-agent/SWE-agent/pull/428)))
+* Do not use select if running on Windows by [@klieret](https://github.com/klieret) in [#429]([#429]([#429](https://github.com/SWE-agent/SWE-agent/pull/429)))
+* Use custom Config class to support env and keys.cfg (this allows passing keys as environment variables) by [@klieret](https://github.com/klieret) in [#430]([#430]([#430](https://github.com/SWE-agent/SWE-agent/pull/430)))
### Fixed
-* Web: Fix script_path input by [@klieret](https://github.com/klieret) in [#334]([#334]([#334](https://github.com/princeton-nlp/SWE-agent/pull/334)))
-* Fix: Don't print patch msg for exit_cost patch by [@klieret](https://github.com/klieret) in [#343]([#343]([#343](https://github.com/princeton-nlp/SWE-agent/pull/343)))
-* Fix: Do not request job control in bash by [@klieret](https://github.com/klieret) in [#345]([#345]([#345](https://github.com/princeton-nlp/SWE-agent/pull/345)))
-* Fix: --base_commit not used for gh urls by [@klieret](https://github.com/klieret) in [#346]([#346]([#346](https://github.com/princeton-nlp/SWE-agent/pull/346)))
-* Fix: Separate data path/traj dir cause exception by [@klieret](https://github.com/klieret) in [#348]([#348]([#348](https://github.com/princeton-nlp/SWE-agent/pull/348)))
-* Add docker-py lower bound by [@klieret](https://github.com/klieret) in [#406]([#406]([#406](https://github.com/princeton-nlp/SWE-agent/pull/406)))
-* Fix: IndexError when replaying incomplete trajectories by [@klieret](https://github.com/klieret) in [#410]([#410]([#410](https://github.com/princeton-nlp/SWE-agent/pull/410)))
+* Web: Fix script_path input by [@klieret](https://github.com/klieret) in [#334]([#334]([#334](https://github.com/SWE-agent/SWE-agent/pull/334)))
+* Fix: Don't print patch msg for exit_cost patch by [@klieret](https://github.com/klieret) in [#343]([#343]([#343](https://github.com/SWE-agent/SWE-agent/pull/343)))
+* Fix: Do not request job control in bash by [@klieret](https://github.com/klieret) in [#345]([#345]([#345](https://github.com/SWE-agent/SWE-agent/pull/345)))
+* Fix: --base_commit not used for gh urls by [@klieret](https://github.com/klieret) in [#346]([#346]([#346](https://github.com/SWE-agent/SWE-agent/pull/346)))
+* Fix: Separate data path/traj dir cause exception by [@klieret](https://github.com/klieret) in [#348]([#348]([#348](https://github.com/SWE-agent/SWE-agent/pull/348)))
+* Add docker-py lower bound by [@klieret](https://github.com/klieret) in [#406]([#406]([#406](https://github.com/SWE-agent/SWE-agent/pull/406)))
+* Fix: IndexError when replaying incomplete trajectories by [@klieret](https://github.com/klieret) in [#410]([#410]([#410](https://github.com/SWE-agent/SWE-agent/pull/410)))
## 0.4.0 (2024-05-09)
-[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.3.0...v0.4.0)
+[All new commits](https://github.com/SWE-agent/SWE-agent/compare/v0.3.0...v0.4.0)
### Added
@@ -161,35 +161,35 @@ We’re excited to launch the SWE-agent web UI! Specify a bug, press start and w
### Added
* Run SWE-agent in the cloud using GitHub Codespaces
-* Add GPT4-turbo model by [@zgrannan](https://github.com/zgrannan) in [#252]([#252]([#252](https://github.com/princeton-nlp/SWE-agent/pull/252)))
-* feat: Amazon Bedrock support (Claude models) by [@JGalego](https://github.com/JGalego) in [#207]([#207]([#207](https://github.com/princeton-nlp/SWE-agent/pull/207)))
+* Add GPT4-turbo model by [@zgrannan](https://github.com/zgrannan) in [#252]([#252]([#252](https://github.com/SWE-agent/SWE-agent/pull/252)))
+* feat: Amazon Bedrock support (Claude models) by [@JGalego](https://github.com/JGalego) in [#207]([#207]([#207](https://github.com/SWE-agent/SWE-agent/pull/207)))
### Fixed
-* Better error handling for --open_pr by [@klieret](https://github.com/klieret) in [#239]([#239]([#239](https://github.com/princeton-nlp/SWE-agent/pull/239)))
-* Fixed a potential error by [@DanjieTang](https://github.com/DanjieTang) in [#242]([#242]([#242](https://github.com/princeton-nlp/SWE-agent/pull/242)))
-* fix: TARGETARCH not set on some OS/docker setups by [@mspronesti](https://github.com/mspronesti) in [#249]([#249]([#249](https://github.com/princeton-nlp/SWE-agent/pull/249)))
-* Pass Python version to get_environment_yml by [@waterson](https://github.com/waterson) in [#271]([#271]([#271](https://github.com/princeton-nlp/SWE-agent/pull/271)))
-* Fix Together model validation error by [@mikanfactory](https://github.com/mikanfactory) in [#236]([#236]([#236](https://github.com/princeton-nlp/SWE-agent/pull/236)))
-* Doc: Avoid invalid github token by [@klieret](https://github.com/klieret) in [#292]([#292]([#292](https://github.com/princeton-nlp/SWE-agent/pull/292)))
+* Better error handling for --open_pr by [@klieret](https://github.com/klieret) in [#239]([#239]([#239](https://github.com/SWE-agent/SWE-agent/pull/239)))
+* Fixed a potential error by [@DanjieTang](https://github.com/DanjieTang) in [#242]([#242]([#242](https://github.com/SWE-agent/SWE-agent/pull/242)))
+* fix: TARGETARCH not set on some OS/docker setups by [@mspronesti](https://github.com/mspronesti) in [#249]([#249]([#249](https://github.com/SWE-agent/SWE-agent/pull/249)))
+* Pass Python version to get_environment_yml by [@waterson](https://github.com/waterson) in [#271]([#271]([#271](https://github.com/SWE-agent/SWE-agent/pull/271)))
+* Fix Together model validation error by [@mikanfactory](https://github.com/mikanfactory) in [#236]([#236]([#236](https://github.com/SWE-agent/SWE-agent/pull/236)))
+* Doc: Avoid invalid github token by [@klieret](https://github.com/klieret) in [#292]([#292]([#292](https://github.com/SWE-agent/SWE-agent/pull/292)))
## 0.2.0 (2024-04-15)
-[All new commits](https://github.com/princeton-nlp/SWE-agent/compare/v0.1.2...v0.2.0)
+[All new commits](https://github.com/SWE-agent/SWE-agent/compare/v0.1.2...v0.2.0)
### Added
-* Allow to run on local repos (new flag: `--repo_path`) in [#193]([#193]([#193](https://github.com/princeton-nlp/SWE-agent/pull/193)))
-* Patch files are now saved separately to a patch directory in [#126]([#126]([#126](https://github.com/princeton-nlp/SWE-agent/pull/126)))
-* Allow to supply custom installation commands when running on gh issues or locally (`--environment_setup`) in [#153]([#153]([#153](https://github.com/princeton-nlp/SWE-agent/pull/153)))
-* Allow to specify openapi base url in `keys.cfg` in [#118]([#118]([#118](https://github.com/princeton-nlp/SWE-agent/pull/118)))
+* Allow to run on local repos (new flag: `--repo_path`) in [#193]([#193]([#193](https://github.com/SWE-agent/SWE-agent/pull/193)))
+* Patch files are now saved separately to a patch directory in [#126]([#126]([#126](https://github.com/SWE-agent/SWE-agent/pull/126)))
+* Allow to supply custom installation commands when running on gh issues or locally (`--environment_setup`) in [#153]([#153]([#153](https://github.com/SWE-agent/SWE-agent/pull/153)))
+* Allow to specify openapi base url in `keys.cfg` in [#118]([#118]([#118](https://github.com/SWE-agent/SWE-agent/pull/118)))
### Improved
-* Improve error handling of docker issues in [#165]([#165]([#165](https://github.com/princeton-nlp/SWE-agent/pull/165)))
-* Make github token fully optional in [#189]([#189]([#189](https://github.com/princeton-nlp/SWE-agent/pull/189)))
+* Improve error handling of docker issues in [#165]([#165]([#165](https://github.com/SWE-agent/SWE-agent/pull/165)))
+* Make github token fully optional in [#189]([#189]([#189](https://github.com/SWE-agent/SWE-agent/pull/189)))
### Fixed
-* Fix opening PR from fork in [#229]([#229]([#229](https://github.com/princeton-nlp/SWE-agent/pull/229)))
-* Fix: Choosing TogetherAI models in [#130]([#130]([#130](https://github.com/princeton-nlp/SWE-agent/pull/130)))
+* Fix opening PR from fork in [#229]([#229]([#229](https://github.com/SWE-agent/SWE-agent/pull/229)))
+* Fix: Choosing TogetherAI models in [#130]([#130]([#130](https://github.com/SWE-agent/SWE-agent/pull/130)))
diff --git a/docs/dev/contribute.md b/docs/dev/contribute.md
index 173f5f3f..835d7eb1 100644
--- a/docs/dev/contribute.md
+++ b/docs/dev/contribute.md
@@ -88,11 +88,11 @@ If you are using VSCode, you might want to add the following two files:
* When changing the behavior of the agent, we need to have some indication that it actually improves the success rate of SWE-agent.
However, if you make the behavior optional without complicating SWE-agent (for example by providing new [commands](../config/commands.md)),
we might be less strict.
-* Please add simple unit tests or integration tests wherever possible. Take a look in the [tests directory](https://github.com/princeton-nlp/SWE-agent/tree/main/tests)
+* Please add simple unit tests or integration tests wherever possible. Take a look in the [tests directory](https://github.com/SWE-agent/SWE-agent/tree/main/tests)
for inspiration. We emphasize simple easy-tow-rite tests that get a lot of coverage.
-[gfi]: https://github.com/princeton-nlp/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%91%8B+good+first+issue%22+
-[help_wanted]: https://github.com/princeton-nlp/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%99%8F+help+wanted%22
+[gfi]: https://github.com/SWE-agent/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%91%8B+good+first+issue%22+
+[help_wanted]: https://github.com/SWE-agent/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%99%8F+help+wanted%22
## Building the documentation <a name="mkdocs"></a>
diff --git a/docs/dev/formatting_conflicts.md b/docs/dev/formatting_conflicts.md
index 94515c96..9f25e346 100644
--- a/docs/dev/formatting_conflicts.md
+++ b/docs/dev/formatting_conflicts.md
@@ -7,7 +7,7 @@ To solve this, you need to apply the same formatting to your code. Here's how yo
First let's add the official remote (if it exists, you've probably already added it and you can ignore the warning).
```bash
-git remote add upstream https://github.com/princeton-nlp/SWE-agent.git
+git remote add upstream https://github.com/SWE-agent/SWE-agent.git
git fetch upstream
```
diff --git a/docs/installation/codespaces.md b/docs/installation/codespaces.md
index 919ccb1c..40923e95 100644
--- a/docs/installation/codespaces.md
+++ b/docs/installation/codespaces.md
@@ -3,7 +3,7 @@
Running SWE-agent in your browser is the easiest way to try out our project.
<video controls>
-<source src=" https://github.com/princeton-nlp/SWE-agent/assets/13602468/44d60674-59ca-4986-9b22-7052a45cbed9" type="video/mp4">
+<source src=" https://github.com/SWE-agent/SWE-agent/assets/13602468/44d60674-59ca-4986-9b22-7052a45cbed9" type="video/mp4">
</video>
1. Click [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/princeton-nlp/SWE-agent)
diff --git a/docs/installation/keys.md b/docs/installation/keys.md
index 4e6cc75b..bf14831b 100644
--- a/docs/installation/keys.md
+++ b/docs/installation/keys.md
@@ -33,5 +33,5 @@ We also provide models for testing SWE-agent without spending any credits
* If you get `Error code: 404`, please check your configured keys, in particular
whether you set `OPENAI_API_BASE_URL` correctly (if you're not using it, the
line should be deleted or commented out).
- Also see [this issue](https://github.com/princeton-nlp/SWE-agent/issues/467)
+ Also see [this issue](https://github.com/SWE-agent/SWE-agent/issues/467)
for reference.
\ No newline at end of file
diff --git a/docs/installation/source.md b/docs/installation/source.md
index e3f55219..f3f50bcf 100644
--- a/docs/installation/source.md
+++ b/docs/installation/source.md
@@ -4,7 +4,7 @@ Installation from source is the preferred way to set up SWE-agent on your machin
1. Clone the repository, for example with
```bash
- git clone https://github.com/princeton-nlp/SWE-agent.git
+ git clone https://github.com/SWE-agent/SWE-agent.git
```
2. Run
```
diff --git a/docs/installation/tips.md b/docs/installation/tips.md
index b25bd1ad..10dffba4 100644
--- a/docs/installation/tips.md
+++ b/docs/installation/tips.md
@@ -17,10 +17,10 @@ Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock:
* Make sure that you allow the use of the Docker socket. In Docker desktop, click *Settings* > *Advanced* > *Allow the default Docker socket to be used (requires password)*.
* On the command line, you can try `sudo chmod 666 /var/run/docker.sock` or add your user to the `docker` linux user group
-* If your docker installation uses a different socket, you might have to symlink them, see [this command for example](https://github.com/princeton-nlp/SWE-agent/issues/20#issuecomment-2047506005)
+* If your docker installation uses a different socket, you might have to symlink them, see [this command for example](https://github.com/SWE-agent/SWE-agent/issues/20#issuecomment-2047506005)
If you are using any containers from dockerhub (i.e., you ran `docker pull ...` or you are running `docker run ...`), please make sure that you are using the latest
versions. Just because an image has the `latest` tag (e.g., `sweagent/swe-agent-run:latest`) does not mean that it will auto-update. Please run
`docker pull sweagent/swe-agent-run:latest` to make sure you actually have the most recent version!
-Any remaining issues? Please [open a GitHub issue](https://github.com/princeton-nlp/SWE-agent/issues/new/choose)!
+Any remaining issues? Please [open a GitHub issue](https://github.com/SWE-agent/SWE-agent/issues/new/choose)!
diff --git a/docs/reference/agent_config.md b/docs/reference/agent_config.md
index 87bfc83c..c33eb73d 100644
--- a/docs/reference/agent_config.md
+++ b/docs/reference/agent_config.md
@@ -3,7 +3,7 @@
This page documents the configuration objects used to specify the behavior of an agent.
To learn about the agent class itself, see the [agent class reference page](agent.md).
-It might be easiest to simply look at some of our example configurations in the [config dir](https://github.com/princeton-nlp/SWE-agent/tree/main/config).
+It might be easiest to simply look at some of our example configurations in the [config dir](https://github.com/SWE-agent/SWE-agent/tree/main/config).
<details>
<summary>Example: default config <code>default.yaml</code></summary>
diff --git a/docs/usage/trajectories.md b/docs/usage/trajectories.md
index dadc8d37..6f6369d4 100644
--- a/docs/usage/trajectories.md
+++ b/docs/usage/trajectories.md
@@ -1,6 +1,6 @@
# Output files
-The [`trajectories/`](https://github.com/princeton-nlp/SWE-agent/tree/main/trajectories) folder is the default location that experiment results (for example invocations of [`sweagent run`](cl_tutorial.md)) will be written to.
+The [`trajectories/`](https://github.com/SWE-agent/SWE-agent/tree/main/trajectories) folder is the default location that experiment results (for example invocations of [`sweagent run`](cl_tutorial.md)) will be written to.
## Trajectories
diff --git a/mkdocs.yml b/mkdocs.yml
index 55d53524..d667c4f1 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -138,7 +138,7 @@ plugins:
- "!^_"
- "!^model_config"
- "!^model_post_init"
-repo_url: https://github.com/princeton-nlp/SWE-agent
+repo_url: https://github.com/SWE-agent/SWE-agent
repo_name: princeton-nlp/SWE-agent
edit_uri: edit/main/docs/
extra_css:
diff --git a/sweagent/__init__.py b/sweagent/__init__.py
index d2e3225a..d557167c 100644
--- a/sweagent/__init__.py
+++ b/sweagent/__init__.py
@@ -16,7 +16,7 @@ from sweagent.utils.log import get_logger
# Monkey patch the logger to use our implementation
log_swerex.get_logger = partial(get_logger, emoji="🦖")
-# See https://github.com/princeton-nlp/SWE-agent/issues/585
+# See https://github.com/SWE-agent/SWE-agent/issues/585
getLogger("datasets").setLevel(WARNING)
getLogger("numexpr.utils").setLevel(WARNING)
getLogger("LiteLLM").setLevel(WARNING)
diff --git a/sweagent/frontend/src/Run.js b/sweagent/frontend/src/Run.js
index 4b815bc5..f06605fa 100644
--- a/sweagent/frontend/src/Run.js
+++ b/sweagent/frontend/src/Run.js
@@ -291,7 +291,7 @@ function Run() {
<br />
If you think this was a bug, please head over to{" "}
<a
- href="https://github.com/princeton-nlp/swe-agent/issues"
+ href="https://github.com/SWE-agent/SWE-agent/issues"
target="blank"
>
our GitHub issue tracker
diff --git a/sweagent/frontend/src/components/Header.js b/sweagent/frontend/src/components/Header.js
index 55651c6e..2175f387 100644
--- a/sweagent/frontend/src/components/Header.js
+++ b/sweagent/frontend/src/components/Header.js
@@ -8,7 +8,7 @@ const Header = () => {
<>
<header>
<Link
- to="https://github.com/princeton-nlp/swe-agent"
+ to="https://github.com/SWE-agent/SWE-agent"
target="_blank"
rel="noopener noreferrer"
>
diff --git a/sweagent/frontend/src/components/controls/LRunControl.js b/sweagent/frontend/src/components/controls/LRunControl.js
index fd3d7318..c7b6d266 100644
--- a/sweagent/frontend/src/components/controls/LRunControl.js
+++ b/sweagent/frontend/src/components/controls/LRunControl.js
@@ -262,7 +262,7 @@ function LRunControl({
<div className="extraButtons">
<div className="btn-group" role="group" aria-label="Basic example">
<Link
- to="https://github.com/princeton-nlp/SWE-agent"
+ to="https://github.com/SWE-agent/SWE-agent"
target="_blank"
rel="noopener noreferrer"
>
diff --git a/sweagent/inspector/README.md b/sweagent/inspector/README.md
index 7c087c73..f3d1225a 100644
--- a/sweagent/inspector/README.md
+++ b/sweagent/inspector/README.md
@@ -3,4 +3,4 @@
You can also find the corresponding markdown files in the [`docs/` folder][source].
[docs]: https://princeton-nlp.github.io/SWE-agent/usage/inspector/
-[source]: https://github.com/princeton-nlp/SWE-agent/tree/main/docs
+[source]: https://github.com/SWE-agent/SWE-agent/tree/main/docs
diff --git a/sweagent/run/hooks/open_pr.py b/sweagent/run/hooks/open_pr.py
index a901e966..eb64d3a9 100644
--- a/sweagent/run/hooks/open_pr.py
+++ b/sweagent/run/hooks/open_pr.py
@@ -86,7 +86,7 @@ from sweagent.utils.log import get_logger
# timeout_duration=10,
# )
# body = (
-# f"This is a PR opened by AI tool [SWE Agent](https://github.com/princeton-nlp/SWE-agent/) "
+# f"This is a PR opened by AI tool [SWE Agent](https://github.com/SWE-agent/SWE-agent/) "
# f"to close [#{issue.number}]({issue_url}) ({issue.title}).\n\nCloses #{issue.number}."
# )
# body += "\n\n" + format_trajectory_markdown(trajectory)
diff --git a/tests/test_env_utils.py b/tests/test_env_utils.py
index 53cff369..a11df657 100644
--- a/tests/test_env_utils.py
+++ b/tests/test_env_utils.py
@@ -27,18 +27,18 @@ def test_remove_triple_backticks():
def test_is_github_repo_url():
- assert _is_github_repo_url("https://github.com/princeton-nlp/SWE-agent")
- assert _is_github_repo_url("https://github.com/princeton-nlp/SWE-agent/anything")
+ assert _is_github_repo_url("https://github.com/SWE-agent/SWE-agent")
+ assert _is_github_repo_url("https://github.com/SWE-agent/SWE-agent/anything")
assert _is_github_repo_url("github.com/princeton-nlp/SWE-agent/anything")
assert not _is_github_repo_url("")
assert not _is_github_repo_url("/path/to/file")
def test_parse_gh_repo_url():
- assert _parse_gh_repo_url("https://github.com/princeton-nlp/SWE-agent") == ("princeton-nlp", "SWE-agent")
- assert _parse_gh_repo_url("github.com/princeton-nlp/SWE-agent") == ("princeton-nlp", "SWE-agent")
- assert _parse_gh_repo_url("github.com/princeton-nlp/SWE-agent/asdfjsdfg") == ("princeton-nlp", "SWE-agent")
- assert _parse_gh_repo_url("[email protected]/princeton-nlp/SWE-agent/asdfjsdfg") == ("princeton-nlp", "SWE-agent")
+ assert _parse_gh_repo_url("https://github.com/SWE-agent/SWE-agent") == ("SWE-agent", "SWE-agent")
+ assert _parse_gh_repo_url("github.com/SWE-agent/SWE-agent") == ("SWE-agent", "SWE-agent")
+ assert _parse_gh_repo_url("github.com/SWE-agent/SWE-agent/asdfjsdfg") == ("SWE-agent", "SWE-agent")
+ assert _parse_gh_repo_url("[email protected]/SWE-agent/SWE-agent/asdfjsdfg") == ("SWE-agent", "SWE-agent")
def test_parse_gh_repo_url_fails():
@@ -51,9 +51,9 @@ def test_parse_gh_repo_url_fails():
def test_parse_gh_issue_url():
- url = "https://github.com/princeton-nlp/SWE-agent/issues/43"
+ url = "https://github.com/SWE-agent/SWE-agent/issues/43"
owner, repo, no = _parse_gh_issue_url(url)
- assert owner == "princeton-nlp"
+ assert owner == "SWE-agent"
assert repo == "SWE-agent"
assert no == "43"
@@ -67,7 +67,7 @@ def test_parse_gh_issue_url_fails():
def test_is_from_github_url():
assert not _is_github_issue_url("")
- assert _is_github_issue_url("https://github.com/princeton-nlp/SWE-agent/issues/43")
+ assert _is_github_issue_url("https://github.com/SWE-agent/SWE-agent/issues/43")
def test_get_associated_commit_urls():