From f5a096cc3ade5d4393f76d4c9eff0998ef96c108 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Thu, 17 Jul 2025 13:58:18 -0700 Subject: [PATCH] fix: Use proper issue number instead of ID (#446) --- apps/open-swe/src/graphs/manager/nodes/create-new-session.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/open-swe/src/graphs/manager/nodes/create-new-session.ts b/apps/open-swe/src/graphs/manager/nodes/create-new-session.ts index a9679b7b..560627a4 100644 --- a/apps/open-swe/src/graphs/manager/nodes/create-new-session.ts +++ b/apps/open-swe/src/graphs/manager/nodes/create-new-session.ts @@ -58,7 +58,7 @@ ${ISSUE_CONTENT_OPEN_TAG} ${titleAndContent.body} ${ISSUE_CONTENT_CLOSE_TAG}`, additional_kwargs: { - githubIssueId: newIssue.id, + githubIssueId: newIssue.number, isOriginalIssue: true, }, }), @@ -75,7 +75,7 @@ ${ISSUE_CONTENT_CLOSE_TAG}`, const newManagerThreadId = uuidv4(); const commandUpdate: ManagerGraphUpdate = { - githubIssueId: newIssue.id, + githubIssueId: newIssue.number, targetRepository: state.targetRepository, messages: inputMessages, branchName: state.branchName ?? getBranchName(config),