Google News RSS items often have no description or content — just a title. This left the LLM with insufficient context, resulting in empty ai_summary fields. When the stored content is sparse (<100 chars or matches the title), build_summary_prompt() now fetches the actual article page via wp_remote_get(), extracts text from <article>/<main> tags, and feeds it to the LLM. Gracefully falls back to title-only if the fetch fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 KiB
22 KiB