discourse-ai/lib/summarization
Roman Rizzi e54f2da1a5
FIX: Unnecessary complex preloading accidentally filters some topics. (#945)
The `topic_query_create_list_topics` modifier we append was always meant to avoid an N+1 situation when serializing gists. However, I tried to be too smart and only preload these, which resulted in some topics with *only* regular summaries getting removed from the list. This issue became apparent now we are adding gists to other lists besides hot.

Let's simplify the preloading, which still solves the N+1 issue, and let the serializer get the needed summary.
2024-11-22 12:07:27 -03:00
..
strategies FEATURE: Double gist length to 40 words (#888) 2024-11-01 13:09:03 -03:00
entry_point.rb FIX: Unnecessary complex preloading accidentally filters some topics. (#945) 2024-11-22 12:07:27 -03:00
fold_content.rb FIX: Regenerate summary button still shows cached summary (#903) 2024-11-07 16:01:18 -08:00