wrolpi/modules/ai
Roland faa3a03b37
ai: tags, downloads, map, and search-preview tools
Five new read-only /api/ai endpoints, each with a matching wrolpi_mcp
proxy tool: list_tags (tags with what they are applied to, plus recent
names), search_suggestions (matching channels/domains/authors/subjects
and file/Zim result estimates), list_downloads (queue summary and lean
recurring/one-time entries with relative destinations; status filter;
errors keep their tail, which holds the exception message),
get_map_overview (map files, search-index state, subscriptions, pins
with map links), and search_places (place search with map links and
optional proximity ranking).

Research mode allowlists the library-facing four.  Nothing here can
start, stop, or retry a download.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 18:23:25 -06:00
..
test ai: tags, downloads, map, and search-preview tools 2026-09-24 18:23:25 -06:00
__init__.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 18:23:21 -06:00
agent.py ai: the /api/chat agent loop — SSE streaming, modes, tool execution 2026-09-24 18:23:21 -06:00
api.py ai: tags, downloads, map, and search-preview tools 2026-09-24 18:23:25 -06:00
catalog.py ai: ground answers in a live library map, budget the context 2026-09-24 18:23:24 -06:00
chat.py ai: ground answers in a live library map, budget the context 2026-09-24 18:23:24 -06:00
config.py ai: ground answers in a live library map, budget the context 2026-09-24 18:23:24 -06:00
conftest.py ai: ai.yaml config, model catalog, and the GGUF downloader 2026-09-24 18:23:21 -06:00
context.py ai: ground answers in a live library map, budget the context 2026-09-24 18:23:24 -06:00
controller_client.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 18:23:21 -06:00
downloader.py ai: ai.yaml config, model catalog, and the GGUF downloader 2026-09-24 18:23:21 -06:00
errors.py ai: system endpoints — aggregate status, services, logs, disks 2026-09-24 18:23:21 -06:00
help_docs.py ai: live-chat fixes from first real-model run 2026-09-24 18:23:23 -06:00
lib.py ai: ground the librarian — collection links, retry hints, no source URLs 2026-09-24 18:23:23 -06:00
modes.py ai: tags, downloads, map, and search-preview tools 2026-09-24 18:23:25 -06:00
schema.py ai: tags, downloads, map, and search-preview tools 2026-09-24 18:23:25 -06:00
service.py ai: package llama-server for all three deployments, with idle unload 2026-09-24 18:23:21 -06:00