Back to News

Olla v0.2.0: Reliable Backend Failover, Rapid-MLX & Go 1.27

The Olla dashboard Overview: fleet status, live throughput and the herd at a glance.

Olla v0.2.0 focuses on what happens when a backend misbehaves. A backend that drops the connection, goes quiet mid-stream or dies halfway through a reply is now handled the way you'd expect: Olla fails over where it can, and where it can't, the client gets a clear error instead of something that looks like a finished response.

It also adds Rapid-MLX for Apple Silicon, tightens endpoint URL validation and moves to Go 1.27, which brings fewer allocations. Some of this changes what existing setups see, so read Before you upgrade first.

Backend failover and reliability

  • A backend that closes the connection before replying now fails over, thanks to @mikemikimike (#273)
  • An idle keep-alive close from vLLM or SGLang no longer marks a healthy backend offline or charges its circuit breaker (#277)
  • http: server closed idle connection on a reused connection now fails over instead of returning a 502 (#277)
  • The Olla engine enforces proxy.read_timeout on a backend that goes silent mid-stream, rather than waiting forever (#277)
  • A backend that dies mid-stream ends the response with an error in the stream's own format, so a truncated reply can't pass as a complete one (#274)
  • Client cancels and client timeouts no longer open the circuit breaker or count as failed requests, and a cancelled half-open probe frees its slot (#275)
  • A translator panic mid-stream drops the connection and is logged as a failure, and provider-prefix /v1/messages routes send Anthropic-shaped mid-stream errors (#277)

Rapid-MLX, routing and discovery

Olla now supports Rapid-MLX on Apple Silicon, with a rapid-mlx profile, the /olla/rapid-mlx/ prefix and native Anthropic passthrough for Claude Code. It was contributed by @raullenchai (#271), thank you.

  • type: auto endpoints loaded from config now discover their models. Previously vLLM, llama.cpp, oMLX and generic servers could be detected as Ollama with no models (#277)
  • Auto-detection with an explicit model_url no longer labels OpenAI-style servers as LM Studio (#277)
  • Model aliases match regardless of case when unification is on, and case variants share a sticky session, thanks to @wsj040303 (#270)
  • server.host accepts a bare IPv6 address such as ::, raised by @sigil-03 in #145 (#278)

Go 1.27 and tooling

  • Olla now builds on Go 1.27 with updated dependencies, and the codebase uses Go 1.27 idioms with no behaviour change (#280, #284)
  • Release images are built with GoReleaser's dockers_v2, and the published tags are unchanged (#280)
  • make lint now enforces modernize, usetesting and SA1029 (#284), and make lint and make align install their tools into a repo-local .bin/ at pinned versions (#283)

Before you upgrade

These are the changes that can alter what an existing setup sees. None need a code change unless the right-hand column applies to you.

Olla v0.2.0 behaviour changes and what to check
What changedWhat to check
Endpoint URLs are validated strictly (#281)url must be an absolute http:// or https:// URL, so localhost:11434 without a scheme now fails at startup. url, health_check_url and model_url must not contain @ or %40; credentials belong in the endpoint's auth block.
Unbracketed IPv6 endpoint URLs are rejected (#280)http://::1:11434 no longer parses. Use http://[::1]:11434.
macOS binaries need macOS 13 or later (#280)Go 1.27 dropped macOS 12. Linux, FreeBSD and Windows are unchanged.
Building from source needs Go 1.27 (#280)go.mod declares go 1.27.0 with toolchain go1.27.4. Container images and release binaries are unaffected, apart from the macOS change above.
A backend dying mid-stream now ends the response with an error (#274)The client gets an error event in the stream's own format (OpenAI SSE, Anthropic event: error or an Ollama NDJSON line), then the connection drops. Clients that treated a clean end of stream as success will see a read error on truncated replies.
Streaming Anthropic translation can return 502 (#274)When every backend fails before the first byte, the client gets a 502 instead of a 200 with an empty stream.
EOF before the first byte now fails over (#273)With the default proxy.retry.non_idempotent: true, a POST can now run on a second backend. Set it to false if a prompt running twice matters more than availability.
Auto-detection needs the server to identify itself (#271)With type: auto, llama.cpp, vLLM, oMLX and Rapid-MLX are only detected when /v1/models reports a matching owned_by. Anything else is openai-compatible, so set type explicitly if a backend lost its detected type.
Duplicate endpoint URLs now log a warning (#277)The warning names both endpoints. Only one of them ever registered, so remove or correct the duplicate.

olla --validate-config reports the endpoint URL problems above, so run it against your config before you roll this out.

Thanks

And thank you to every contributor who has sent a pull request, filed an issue or run Olla on their own hardware.

Upgrading to Olla v0.2.0

Run --validate-config before every upgrade. It checks config.yaml, models.yaml and every provider profile without starting the server, and exits non-zero if anything fails. We want everyone to do this first. This release rejects endpoint URLs without a scheme or with embedded credentials.

  1. Pull the new image
    docker pull ghcr.io/thushan/olla:v0.2.0
  2. Validate your existing config with the new version
    docker run --rm \
      -v "$(pwd)/config/config.local.yaml:/config/config.yaml:ro" \
      -e OLLA_CONFIG_FILE=/config/config.yaml \
      ghcr.io/thushan/olla:v0.2.0 \
      --validate-config
    Result: PASS - all configuration files are valid
  3. Only then, stop the running container
    docker rm -f olla
  4. Start it on the new image
    docker run -d --name olla -p 40114:40114 \
      -v "$(pwd)/config/config.local.yaml:/config/config.yaml:ro" \
      -e OLLA_CONFIG_FILE=/config/config.yaml \
      ghcr.io/thushan/olla:v0.2.0

The image runs olla as its entrypoint, so extra arguments go straight to it. Adjust the mount path to wherever your config lives, or grab a binary from the release assets and run olla --validate-config directly. The full list of changes, with a link for each, is in the v0.2.0 release notes.

Resources