Skip to content

v0.2.1 — Series fixes, your own Ollama, long PDFs

Choose a tag to compare

@Jatin-Roopchandani Jatin-Roopchandani released this 30 Nov 07:40
· 37 commits to main since this release
6b0733a

A fixes-and-flexibility release for self-hosters, with two contributions from the community.

Fixes

  • Series in one world work again. Adding book 2 or later of a series to a world could fail at the character-profile step with UNIQUE constraint failed: codex_entries.id (#32). It's fixed in two places, so it can't come back. If a book failed this way, update and click Continue; nothing in your library was damaged. Thanks to @stmr for the root-cause fix (#33).
  • Very long PDFs upload again. A PDF with no paragraph breaks (e.g. a 1,700-page Count of Monte Cristo) took too long to split into sentences and was refused as "too large or complex". It now takes a fraction of the time.
  • A book no longer fails over one oddly formatted AI answer in the name-checking step: LORE asks again once, then moves on.
  • Fairer queue: users take turns, so one reader's long series no longer holds everyone else's first book back.
  • Example questions for groups read naturally ("What part does X play in the story?").

Self-hosting

  • Use the Ollama you already run, without downloading the 8.5 GB Ollama image. Set LORE_OLLAMA_HOST and start only LORE with docker compose up -d lore worker. LORE pulls nomic-embed-text on your Ollama itself.
  • Embeddings from any OpenAI-compatible server (vLLM, LiteLLM, a gateway) with LORE_EMBED_BASE_URL, LORE_EMBED_MODEL and LORE_EMBED_API_KEY (#24). A model that returns the wrong vector width now gets a clear error (#28).
  • Configure the local model from the environment with LORE_LLM_BASE_URL, LORE_LLM_MODEL and LORE_LLM_API_KEY, for declarative installs and keys kept in a secret store (#26). The admin page shows when the key comes from the environment (#28).

Thanks to @davidgibbons for #24, #26 and #28.

Upgrading

  • Docker: docker compose pull && docker compose up -d. Also download the new docker-compose.yml, since the model-download step changed.
  • From source: git pull && uv sync && (cd web && npm ci && npm run build).