#1126·blinko

## Bug: Ollama provider calls `/embed` instead of `/api/embed`

Author: Lucas0511Created Mar 15, 2026Updated Sep 20, 2026
Labelsbug

Claude says I should report this:

Bug: Ollama provider calls /embed instead of /api/embed

Blinko version: latest Setup: Ollama running on host machine, Blinko in Docker (OrbStack)

Description

When using Ollama as the embedding provider, Blinko sends embedding requests to /embed, but Ollama's API endpoint is /api/embed. This results in a 404 page not found response from Ollama for every embedding request, making the Rebuild Embeddings feature completely non-functional with Ollama.

Steps to Reproduce

  1. Set up Blinko with an Ollama provider
  2. Configure an embedding model (e.g. nomic-embed-text:latest)
  3. Trigger Rebuild Embeddings
  4. Observe 404 page not found errors in Blinko logs

What Blinko sends

POST /embed

What Ollama expects

POST /api/embed

Ollama also supports /v1/embeddings (OpenAI-compatible), but not /embed or /v1/embed.

Workaround

Running a local proxy that rewrites /embed → /api/embed resolves the issue and embeddings work correctly.

Expected Behavior

The Ollama provider should call /api/embed (or /v1/embeddings) instead of /embed.