fix(mcp): Obtain the MCP tool information to complete the channel information

This commit is contained in:
Timebomb2018
2026-03-06 17:15:12 +08:00
parent 41a0036bf6
commit 9600d687fa

View File

@@ -910,7 +910,11 @@ class ToolService:
config_data.update({
"last_health_check": int(mcp_config.last_health_check.timestamp() * 1000) if mcp_config.last_health_check else None,
"health_status": mcp_config.health_status,
"available_tools": available_tools_display
"available_tools": available_tools_display,
"source_channel": mcp_config.source_channel,
"market_id": mcp_config.market_id,
"market_config_id": mcp_config.market_config_id,
"mcp_service_id": mcp_config.mcp_service_id
})
return ToolInfo(