@@ -225,6 +225,7 @@ export interface GemmaModelRouterSettings {
225225
226226export interface ADKSettings {
227227 agentSessionNoninteractiveEnabled ?: boolean ;
228+ agentSessionInteractiveEnabled ?: boolean ;
228229}
229230
230231export interface ExtensionSetting {
@@ -894,6 +895,7 @@ export class Config implements McpContext, AgentLoopContext {
894895
895896 private readonly gemmaModelRouter : GemmaModelRouterSettings ;
896897 private readonly agentSessionNoninteractiveEnabled : boolean ;
898+ private readonly agentSessionInteractiveEnabled : boolean ;
897899
898900 private readonly continueOnFailedApiCall : boolean ;
899901 private readonly retryFetchErrors : boolean ;
@@ -1325,6 +1327,8 @@ export class Config implements McpContext, AgentLoopContext {
13251327
13261328 this . agentSessionNoninteractiveEnabled =
13271329 params . adk ?. agentSessionNoninteractiveEnabled ?? false ;
1330+ this . agentSessionInteractiveEnabled =
1331+ params . adk ?. agentSessionInteractiveEnabled ?? false ;
13281332 this . retryFetchErrors = params . retryFetchErrors ?? true ;
13291333 this . maxAttempts = Math . min (
13301334 params . maxAttempts ?? DEFAULT_MAX_ATTEMPTS ,
@@ -3396,6 +3400,10 @@ export class Config implements McpContext, AgentLoopContext {
33963400 return this . agentSessionNoninteractiveEnabled ;
33973401 }
33983402
3403+ getAgentSessionInteractiveEnabled ( ) : boolean {
3404+ return this . agentSessionInteractiveEnabled ;
3405+ }
3406+
33993407 /**
34003408 * Get override settings for a specific agent.
34013409 * Reads from agents.overrides.<agentName>.
0 commit comments