We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296e08e commit 95aeaa8Copy full SHA for 95aeaa8
1 file changed
examples/slackbot/src/slackbot/core.py
@@ -12,7 +12,7 @@
12
from prefect.logging.loggers import get_logger
13
from prefect.variables import Variable
14
from pydantic_ai import Agent, RunContext
15
-from pydantic_ai.mcp import MCPServerHTTP
+from pydantic_ai.mcp import MCPServerStreamableHTTP
16
from pydantic_ai.messages import ModelMessage, ModelMessagesTypeAdapter
17
from pydantic_ai.models import KnownModelName, Model
18
from pydantic_ai.models.anthropic import AnthropicModel
@@ -47,7 +47,7 @@
47
48
GITHUB_API_TOKEN = Secret.load(settings.github_token_secret_name, _sync=True).get()
49
50
-slack_search_mcp = MCPServerHTTP(
+slack_search_mcp = MCPServerStreamableHTTP(
51
url="https://marvin-slack-thread-assets.fastmcp.app/mcp",
52
)
53
0 commit comments