Fix UserSettings creation from Org tables (#12635)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: tofarr <tofarr@gmail.com>
This commit is contained in:
chuckbutkus
2026-01-28 11:35:05 -05:00
committed by GitHub
parent 00a74731ae
commit 570ab904f6
15 changed files with 402 additions and 178 deletions

View File

@@ -202,10 +202,11 @@ class WebSession:
self.logger.debug(f'Merged custom MCP Config: {mcp_config}')
# Add OpenHands' MCP server by default
openhands_mcp_server, openhands_mcp_stdio_servers = (
OpenHandsMCPConfigImpl.create_default_mcp_server_config(
self.config.mcp_host, self.config, self.user_id
)
(
openhands_mcp_server,
openhands_mcp_stdio_servers,
) = await OpenHandsMCPConfigImpl.create_default_mcp_server_config(
self.config.mcp_host, self.config, self.user_id
)
if openhands_mcp_server: