fix(cli-executor): update stdin prompt variable for CLI tool execution

This commit is contained in:
catlog22
2025-12-13 12:15:07 +08:00
parent 684618e72b
commit 23e15e479e

View File

@@ -312,7 +312,7 @@ async function executeCliTool(
// Write prompt to stdin if using stdin mode (for gemini/qwen)
if (useStdin && child.stdin) {
child.stdin.write(prompt);
child.stdin.write(finalPrompt);
child.stdin.end();
}