Compare commits

..

No commits in common. "11ba37a4b2d7d79f3d400d86880021809c107ffa" and "67b9babc0ed813c184db67f5c4c9bd09821125a9" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View File

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

View File

@ -713,12 +713,7 @@ def structured_answer(prompt: str, *, inventory: list[dict[str, Any]], metrics_s
if scope_parts:
scope = " ".join(scope_parts)
overall_note = ""
base_expr = entry["exprs"][0]
if inventory:
all_nodes = "|".join([n["name"] for n in inventory])
if all_nodes:
base_expr = _apply_node_filter(base_expr, all_nodes)
base_res = vm_query(base_expr, timeout=20)
base_res = vm_query(entry["exprs"][0], timeout=20)
base_node, base_val = _primary_series_metric(base_res)
scoped_node, scoped_val = _primary_series_metric(res)
if base_node and scoped_node and base_node != scoped_node: