Skip to content

Commit 59aa454

Browse files
committed
more
1 parent 6e44337 commit 59aa454

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • integrations/mcp/src/haystack_integrations/tools/mcp

integrations/mcp/src/haystack_integrations/tools/mcp/mcp_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,10 +560,10 @@ async def connect(self) -> list[types.Tool]:
560560
elif self.token:
561561
headers = {"Authorization": f"Bearer {self.token}"}
562562

563-
streamable_http_transport = await self.exit_stack.enter_async_context(
563+
streamablehttp_transport = await self.exit_stack.enter_async_context(
564564
streamablehttp_client(url=self.url, headers=headers, timeout=timedelta(seconds=self.timeout))
565565
)
566-
return await self._initialize_session_with_transport(streamable_http_transport, f"HTTP server at {self.url}")
566+
return await self._initialize_session_with_transport(streamablehttp_transport, f"HTTP server at {self.url}")
567567

568568

569569
@dataclass

0 commit comments

Comments
 (0)