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]
CI: Use GITHUB_TOKEN from keys.cfg (#751)
Kilian Liereta1b6d98c9ebc
diff --git a/tests/test_env_utils.py b/tests/test_env_utils.pyindex 0dbfc009..68446193 100644--- a/tests/test_env_utils.py+++ b/tests/test_env_utils.py@@ -17,8 +17,9 @@ from sweagent.environment.utils import (parse_gh_repo_url,remove_triple_backticks,)+from sweagent.utils.config import keys_config-_TOKEN = {"token": os.environ.get("GITHUB_TOKEN", "")}+_TOKEN = {"token": keys_config["GITHUB_TOKEN"]}def test_format_trajectory_markdown(test_trajectory):