Skip to content

Commit 1508825

Browse files
ratishratish
authored andcommitted
fix(mcp): restore relative import for ToolResultContent to satisfy mypy/hooks
1 parent 52c7ecc commit 1508825

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/strands/tools/mcp/mcp_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@
2424
from mcp.types import ImageContent as MCPImageContent
2525
from mcp.types import TextContent as MCPTextContent
2626

27-
from strands.types.tools import ToolResultContent, ToolResultStatus
28-
2927
from ...types import PaginatedList
3028
from ...types.exceptions import MCPClientInitializationError
3129
from ...types.media import ImageFormat
30+
from ...types.tools import ToolResultContent, ToolResultStatus
3231
from .mcp_agent_tool import MCPAgentTool
3332
from .mcp_instrumentation import mcp_instrumentation
3433
from .mcp_types import MCPToolResult, MCPTransport

0 commit comments

Comments
 (0)