Перейти к содержимому
Oleaflyv0.4.1

Connect a local model and prepare a writing workflow you can use without a network connection.

Это содержимое пока не доступно на вашем языке.

Ollama runs downloaded models on your computer. Connect it to Oleafly to use local AI alongside your manuscript. Prepare the model and document dependencies while you have a connection, then test the workflow you intend to use offline.

Install Ollama from its official download page. Open Ollama, or start its local server from a terminal:

Terminal window
ollama serve

If Ollama is already running, use that existing server. Download a model that fits your computer. For example:

Terminal window
ollama pull qwen3:8b
ollama list

The first command downloads a model; the second lists local models. Model size, available memory, and context length affect speed. Ollama’s documentation describes supported models and system setup.

Settings → AI Assistant → Providers and keys. Expand Ollama (local) at the bottom of the provider list to check the server and choose a model.
Settings → AI Assistant → Providers and keys. Expand Ollama (local) at the bottom of the provider list to check the server and choose a model. Open full screenshot
  1. Open Settings → AI Assistant → Providers and keys.
  2. Expand Ollama.
  3. Choose Check for Ollama.
  4. Inspect the status and installed-model list.

If the app finds an installed but stopped Ollama, Start Ollama starts it. Choose Re-check after the server starts or after downloading another model.

Select a model from the detected list and use the card’s action to apply it. Open the assistant and confirm that the local model is selected before sending a message.

Try this with a practice document:

Explain the structure of this document. List its sections without changing any files.

For edits or compilation, use a model that supports the tool behavior Oleafly needs. Check the model’s capability result; a model that can chat is not automatically able to execute a reliable tool workflow.

Choose Change host (advanced) to edit the Ollama server address. The usual local host is http://127.0.0.1:11434. Use the built-in Ollama card with the server host; the /v1 suffix belongs to an OpenAI-compatible endpoint configuration.

A server running on another computer is a network connection. Use the local loopback address when you want processing to stay on this computer.

For a custom OpenAI-compatible connection, use Ollama’s endpoint http://localhost:11434/v1/. Ollama accepts the compatibility client’s required API-key field without treating it as a cloud credential. See Ollama’s compatibility guide and custom providers.

Open the document and compile it successfully while connected. Tectonic downloads missing TeX packages as needed and caches them. Then enable Settings → General → Offline mode and compile again to check that the cache is sufficient.

For a system TeX engine, install the required distribution and packages before disconnecting. Keep images, bibliography files, included sections, and required fonts available locally.

  1. Open the project you will use.
  2. Confirm Ollama is running with the downloaded model selected.
  3. Disconnect from the network.
  4. Compile the document.
  5. Ask the local model to explain a paragraph.
  6. Try the specific edit or tool workflow you need and inspect the result.

Writing, local files, cached compilation, and local-model requests can continue. Online source discovery, GitHub sync, cloud models, and network MCP services need their own connections. Oleafly’s Offline mode controls cached compilation and citation lookups; it is not a system-wide network firewall.

Use Disconnect on the provider card to remove Oleafly’s saved connection. This does not delete the models installed in Ollama.

Start Ollama, confirm the host and port, then Re-check. If the server reports that its port is already in use, inspect the existing instance before starting another.

Run ollama list. Download a model, wait for the download to finish, and Re-check in Oleafly.

Inspect its capability state and try a model with tool support. Start with a small request that reads the project before asking for a long edit-and-compile sequence.

Try a smaller model or a shorter, more focused request. Attach the relevant file or section rather than asking for an entire thesis review at once.

Image preview

AI answers couldn’t load

Try again, or search the documentation.