diff --git a/content/posts/commits/2026-06-24-commit-f6c45f6.md b/content/posts/commits/2026-06-24-commit-f6c45f6.md new file mode 100644 index 0000000..1f49829 --- /dev/null +++ b/content/posts/commits/2026-06-24-commit-f6c45f6.md @@ -0,0 +1,45 @@ +--- +title: "[bojemoi] fix(triage+alert-agent): fix Ollama API + Telegram fallback when LLM unavailable" +date: 2026-06-24T21:24:44+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit f6c45f6 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `f6c45f6` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `f6c45f629307361b93fbc754971bfd4578622521` | + + +### Description + +dojo-triage: migrate from deprecated /api/generate to /api/chat (Ollama 0.2+). +Fixes 404 errors causing all findings to be silently skipped by LLM triage. + +alert-agent: when LLM is unavailable, fall back to notify_only instead of +silently dropping the Telegram notification. Critical pentest alerts +(HighSeverityFindingsFound, etc.) now always reach Telegram. + +Co-Authored-By: Claude Sonnet 4.6 + +### Files Changed + +``` +M alert-agent/alert_agent/webhook.py +M dojo-triage/triage.py +``` + +### Diff Summary + +``` + alert-agent/alert_agent/webhook.py | 10 ++++++++-- + dojo-triage/triage.py | 6 +++--- + 2 files changed, 11 insertions(+), 5 deletions(-) +```