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

Function mergeSystemPrompts

projects/openade-module/src/node.ts:786–789  ·  view source on GitHub ↗
(...prompts: Array<string | undefined>)

Source from the content-addressed store, hash-verified

784}
785
786function mergeSystemPrompts(...prompts: Array<string | undefined>): string | undefined {
787 const merged = prompts.filter((prompt): prompt is string => typeof prompt === "string" && prompt.trim().length > 0).join("\n\n")
788 return merged.length > 0 ? merged : undefined
789}
790
791async function runHeadlessHyperPlanTurn({
792 server,

Callers 1

runHeadlessHyperPlanStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected