fix: Use proper issue number instead of ID (#446)

This commit is contained in:
Brace Sproul 2025-07-17 13:58:18 -07:00 • committed by GitHub
parent f5513dd036
commit f5a096cc3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),