File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
tests/contrib/openai_agents Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 8989from temporalio .contrib import openai_agents
9090from temporalio .contrib .openai_agents import (
9191 ModelActivityParameters ,
92- StatelessMCPServer ,
9392 TestModel ,
9493 TestModelProvider ,
9594)
@@ -2117,11 +2116,11 @@ async def test_stateful_mcp_server(
21172116 if sys .version_info < (3 , 10 ):
21182117 pytest .skip ("Mcp not supported on Python 3.9" )
21192118 from agents .mcp import MCPServer
2120- from mcp import GetPromptResult , ListPromptsResult
2121- from mcp import Tool as MCPTool
2122- from mcp .types import CallToolResult , TextContent
2119+ from mcp import GetPromptResult , ListPromptsResult # type: ignore
2120+ from mcp import Tool as MCPTool # type: ignore
2121+ from mcp .types import CallToolResult , TextContent # type: ignore
21232122
2124- from temporalio .contrib .openai_agents import StatefulMCPServer
2123+ from temporalio .contrib .openai_agents import StatefulMCPServer , StatelessMCPServer
21252124
21262125 class TrackingMCPServer (MCPServer ):
21272126 calls : list [str ]
You can’t perform that action at this time.
0 commit comments