Skip to content

Commit 63ca7ef

Browse files
authored
fix: removes deny unknown fields in mcp config (#2935)
1 parent dbf21ef commit 63ca7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/tools/custom_tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl Default for TransportType {
4646
}
4747

4848
#[derive(Clone, Serialize, Deserialize, Debug, Eq, PartialEq, JsonSchema)]
49-
#[serde(rename_all = "camelCase", deny_unknown_fields)]
49+
#[serde(rename_all = "camelCase")]
5050
pub struct CustomToolConfig {
5151
/// The transport type to use for communication with the MCP server
5252
#[serde(default)]

0 commit comments

Comments
 (0)