Tweaks
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user