fix: stop summarizer from bailing to a canned empty brief #17

Merged
sirius merged 1 commit from fix/summarizer-empty-brief into master 2026-08-28 23:19:14 -04:00
Owner

Summary

The reduce/recap prompts told the model to AND STOP with No qualifying impactful or unusual events… whenever nothing looked "breaking" enough. Full article batches still became that one sentence.

  • SUMMARY_PROMPT / RECAP_PROMPT now always write summary_en from the provided stories
  • ticker/map may still be empty if nothing is critical/high
  • futures / commodity tape still ignored
  • canned No qualifying… hatch removed

Verify

PYTHONPATH=news/summerizer pytest news/summerizer/tests -q

After merge: rebuild osint-news-summarizer. Next 15-min run (or NEWS_SUMMARIZE_FORCE=1) replaces the pinned canned brief.

## Summary The reduce/recap prompts told the model to `AND STOP` with `No qualifying impactful or unusual events…` whenever nothing looked "breaking" enough. Full article batches still became that one sentence. - `SUMMARY_PROMPT` / `RECAP_PROMPT` now **always** write `summary_en` from the provided stories - ticker/map may still be empty if nothing is critical/high - futures / commodity tape still ignored - canned `No qualifying…` hatch removed ## Verify ``` PYTHONPATH=news/summerizer pytest news/summerizer/tests -q ``` After merge: rebuild `osint-news-summarizer`. Next 15-min run (or `NEWS_SUMMARIZE_FORCE=1`) replaces the pinned canned brief.
sirius added 1 commit 2026-08-28 23:18:52 -04:00
The reduce/recap prompts told the model to AND STOP with "No qualifying…"
whenever nothing looked breaking enough, so full article batches became
one sentence. Always write summary_en from the provided stories; ticker
and map may still be empty. Futures/market tape stay ignored.
sirius merged commit bb849515fb into master 2026-08-28 23:19:14 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sirius/osint-dashboard#17
No description provided.