log prompt

This commit is contained in:
Ashwin Bhat
2025-08-12 13:53:52 -07:00
parent af398fcc95
commit e5d38c6b74

View File

@@ -283,11 +283,16 @@ export const remoteAgentMode: Mode = {
// Generate dispatch-specific prompt (just the task description) // Generate dispatch-specific prompt (just the task description)
const promptContent = generateDispatchPrompt(taskDescription); const promptContent = generateDispatchPrompt(taskDescription);
console.log("Writing prompt file...");
console.log("Contents: ", promptContent);
// Write the prompt file // Write the prompt file
await writeFile( await writeFile(
`${process.env.RUNNER_TEMP}/claude-prompts/claude-prompt.txt`, `${process.env.RUNNER_TEMP}/claude-prompts/claude-prompt.txt`,
promptContent, promptContent,
); );
console.log(
`Prompt file written successfully to ${process.env.RUNNER_TEMP}/claude-prompts/claude-prompt.txt`,
);
// Set stream configuration for repository_dispatch events // Set stream configuration for repository_dispatch events
if (context.progressTracking) { if (context.progressTracking) {