Skip to content

Commit 16a178a

Browse files
committed
Address feedback
1 parent 0ba37dc commit 16a178a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/scripts/javascript/process-input.cjs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,9 @@ function buildPrompts(mode, issueId, isPullRequest, command, branchName, inputs)
9393
: 'The issue id is:';
9494
prompt += `${issueId}\n`;
9595

96-
// If there's substantial user feedback beyond just the command keyword, include it as the main instruction
97-
// Otherwise, use the default "review and continue" for initial triggers
98-
if (userFeedback && userFeedback.length > 0) {
99-
prompt += userFeedback;
100-
} else {
101-
prompt += 'review and continue';
102-
}
96+
// If there's any user feedback beyond the command keyword, include it as the main instruction,
97+
// otherwise default to "review and continue"
98+
prompt += userFeedback || 'review and continue';
10399

104100
return { sessionId, systemPrompt, prompt };
105101
}

0 commit comments

Comments
 (0)