mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix the issue where the shttp_services configuration from config.toml fails to load correctly. (#9175)
This commit is contained in:
@@ -158,6 +158,7 @@ class MCPConfig(BaseModel):
|
||||
mcp_mapping['mcp'] = cls(
|
||||
sse_servers=mcp_config.sse_servers,
|
||||
stdio_servers=mcp_config.stdio_servers,
|
||||
shttp_servers=mcp_config.shttp_servers,
|
||||
)
|
||||
except ValidationError as e:
|
||||
raise ValueError(f'Invalid MCP configuration: {e}')
|
||||
|
||||
Reference in New Issue
Block a user