增加网站浏览mcp

This commit is contained in:
玄凤科技
2025-03-24 10:28:48 +08:00
parent 32ab716f0d
commit 8c4c9d88da
3 changed files with 19 additions and 4 deletions
+1
View File
@@ -62,6 +62,7 @@ class MCPManager:
except Exception as e:
self.logger.bind(tag=TAG).error(f"Failed to initialize MCP server {name}: {e}")
self.conn.func_handler.upload_functions_desc()
def get_all_tools(self) -> List[Dict[str, Any]]:
"""获取所有服务的工具function定义