Files
blog/content/posts/commits/2026-07-21-commit-b31c4f4.md
grafana-watcher 1e93d90c3f
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit b31c4f4 in bojemoi
2026-07-21 20:48:33 +02:00

1.1 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] refactor(alert-agent): consolider sur anthropic_api_key (secret canonique) 2026-07-21T20:48:28+02:00 false
commit
bojemoi
main
Git Activity
Commit b31c4f4 par grafana-watcher dans bojemoi grafana-watcher

Commit b31c4f4

Repository bojemoi
Branch main
Author grafana-watcher
Hash b31c4f4e052e22e3267e68820ee0cabcbfa93f2f

Description

  • config.py: _build_settings() avec model_copy() pour appliquer les secrets après init pydantic (fix: assignation self.x = y ignorée par pydantic v2)
  • Lecture anthropic_api_key en priorité, claude_api_key en fallback
  • Stack: claude_api_key → anthropic_api_key
  • Secret claude_api_key supprimé

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

M	alert-agent/alert_agent/config.py
M	stack/48-service-alert-agent.yml

Diff Summary

 alert-agent/alert_agent/config.py | 52 +++++++++++++++++++++++----------------
 stack/48-service-alert-agent.yml  |  4 +--
 2 files changed, 33 insertions(+), 23 deletions(-)