( runtime?: PromptRuntime | null, config?: PlannotatorConfig, vars?: FeedbackVars, )
| 171 | }; |
| 172 | |
| 173 | export function getPlanApprovedWithNotesPrompt( |
| 174 | runtime?: PromptRuntime | null, |
| 175 | config?: PlannotatorConfig, |
| 176 | vars?: FeedbackVars, |
| 177 | ): string { |
| 178 | const template = getConfiguredPrompt({ |
| 179 | section: "plan", |
| 180 | key: "approvedWithNotes", |
| 181 | runtime, |
| 182 | config, |
| 183 | fallback: DEFAULT_PLAN_APPROVED_WITH_NOTES_PROMPT, |
| 184 | runtimeFallbacks: PLAN_APPROVED_WITH_NOTES_RUNTIME_DEFAULTS, |
| 185 | }); |
| 186 | return resolveTemplate(template, { proceedSuffix: "", ...vars }); |
| 187 | } |
| 188 | |
| 189 | export function getPlanAutoApprovedPrompt( |
| 190 | runtime?: PromptRuntime | null, |
no test coverage detected