From 68f81176aaaf38a8d3a12339d92b2fc2ae23ff92 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Wed, 30 Jul 2025 10:13:39 -0700 Subject: [PATCH] fix: Include prompt to avoid mentioning issue in PR description (#601) --- apps/open-swe/src/graphs/programmer/nodes/open-pr.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/open-swe/src/graphs/programmer/nodes/open-pr.ts b/apps/open-swe/src/graphs/programmer/nodes/open-pr.ts index 5cd80fb6..ec198f19 100644 --- a/apps/open-swe/src/graphs/programmer/nodes/open-pr.ts +++ b/apps/open-swe/src/graphs/programmer/nodes/open-pr.ts @@ -58,6 +58,8 @@ Here are all of the tasks you completed: {CUSTOM_RULES} +You should not include any mention of an issue to close, unless explicitly requested by the user. The body will automatically include a mention of the issue to close. + With all of this in mind, please use the \`open_pr\` tool to open a pull request.`; const formatCustomRulesPrompt = (pullRequestFormatting: string): string => {