wrolpi/modules/ai
Roland 6ca2fc954c
ai: ground the librarian — collection links, retry hints, no source URLs
Live testing surfaced three ways small models went wrong summarizing a
library: they gave up after one empty search (misspelled channel names
found nothing), so zero-result searches now carry a retry hint and the
Research prompt requires list_collections before channel/site questions
and search_videos(channel_id) before claiming a channel is summarized;
they presented the familiar YouTube source URL instead of the WROLPi
link, so listings omit the source URL (archive detail keeps it); and
they invented links for channels, so channel collections now carry
their real /videos/channel page link.  Search descriptions state that
search_str is optional for browsing the newest items.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-24 14:09:55 -06:00
..
test ai: ground the librarian — collection links, retry hints, no source URLs 2026-09-24 14:09:55 -06:00
__init__.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 14:09:54 -06:00
agent.py ai: the /api/chat agent loop — SSE streaming, modes, tool execution 2026-09-24 14:09:54 -06:00
api.py ai: ground the librarian — collection links, retry hints, no source URLs 2026-09-24 14:09:55 -06:00
catalog.py ai: publish tooling + real model hashes in the bundled catalog 2026-09-24 14:09:54 -06:00
chat.py ai: the /api/chat agent loop — SSE streaming, modes, tool execution 2026-09-24 14:09:54 -06:00
config.py ai: ai.yaml config, model catalog, and the GGUF downloader 2026-09-24 14:09:53 -06:00
conftest.py ai: ai.yaml config, model catalog, and the GGUF downloader 2026-09-24 14:09:53 -06:00
controller_client.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 14:09:54 -06:00
downloader.py ai: ai.yaml config, model catalog, and the GGUF downloader 2026-09-24 14:09:53 -06:00
errors.py ai: system endpoints — aggregate status, services, logs, disks 2026-09-24 14:09:53 -06:00
help_docs.py ai: live-chat fixes from first real-model run 2026-09-24 14:09:55 -06:00
lib.py ai: ground the librarian — collection links, retry hints, no source URLs 2026-09-24 14:09:55 -06:00
modes.py ai: ground the librarian — collection links, retry hints, no source URLs 2026-09-24 14:09:55 -06:00
schema.py ai: the /api/chat agent loop — SSE streaming, modes, tool execution 2026-09-24 14:09:54 -06:00
service.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 14:09:54 -06:00