mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: try fix sandbox integration test failure
This commit is contained in:
@@ -276,8 +276,11 @@ export async function main() {
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// For stream-json mode, don't read stdin here - it should be forwarded to the sandbox
|
||||||
|
// and consumed by StreamJsonInputReader inside the container
|
||||||
|
const inputFormat = argv.inputFormat as string | undefined;
|
||||||
let stdinData = '';
|
let stdinData = '';
|
||||||
if (!process.stdin.isTTY) {
|
if (!process.stdin.isTTY && inputFormat !== 'stream-json') {
|
||||||
stdinData = await readStdin();
|
stdinData = await readStdin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user