diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 0edd4af7b0..d0c04b3773 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -1593,6 +1593,14 @@ export class Config implements McpContext, AgentLoopContext { this.setModel(DEFAULT_GEMINI_MODEL_AUTO); } + // Fetch admin controls + const experiments = await this.experimentsPromise; + + const requestTimeoutMs = this.getRequestTimeoutMs(); + if (requestTimeoutMs !== undefined) { + updateGlobalFetchTimeouts(requestTimeoutMs); + } + const adminControlsEnabled = experiments?.flags[ExperimentFlags.ENABLE_ADMIN_CONTROLS]?.boolValue ?? false;