I cleared all the summaries with rails c AiSummaries.destroy_all
, and started a new run with a different LLM, using ai summary backfill topic max age days
= 60. At first I had ai summary backfill maximum topics per hour
set too high, so many of the newest topics failed because of rate limits. That’s my bad, but I expected after it backfilled to 60 days, it would start a new loop and backfill the failed topics. However it’s not doing that- it backfilled to 60 days and then stopped.
The job is running successfully every 5 minutes, but takes only milliseconds, so obviously isn’t finding anything to backfill.
I’m monitoring progress (or lack thereof) with Data Explorer, using the ai_summaries
and ai_api_audit_logs
tables.
If I manually click the Summarize button on a topic that did not get backfilled, it does generate a new summary, so I am properly connected to the AI provider, and the topics are “summarizable”.
No errors in /logs.
Ideas?