pub fn remote_mcp_infer(
transport: &McpTransport,
infer_tool: Option<&str>,
model: Option<&str>,
system: Option<&str>,
prompt: &str,
) -> Result<String, String>Expand description
Run one inference over the configured MCP transport and return the completion text.
infer_tool defaults to DEFAULT_INFER_TOOL when None. This is a blocking call — the caller
should run it off the UI thread (the desktop command wrapper uses spawn_blocking).