From 06656ffd4f77f999ba71cf17c908537e37e6fe69 Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Fri, 30 Oct 2026 11:28:19 +0100 Subject: [PATCH] fix(deploy): reuse blaaai Consul key so citti gets a Claude key Prod container had no ANTHROPIC_API_KEY (refresh returned 0/0 instantly; homepage showed only the 9 heuristic matches), so offers stayed German. The template read citti/anthropic_api_key, a path never set. Fall back to the existing blaaai Consul key via or(), reusing BlaaAi's key with no new secret to provision. --- citti.nomad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/citti.nomad b/citti.nomad index 26a41b1..4537558 100644 --- a/citti.nomad +++ b/citti.nomad @@ -98,11 +98,13 @@ job "citti" { } # Claude key for DA translation + AI offer matching (same account as - # BlaaAi). keyOrDefault so a missing KV never blocks deploy — without it - # offers simply stay German and the token heuristic handles matching. + # BlaaAi). Use citti's own Consul key if set, else fall back to the + # existing blaaai/anthropic_api_key. `or` keeps it empty (not a deploy + # failure) if neither exists — offers then stay German with heuristic + # matching. template { data = <