mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
GEMINI_SANDBOX=false should disable seatbelt (#888)
This commit is contained in:
parent
1e3abf96b5
commit
895c1f132f
3 changed files with 38 additions and 36 deletions
|
|
@ -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 || '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue