Repository navigation
Highlights
Embeddings and reranking can now point at their own endpoint with their own credentials, independently of the chat provider. Two new HTTP rerank backends come with it.
Upgrading
Nothing to do — this release needs no migration and changes no behaviour for an existing install.
Every new field defaults to empty, and empty means "inherit from the LLM section" (D-27), so each role resolves exactly where it resolved before. Settings persist as a single JSON blob, so existing rows pick up the defaults without an Alembic revision.
Two things to be aware of if you start using the new fields:
- A role that names its own endpoint no longer inherits the chat key. Previously, inheritance was keyed on provider type alone, so pointing embeddings or reranking at a third-party host would have sent your chat provider's key to that host. A role with its own endpoint must now bring its own key, or send none. Sending none is supported — self-hosted vLLM, LocalAI and TEI often need no auth, and those requests use the documented
EMPTYplaceholder. - Repointing embeddings at a different endpoint now triggers a re-index prompt. The check used to compare only provider and model name, so moving to a different server running the same model would have silently mixed two incompatible vector spaces in one collection. Rotating a key against the same endpoint does not prompt — identical vectors, no re-index needed.
What's Changed
- Per-role provider routing (#219) —
embed_base_url/embed_credentialsandrerank_base_url/rerank_api_key, each settable in the AI Provider tab.embed_provider = "openai"no longer requiresllm_provider = "openai". - Two new rerank methods (#219) —
cohere_api(the Cohere rerank wire format, also spoken by Jina, vLLM and Infinity) andtei(Hugging Face Text Embeddings Inference), alongside the existingllm,localandapi. - Fix: Select custom fields are handled correctly (#197).
- Japanese translation added by @lockdlock (#153).
- Build:
.claudeis excluded from the Docker build context (#189). - CI: the npm audit gate is scoped to newly-introduced advisories, with Python bumps grouped (#185).
- 65 dependency updates.
Full changelog: v1.1.2...v1.2.0