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 9 additions and 7 deletions
Showing only changes of commit 8bd4d9fc7a - Show all commits

View File

@ -16,7 +16,7 @@ spec:
labels: labels:
app: atlasbot app: atlasbot
annotations: annotations:
checksum/atlasbot-configmap: manual-atlasbot-59 checksum/atlasbot-configmap: manual-atlasbot-60
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

@ -1707,11 +1707,13 @@ def _select_insight(
return candidate return candidate
return candidates[1] return candidates[1]
if prefer_keys: if prefer_keys:
for prefer in prefer_keys:
for key, text, conf in candidates: for key, text, conf in candidates:
if key in prefer_keys and key not in used: if key == prefer and key not in used:
return key, text, conf return key, text, conf
for prefer in prefer_keys:
for key, text, conf in candidates: for key, text, conf in candidates:
if key in prefer_keys: if key == prefer:
return key, text, conf return key, text, conf
if used: if used:
for candidate in candidates: for candidate in candidates: