mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
GEMINI_SANDBOX=false should disable seatbelt (#888)
This commit is contained in:
committed by
GitHub
parent
1e3abf96b5
commit
895c1f132f
@@ -143,10 +143,15 @@ export async function loadCliConfig(
|
||||
|
||||
const contentGeneratorConfig = await createContentGeneratorConfig(argv);
|
||||
|
||||
let sandbox = argv.sandbox ?? settings.sandbox;
|
||||
if (argv.yolo) {
|
||||
sandbox = false;
|
||||
}
|
||||
|
||||
return new Config({
|
||||
contentGeneratorConfig,
|
||||
embeddingModel: DEFAULT_GEMINI_EMBEDDING_MODEL,
|
||||
sandbox: argv.sandbox ?? settings.sandbox ?? argv.yolo ?? false,
|
||||
sandbox,
|
||||
targetDir: process.cwd(),
|
||||
debugMode,
|
||||
question: argv.prompt || '',
|
||||
|
||||
Reference in New Issue
Block a user