Rename arg to experimental-mcp
This commit is contained in:
parent
30739041a4
commit
02d3043ec5
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue