GEMINI_SANDBOX=false should disable seatbelt (#888)

This commit is contained in:
Tommaso Sciortino
2025-06-10 06:22:02 -07:00
committed by GitHub
parent 1e3abf96b5
commit 895c1f132f
3 changed files with 38 additions and 36 deletions

View File

@@ -57,7 +57,7 @@ export class MCPServerConfig {
export interface ConfigParameters {
contentGeneratorConfig: ContentGeneratorConfig;
embeddingModel: string;
sandbox: boolean | string;
sandbox?: boolean | string;
targetDir: string;
debugMode: boolean;
question?: string;
@@ -85,7 +85,7 @@ export class Config {
private toolRegistry: Promise<ToolRegistry>;
private readonly contentGeneratorConfig: ContentGeneratorConfig;
private readonly embeddingModel: string;
private readonly sandbox: boolean | string;
private readonly sandbox: boolean | string | undefined;
private readonly targetDir: string;
private readonly debugMode: boolean;
private readonly question: string | undefined;
@@ -167,7 +167,7 @@ export class Config {
return this.embeddingModel;
}
getSandbox(): boolean | string {
getSandbox(): boolean | string | undefined {
return this.sandbox;
}