Rename arg to experimental-mcp

This commit is contained in:
Agus Zubiaga 2025-07-30 14:28:01 -03:00
parent 30739041a4
commit 02d3043ec5

View file

@ -14,7 +14,7 @@ use crate::AllAgentServersSettings;
#[derive(Clone)]
pub struct Gemini;
const ACP_ARG: &str = "--experimental-acp";
const MCP_ARG: &str = "--experimental-mcp";
impl AgentServer for Gemini {
fn name(&self) -> &'static str {
@ -48,7 +48,7 @@ impl AgentServer for Gemini {
})?;
let Some(command) =
AgentServerCommand::resolve("gemini", &[ACP_ARG], settings, &project, cx).await
AgentServerCommand::resolve("gemini", &[MCP_ARG], settings, &project, cx).await
else {
anyhow::bail!("Failed to find gemini binary");
};