feature/ariadne #11

Merged
bstein merged 416 commits from feature/ariadne into main 2026-01-28 14:05:40 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 9bf822ec36 - Show all commits

View File

@ -16,7 +16,7 @@ spec:
labels: labels:
app: atlasbot app: atlasbot
annotations: annotations:
checksum/atlasbot-configmap: manual-atlasbot-63 checksum/atlasbot-configmap: manual-atlasbot-64
vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/role: "comms" vault.hashicorp.com/role: "comms"
vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret" vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret"

View File

@ -1292,6 +1292,11 @@ def structured_answer(
if not op and entity == "node": if not op and entity == "node":
op = "list" if (include_hw or exclude_hw or nodes_in_query) else "count" op = "list" if (include_hw or exclude_hw or nodes_in_query) else "count"
if entity == "node" and ("hardware mix" in q or "architecture" in q):
hw_line = _hardware_mix_line(inventory)
if hw_line:
return _format_confidence(hw_line, "high")
if op == "top" and metric is None: if op == "top" and metric is None:
metric = "cpu" metric = "cpu"