MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / buildOpenADEReviseStepPrompt

Function buildOpenADEReviseStepPrompt

projects/openade-module/src/hyperplan.ts:363–372  ·  view source on GitHub ↗
(reviewText: string, reviewerStepId: string)

Source from the content-addressed store, hash-verified

361}
362
363export function buildOpenADEReviseStepPrompt(reviewText: string, reviewerStepId: string): { systemPrompt: string; userMessage: string } {
364 return {
365 systemPrompt: REVISE_APPEND_SYSTEM_PROMPT,
366 userMessage: `I asked an independent reviewer to evaluate your plan. Here is their feedback:
367<peer_review from="${reviewerStepId}">
368${reviewText}
369</peer_review>
370Please produce a revised plan incorporating the feedback you agree with.`,
371 }
372}
373
374export function buildOpenADEReconcileStepPrompt(
375 taskDescription: string,

Callers 2

runHeadlessHyperPlanStepFunction · 0.90
runHyperPlanStepFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected