From 150b98c93084e966a8b701c66453b8df51dc4172 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 18 Aug 2026 16:20:53 +0800 Subject: [PATCH] feat: MCP support model --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 4718702c..77e2b981 100644 --- a/backend/main.py +++ b/backend/main.py @@ -219,7 +219,7 @@ mcp = FastApiMCP( description="SQLBot MCP Server", describe_all_responses=True, describe_full_response_schema=True, - include_operations=["mcp_datasource_list", "get_model_list", "mcp_question", "mcp_start", "mcp_assistant", "mcp_ws_list", "access_token"], + include_operations=["mcp_datasource_list", "mcp_model_list", "mcp_question", "mcp_start", "mcp_assistant", "mcp_ws_list", "access_token"], headers=["Authorization", "X-Forwarded-For", "X-Real-IP", "CF-Connecting-IP", "X-Client-IP"] )