mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-17 06:47:32 -07:00
refactor: allow GEMINI_CLI_USE_AGENT_PROTOCOL env to trigger agent use
This commit is contained in:
@@ -2302,7 +2302,10 @@ export class Config implements McpContext, AgentLoopContext {
|
||||
}
|
||||
|
||||
getExperimentalUseAgentProtocol(): boolean {
|
||||
return this.useAgentProtocol;
|
||||
return (
|
||||
this.useAgentProtocol ||
|
||||
process.env['GEMINI_CLI_USE_AGENT_PROTOCOL'] === 'true'
|
||||
);
|
||||
}
|
||||
|
||||
isTopicUpdateNarrationEnabled(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user