fix(content): book extraction now works when film tags are present

When the user explicitly asks about books, don't bail on pattern
extraction just because the AI also referenced films from the library.
Also fix book pattern regex to match **Title** — *Author* format,
strip sources section before extraction, and remove duplicate title
below BookGrid cards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-03 07:03:29 +00:00
co-authored by Claude Opus 4.6
parent ad63a7b1af
commit 1973b24eaa
2 changed files with 16 additions and 12 deletions
@@ -88,10 +88,6 @@
</div>
</div>
</div>
<p class="text-xs font-semibold mt-2 truncate px-0.5"
:class="isDark ? 'text-white/90' : 'text-gray-900'">
{{ book.title }}
</p>
</button>
</div>