Release v26.04.13.3 #31
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Rich single-article Discuss (task #106)
The Discuss button on news/RSS cards used to produce one-shot summary replies because the model got the whole raw trafilatura blob dropped into history with a canned
"Please summarize and discuss this article."prompt — no length guard, no prep, no invitation to converse. Large articles silently truncated; small articles got tepid replies.This reworks
discuss_articlearound a three-layer cache onrss_items:read_articletool result.The canned summary prompt is replaced with a conversational seed that invites a real discussion rather than a one-shot synopsis, matching the goal of "have a conversation about an article, not just read it."
The map step pins
num_ctx=16384explicitly — same silent-truncation footgun that wrecked the research pipeline in v26.04.13.2. Don't trustgenerate_completion's default to stick.discuss_topic(multi-article aggregation) is intentionally untouched — follow-up task filed to decide whether to retire it or rework it on the same cached-context approach.Changes
0038_add_rss_item_full_content.py— adds nullablecontent_full,context_prepared,content_fetched_attorss_items(additive, no backfill)services/rss.py— newget_or_fetch_full_article(item)with write-through caching;_enrich_and_embednow persists full text it already fetchesservices/article_context.py— new module:prepare_article_context, paragraph-aware chunker, background-model map steproutes/briefing.py discuss_article— three-layer cache flow + conversational seed prompttests/test_article_reading.py— small pass-through, large map-reduce, chunker boundary testsVerification
Tested end-to-end on dev instance after push — user confirmed: "it was awesome, this response was great and exactly the kind of summary I wanted."