(params: {
completionToolName: "agent_report" | "propose_plan";
})
| 391 | } |
| 392 | |
| 393 | function getTaskCompletionInstruction(params: { |
| 394 | completionToolName: "agent_report" | "propose_plan"; |
| 395 | }): string { |
| 396 | if (params.completionToolName === "propose_plan") { |
| 397 | return "Call propose_plan exactly once now. Base it only on the planning work already completed in this workspace."; |
| 398 | } |
| 399 | |
| 400 | return "Call agent_report exactly once now with your final report. Base it only on the work already completed in this workspace."; |
| 401 | } |
| 402 | |
| 403 | type AgentReportFinalizationResult = |
| 404 | | { finalized: true } |
no outgoing calls
no test coverage detected