add getIssue utility and use actual issue metadata in trigger page, fix getPullRequest caching and user prompt quoting

This commit is contained in:
Colin McDonnell
2026-01-19 16:09:18 +00:00
committed by pullfrog[bot]
parent 983ef8aba8
commit 26ced25a8f
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -82,7 +82,9 @@ export function resolveInstructions(ctx: InstructionsContext): ResolvedInstructi
const runtime = buildRuntimeContext(ctx);
const user = ctx.payload.prompt
const user = ctx.payload.prompt;
const userQuoted = user
.split("\n")
.map((line) => `> ${line}`)
.join("\n");
@@ -166,7 +168,7 @@ ${system}
************* USER PROMPT *************
${user}
${userQuoted}
************* EVENT DATA *************