remove sse subsection accessor of McpConfig in action_execution_client (#8021)

This commit is contained in:
Chase 2025-04-22 15:40:10 -07:00 committed by GitHub
parent 62557d44f2
commit 693c72d670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,9 +331,9 @@ class ActionExecutionClient(Runtime):
if self.mcp_clients is None:
self.log(
'debug',
f'Creating MCP clients with servers: {self.config.mcp.sse.mcp_servers}',
f'Creating MCP clients with servers: {self.config.mcp.mcp_servers}',
)
self.mcp_clients = await create_mcp_clients(self.config.mcp.sse.mcp_servers)
self.mcp_clients = await create_mcp_clients(self.config.mcp.mcp_servers)
return await call_tool_mcp_handler(self.mcp_clients, action)
async def aclose(self) -> None: