refactor: Refactored mcp_servers and function_calling to mcp_server_support and function_calling_support to make the purpose of the fields more clear

This commit is contained in:
2025-11-04 13:17:58 -07:00
parent 3ac153dd06
commit a6fffa7b57
5 changed files with 50 additions and 35 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ impl McpRegistry {
serde_json::from_str(&parsed_content).with_context(err)?;
registry.config = Some(mcp_servers_config);
if start_mcp_servers && config.mcp_servers {
if start_mcp_servers && config.mcp_server_support {
abortable_run_with_spinner(
registry.start_select_mcp_servers(enabled_mcp_servers),
"Loading MCP servers",