fix: stop summarizer from bailing to a canned empty brief

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.
This commit is contained in:
Sirius DevOps 2026-08-28 23:20:40 -04:00
commit 7822d45f37
3 changed files with 34 additions and 15 deletions

View file

@ -262,8 +262,9 @@ No Hermes-4 reasoning system prompt. Reduce uses `json_mode=True`.
## Prompts
Both prompts are env-overridable. Defaults focus on **breaking important news**
and explicitly ignore futures, commodity tape, and routine market moves.
Both prompts are env-overridable. Defaults recap the articles actually
provided, ranked by breaking important news, and ignore futures / commodity
tape. ticker/map may be empty; `summary_en` must still be a real brief.
`RECAP_PROMPT` (23:00, 24h window) is the daily recap; `SUMMARY_PROMPT` is the
15-min analyst. `INCLUDE_FUTURES` is ignored.