mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
remove sse subsection accessor of McpConfig in action_execution_client (#8021)
This commit is contained in:
parent
62557d44f2
commit
693c72d670
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user