fix: MCP SSE Model tool mode issue (#7360)

Update mcp_component.py
This commit is contained in:
Edwin Jose 2025-03-31 12:59:23 -04:00 committed by GitHub
commit 2007495ec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,8 +30,6 @@ class MCPToolsComponent(Component):
_tool_cache: dict = {} # Cache for tool objects
default_keys: list[str] = ["code", "_type", "mode", "command", "sse_url", "tool_placeholder", "tool_mode", "tool"]
sse_url: str | None = None
display_name = "MCP Server"
description = "Connect to an MCP server and expose tools."
icon = "server"