This commit is contained in:
Colin McDonnell
2025-12-17 12:59:43 -08:00
parent 2c92e27b4d
commit bd932e7696
3 changed files with 4 additions and 13 deletions
+2 -6
View File
@@ -95115,7 +95115,7 @@ function buildPullfrogFooter(params) {
if (params.workflowRun) {
const baseUrl = `https://github.com/${params.workflowRun.owner}/${params.workflowRun.repo}/actions/runs/${params.workflowRun.runId}`;
const url2 = params.workflowRun.jobId ? `${baseUrl}/job/${params.workflowRun.jobId}` : baseUrl;
parts.push(`[workflow run](${url2})`);
parts.push(`[View workflow run](${url2})`);
}
const allParts = [
...parts,
@@ -126020,11 +126020,7 @@ async function validateApiKey(ctx) {
}
async function runAgent(ctx) {
log.info(`\xBB running ${ctx.agentName}...`);
const { context: _context, ...eventWithoutContext } = ctx.payload.event;
const promptContent = `${ctx.payload.prompt}
${encode(eventWithoutContext)}`;
log.box(promptContent, { title: "Prompt" });
log.box(ctx.payload.prompt.trim(), { title: "Prompt" });
return ctx.agent.run({
payload: ctx.payload,
mcpServers: ctx.mcpServers,