fix(api): normalize ssh mcp evidence inputs
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user