open-swe/agent/tools
langsmith-forge[bot] 0464126c83
fix: warn against using http_request for GitHub PR creation (#1203)
* fix: warn against using http_request for GitHub PR creation

- Root cause: http_request tool description and system prompt lacked explicit guidance not to use it for GitHub PR operations, causing the agent to fall back to it and receive 401 Unauthorized responses
- Change: added clear warnings to both the http_request docstring and the TOOL_USAGE_SECTION in prompt.py directing agents to use commit_and_open_pr instead
- Verified: docstring and prompt changes are minimal and scoped

* fix: clarify http_request PR guidance

---------

Co-authored-by: LangSmith Forge <forge-agent@langsmith.ai>
Co-authored-by: Johannes du Plessis <johannes@langchain.dev>
2026-05-01 14:14:44 -07:00
..
__init__.py feat: add github CI check run tools for shepherding CI (#1121) 2026-05-01 12:19:04 -07:00
commit_and_open_pr.py fix: return actionable error when push fails with workflows scope error (#1153) 2026-05-01 13:09:54 -07:00
fetch_url.py fix: Shell injection and ssrf issues (#1155) 2026-04-01 12:37:35 -07:00
get_branch_name.py feat: stop auto-cloning and let agent manage repo setup [closes OPE-21] (#1159) 2026-04-10 17:04:55 -07:00
get_pr_review_comments.py fix: add get_pr_review_comments tool to fetch PR review comments with auth (#1043) 2026-04-30 17:01:13 -07:00
github_ci.py feat: add github CI check run tools for shepherding CI (#1121) 2026-05-01 12:19:04 -07:00
github_comment.py feat: add GitHub PR comment trigger and reply support [closes OPE-1] (#1014) 2026-03-09 17:14:13 -07:00
github_review.py fix: block open-swe from approving PRs (#1177) 2026-04-09 11:45:08 -07:00
http_request.py fix: warn against using http_request for GitHub PR creation (#1203) 2026-05-01 14:14:44 -07:00
linear_comment.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
linear_create_issue.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
linear_delete_issue.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
linear_get_issue.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
linear_get_issue_comments.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
linear_list_teams.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
linear_update_issue.py feat: add linear tools for listing teams, get/create/update/delete issues, and get issue comments (#1105) 2026-03-23 14:32:44 -07:00
list_repos.py feat: stop auto-cloning and let agent manage repo setup [closes OPE-21] (#1159) 2026-04-10 17:04:55 -07:00
slack_read_thread_messages.py feat: give agent ability to read cross-posted Slack message links [closes OPE-37] (#1200) 2026-04-29 17:42:27 -07:00
slack_thread_reply.py fix: convert @Name(USER_ID) mentions to Slack's <@USER_ID> format in thread replies (#1126) 2026-03-25 11:51:11 -07:00
web_search.py fix: add Exa web search tool [closes: OPE-29] (#1133) 2026-03-25 16:24:31 -07:00