We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a1115c commit 7f8dc89Copy full SHA for 7f8dc89
contributing/samples/mcp_sse_agent/agent.py
@@ -16,8 +16,8 @@
16
import os
17
18
from google.adk.agents.llm_agent import LlmAgent
19
+from google.adk.tools.mcp_tool.mcp_session_manager import SseConnectionParams
20
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
-from google.adk.tools.mcp_tool.mcp_toolset import SseServerParams
21
22
_allowed_path = os.path.dirname(os.path.abspath(__file__))
23
@@ -31,7 +31,7 @@
31
""",
32
tools=[
33
MCPToolset(
34
- connection_params=SseServerParams(
+ connection_params=SseConnectionParams(
35
url='http://localhost:3000/sse',
36
headers={'Accept': 'text/event-stream'},
37
),
0 commit comments