fix: fix OpenAPI build (#2036)

This commit is contained in:
Alex Hancock
2025-04-04 11:58:57 -04:00
committed by GitHub
parent c3042067a0
commit 3ec0f77ed5
7 changed files with 183 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
use std::collections::HashMap;
use mcp_client::client::Error as ClientError;
use mcp_core::tool::Tool;
use serde::{Deserialize, Serialize};
use thiserror::Error;
use tracing::warn;
@@ -155,7 +156,7 @@ pub enum ExtensionConfig {
/// The name used to identify this extension
name: String,
/// The tools provided by the frontend
tools: Vec<mcp_core::tool::Tool>,
tools: Vec<Tool>,
/// Instructions for how to use these tools
instructions: Option<String>,
},