(path: string, content: string)
| 571 | } |
| 572 | |
| 573 | function writeStepLLMDebugFile(path: string, content: string): boolean { |
| 574 | if (!Content.save(path, content)) { |
| 575 | Log("Warn", `[CodingAgent] failed to save LLM debug file: ${path}`); |
| 576 | return false; |
| 577 | } |
| 578 | return true; |
| 579 | } |
| 580 | |
| 581 | function createStepLLMDebugPair(shared: AgentShared, stepId: number, inContent: string): number { |
| 582 | if (!canWriteStepLLMDebug(shared, stepId)) return 0; |
no test coverage detected