Replies: 2 comments
-
We only support streamable http. The SSE fallback will not work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@SamMorrowDrums thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone please help me how I can pass parameters properly for google ADK using SSE protocol , below is my code -
`import datetime
from zoneinfo import ZoneInfo
from google.adk.agents import Agent
from google.adk.tools.mcp_tool.mcp_toolset import (MCPToolset, SseServerParams)
instruction_prompt = """
You are a helpful assistant for managing GitHub repositories, issues, and pull requests using the GitHub MCP server API.
Your tasks include:
Guidelines:
You are expected to be accurate, efficient, and helpful in all interactions related to GitHub repository management.
"""
root_agent = Agent(
name="githubAgent",
model="gemini-2.0-flash",
description='A helpful assistant for managing Github repositories and issues, and pull requests.',
instruction=instruction_prompt,
tools=[MCPToolset(
connection_params=SseServerParams(
url="https://api.githubcopilot.com/mcp/",
headers={
"Authorization": "Bearer token",
},
sse_read_timeout = 10,
)
)],
)`
It seems it's getting stuck in a loop, refer the screenshots -
Beta Was this translation helpful? Give feedback.
All reactions