Repository navigation
Providers and local models
Eventide Quill talks to AI models through endpoints you configure under Settings → Eventide Quill → AI providers. Quill is local-model first: point it at LM Studio or Ollama and every request stays on your machine, and the cloud providers are there if you want them. Nothing is sent anywhere until an AI surface you triggered needs a model — the full map of what can leave your machine lives on the Privacy and network page.
A local setup is two pieces of software that never touch the internet: your writing in Obsidian, and a model server on your own hardware. Add an OpenAI-compatible provider (LM Studio's default address, http://localhost:1234/v1, is pre-filled) or an Ollama provider (http://localhost:11434), pick models, and every feature — reviews, the co-writer, the linter's AI fixes — runs against that endpoint. There is no Quill account and no Quill server. And with no provider configured at all, the deterministic core still works: the prose linter, the manuscript dashboard, and the lorebook scanning run entirely on their own (see Manuscript dashboard and Prose linter).
Click Add provider and pick one of four types:
-
OpenAI-compatible — LM Studio, llama.cpp's server, or any endpoint speaking the OpenAI chat API. Default endpoint
http://localhost:1234/v1. -
Ollama — native Ollama API. Default endpoint
http://localhost:11434; local-only, so it has no API-key field. -
Anthropic Claude (native Messages API) —
https://api.anthropic.com/v1. -
Google Gemini (native GenerateContent API) —
https://generativelanguage.googleapis.com/v1beta.
Anthropic and Gemini speak their native APIs rather than an OpenAI-compatible shim, so Anthropic requests get prompt caching on the system prompt, and Gemini safety-filter blocks are reported clearly instead of failing mysteriously. Both vendors also publish official OpenAI-compatible endpoints — if you prefer that path, add them as an OpenAI-compatible provider instead. New providers start with a Context window of 32768 and Max output tokens of 4096. Anthropic offers no embeddings API, so configure embeddings on a different provider.
Every model you add to a provider gets a role from a dropdown: Chat, Embed, Both, Chat + image, or Image. Quill resolves models by capability, never by guessing from model names: chat requests go to a Chat, Both, or Chat + image model; embeddings to Embed or Both; images to an Image or Chat + image model. That rule is the guarantee that a text-only chat model never receives pixels — if your chat model isn't vision-capable, images are translated to text before they reach it (how that looks in chat is on the Co-writer and tools page).
The Default models page (under AI providers) holds three pickers: Default chat model, Default embed model, and Default image model. Each stores a provider/model pair, and the image model may live on a different provider than chat, since its caption call is self-contained. Changing the embed model invalidates all cached embeddings (Quill asks first) — what embeddings are used for is covered under Context management. Deleting a provider clears any default-model entries that pointed at it.
For vision, the two roles give you a choice: Chat + image puts text and pixels on one model (the simple setup when your chat model is vision-capable), while a separate Image model acts as a translator when your chat model is text-only. Quill picks the path automatically from your configuration at send time; the routing rules are described alongside images in chat on the Co-writer and tools page.
Each provider opens into a card with:
- Name, Type, and Endpoint URL (used as-is, no path manipulation). Changing the Type resets the endpoint to that type's default — switching to Ollama also clears the API key, since Ollama is local-only.
- API key — required for Anthropic, optional for OpenAI-compatible, absent for Ollama. The input is password-masked, and the key is stored locally in your plugin settings (see Privacy and network).
- Context window — a dropdown of powers of two from 4096 to 131072 plus a Custom... option for anything else (say, an odd 24576).
- Max output tokens — the per-response ceiling for all models on the endpoint.
-
Extra request parameters — advanced: a JSON object merged into every chat request body, for gateway knobs Quill doesn't model (like
{"reasoning_effort": "high"}). Malformed JSON is flagged in a dedicated error row and never sent; the reserved keysmodel,messages, andstreamcan't be overridden. (Gemini's request body is nested, so this merge is shallow — the setting links Google's schema documentation.) - Model rows, one per model, each with a role dropdown and a Model ID (the exact identifier your server exposes), plus Add model and Remove model. A new row defaults to the Chat role when it's the first model on the provider, and to Embed afterwards — adjust to taste.
- Test connection and Test embeddings buttons that fire a minimal request and report the result as a notice.
- A confirmed Delete provider row; default-model entries pointing at the provider are cleared with it.
Fetch models (the search button on a model row) pulls the live list from the endpoint so you don't have to hand-type IDs. It does one more useful thing: when the server reports a model's context length, each row in the picker shows it (for example, "131,072 context tokens"). LM Studio exposes this; llama.cpp's server doesn't, so its rows show no hint rather than a guess. Anthropic and Gemini report their limits natively. If you select a model whose reported context is smaller than the card's configured Context window, Quill immediately warns you, naming both numbers — requests would fail server-side before compaction could help. Why these numbers must match your server's actual configuration is the core topic of Context management.
The first time you add an Anthropic provider — or switch a provider's type to Anthropic — Quill shows a "Before you add Anthropic Claude" warning you must confirm with "I understand the risk — continue". The short version: Anthropic's policy prohibits sexually explicit content and graphic violence for all API access, including content you submit for critique or analysis, the filter is automated and account-level, and repeated violations — even from prose you already wrote — can terminate your account and forfeit remaining credits. There is no free tier: new accounts get a one-time $5 credit, then pay-as-you-go, and consumer Claude Pro/Max subscriptions do not include API access. If you write romance, erotica, horror, or dark fantasy, Gemini or a local provider doesn't carry this account-level risk. The acknowledgment is remembered locally and the warning doesn't repeat.
On desktop, responses stream token by token. On mobile, Obsidian's request layer can't stream, so responses arrive buffered — the full text lands at once when the model finishes. Both paths talk to the same endpoint with the same request; only the delivery differs.
One honest caveat for mobile: when your phone locks or switches apps, the OS suspends Obsidian and kills whatever request was in flight. Quill cannot keep that request alive — no plugin can. What it does do is detect the situation: if you background the app mid-generation, a notice on resume explains that the flow likely failed and how to recover, long AI flows show an occasional (at most once per ten minutes) reminder to keep the app in focus, and network-drop errors on mobile get a hint pointing at backgrounding as the likely cause instead of a raw websocket exception.
Note
Introduced in Quill 2.2.0.
The AI response language setting (Settings → Eventide Quill → Model behaviors, "Response language" section) takes free-form text — "French", "Français", "Japanese". When set, every AI response — reviews, co-writer replies, explanations, questions, suggestion labels — is written in that language. Drafted and rewritten story prose is deliberately excluded: continuations and rewrites follow the language your manuscript is written in, unless you explicitly ask otherwise. Leave it empty and the model decides. Quill's own prompts are English-authored, so this setting is what keeps an English system prompt from dragging a non-English writer's answers into English.