Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/src-tauri/src/mesh_llm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MESH_API_PORT_ENV: &str = "SPROUT_MESH_API_PORT";
const MESH_CONSOLE_PORT_ENV: &str = "SPROUT_MESH_CONSOLE_PORT";
const RELAY_MESH_API_KEY_PLACEHOLDER: &str = "sprout-mesh-local";
/// ACP provider relay-mesh agents run on. Sources of truth for its command +
/// MCP live in the provider catalog (`known_acp_provider_exact`); these are
/// MCP live in the runtime catalog (`known_acp_runtime_exact`); these are
/// only the fallbacks. `sprout-agent` reads the `SPROUT_AGENT_PROVIDER` /
/// `OPENAI_COMPAT_*` env vars below — goose (the global default) does not.
const MESH_AGENT_PROVIDER_ID: &str = "sprout-agent";
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/src/mesh_llm/preset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn agent_preset(request: MeshAgentPresetRequest) -> Result<MeshAgentPreset,
}
// Run on sprout-agent, not the global default (goose). Source command +
// MCP from the catalog so this can't drift from the provider definition.
let sprout_agent = crate::managed_agents::known_acp_provider_exact(MESH_AGENT_PROVIDER_ID);
let sprout_agent = crate::managed_agents::known_acp_runtime_exact(MESH_AGENT_PROVIDER_ID);
let agent_command = sprout_agent
.and_then(|p| p.commands.first().copied())
.unwrap_or(MESH_AGENT_PROVIDER_ID)
Expand Down