providers: map.
Flow:
Client -> GoModel -> ollama-a / ollama-b
1. Create a host-side config.yml
2. Run GoModel and mount the config
The file can be named
config.yml on the host. The important part is the
bind mount target: GoModel reads /app/config/config.yaml inside the
container.3. Verify the model registry
ollama-a/llama3.2ollama-b/llama3.2
4. Route to a specific Ollama backend
llama3.2 and both providers
expose it, GoModel will route the request to one provider based on provider
registration order. To choose a specific Ollama backend, use the qualified form
such as ollama-a/llama3.2 or ollama-b/llama3.2.
Validated on April 6, 2026
This guide was validated with:enterpilot/gomodel:latest- a bind-mounted host
config.yml - two Ollama-compatible upstream endpoints exposed as separate provider names