[bojemoi] feat(alert-agent): intégration Claude API (Haiku) comme backend LLM principal
2026-07-21T20:23:41+02:00
false
commit
bojemoi
main
Git Activity
Commit 3217f0b par grafana-watcher dans bojemoi
grafana-watcher
Commit 3217f0b
Repository
bojemoi
Branch
main
Author
grafana-watcher
Hash
3217f0b22abb1c42444282a068e544257b0dc725
Description
Remplace Ollama (trop lent) par Claude API (Anthropic). Le backend est
sélectionnable via LLM_BACKEND: claude/kimi/ollama. Le LLM évalue
désormais la sévérité réelle de l'alerte (critical/high/medium/low/info)
indépendamment du label Prometheus.
llm.py: ajout _call_claude + _extract_json pour parser la réponse
M alert-agent/alert_agent/__main__.py
M alert-agent/alert_agent/config.py
M alert-agent/alert_agent/llm.py
M alert-agent/requirements.txt
M stack/48-service-alert-agent.yml