fix(api): normalize ssh mcp evidence inputs
All checks were successful
CD Pipeline / tests (push) Successful in 1m29s
Code Review / ai-code-review (push) Successful in 12s
CD Pipeline / build-and-deploy (push) Successful in 4m31s
CD Pipeline / post-deploy-checks (push) Successful in 1m40s

This commit is contained in:
Your Name
2026-06-01 01:11:10 +08:00
parent b83f9c5a52
commit 87378b452d
5 changed files with 39 additions and 2 deletions

View File

@@ -2661,7 +2661,7 @@ class DecisionManager:
ssh.execute(
tool_name="ssh_get_container_status",
# P0.4 fix 2026-04-24 ogt + Claude Sonnet 4.6: params= → parameters=(符合 MCPToolProvider.execute 簽名)
parameters={"host": host, "container_name": container},
parameters={"host": host, "filter_name": container, "container_name": container},
),
timeout=_MCP_TIMEOUT,
)

View File

@@ -552,6 +552,7 @@ _SHORT_HOST_MAP: dict[str, str] = {
"188": "192.168.0.188",
"ollama": "192.168.0.188",
"ai-web": "192.168.0.188",
"wooo": "192.168.0.110",
"harbor": "192.168.0.110",
"gitea": "192.168.0.110",
}