Repository navigation
Description
my system is having trouble with identifying models:
luok@hublx in ~ via v3.13.7 as 🧙
╰─λ curl 192.168.0.169:40114/internal/health
{"status":"healthy"}⏎
╭─luok@hublx in ~ via v3.13.7 as 🧙 took 0s
╰─λ curl 192.168.0.169:40114/internal/status/endpoints
{"timestamp":"2025-12-04T21:15:44.100049657+01:00","endpoints":[{"name":"local-llamacpp","type":"llamacpp","status":"healthy","health_check":"28s ago","response_time":"1ms","success_rate":"N/A","priority":100,"model_count":0,"request_count":0}],"total_count":1,"healthy_count":1,"routable_count":1}
╭─luok@hublx in ~ via v3.13.7 as 🧙 took 0s
╰─λ curl 192.168.0.169:40114/internal/status/models
{"timestamp":"2025-12-04T21:15:59.88380477+01:00","models_by_family":{},"recent_models":[],"total_models":0,"total_families":0,"total_endpoints":0}
But:
curl 192.168.0.169:8080/models
{"models":[{"name":"Qwen3-Next-80B-A3B-Instruct-UD-Q8_K_XL-00001-of-00002.gguf","model":"Qwen3-Next-80B-A3B-Instruct-UD-Q8_K_XL-00001-of-00002.gguf","modified_at":"","size":"","digest":"","type":"model","description":"","tags":[""],"capabilities":["completion"],"parameters":"","details":{"parent_model":"","format":"gguf","family":"","families":[""],"parameter_size":"","quantization_level":""}}],"object":"list","data":[{"id":"Qwen3-Next-80B-A3B-Instruct-UD-Q8_K_XL-00001-of-00002.gguf","object":"model","created":1764879484,"owned_by":"llamacpp","meta":{"vocab_type":2,"n_vocab":151936,"n_ctx_train":262144,"n_embd":2048,"n_params":79674391296,"size":85436689408}}]}
My config :
server:
host: "0.0.0.0"
port: 40114
proxy:
engine: "sherpa"
profile: "auto"
llama.cpp backend discovery
discovery:
type: static
static:
endpoints:
- url: "http://192.168.0.169:8080"
name: "local-llamacpp"
type: "llamacpp"
priority: 100
model_url: "/v1/models" # OpenAI-compatible endpoint
health_check_url: "/health" # llama.cpp health endpoint
check_interval: 2s
check_timeout: 1s
model_registry:
enable_unifier: true
logging:
level: "info" # debug, info, warn, error
Activity
thushan commentedon Dec 7, 2025
Thanks for reporting, will investigate and get back to you soon.
thushan commentedon Dec 9, 2025
Ah, i think we've figured out why this may not be working, because the model URL is set to
/v1/modelsand the profile forllamacppis also that but llamacpp server supports/models.I did realise that the
model_urlis not being overridden properly from the endpoint configuration, which is problematic.Give me sometime to apply a fix, test it and we can give you a build to test.
Just to confirm:
This is your endpoint config for Olla:
Lukas-tek-no-logic commentedon Dec 9, 2025
Hi, thanks for insvestigating.
Here is my olla version :
│ github.com/thushan/olla v0.0.21
and my llama.cpp version:
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = Radeon 8060S Graphics (RADV GFX1151) (radv) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 65536 | int dot: 1 | matrix cores: KHR_coopmat
version: 7251 (3d94e967a)
built with cc (GCC) 15.2.1 20251111 (Red Hat 15.2.1-4) for x86_64-redhat-linux
thushan commentedon Dec 14, 2025
Great news, I think we have a build that fixes this, it's just going through some final checks, we'll have a RC release tomorrow I hope (you can build from source otherwise).
thushan commentedon Dec 15, 2025
Hey,
See if v0.0.22 addresses things:
https://github.com/thushan/olla/releases/tag/v0.0.22
Lukas-tek-no-logic commentedon Dec 15, 2025
Hello,
updated to 0.0.22, and still same issue - not recognizing any models. Maybe I'm doing something wrong?
my config currently :
server:
host: "0.0.0.0"
port: 40114
proxy:
engine: "sherpa"
profile: "auto"
llama.cpp backend discovery
discovery:
type: static
static:
endpoints:
- url: "http://192.168.0.169:8080"
name: "local-llamacpp"
type: "llamacpp"
priority: 100
model_url: "/v1/models" # OpenAI-compatible endpoint
health_check_url: "/health" # llama.cpp health endpoint
check_interval: 2s
check_timeout: 1s
model_registry:
enable_unifier: true
logging:
level: "info" # debug, info, warn, error
thushan commentedon Dec 16, 2025
hey mate,
Ahhh I think i see the issue, your config doesn't have model discovery enabled.
My apologies, I think we should probably be better at documenting this, as you need to specify whether model discovery is enabled.
Here's a full configuration you can try with your server (.169) enabled, see if this works?
Lukas-tek-no-logic commentedon Dec 16, 2025
Thank you, it works!
This endpoint
/olla/openai/
correctly returns all models.
I have additional question - I see that having ollama.cpp I can correctly use those endpoints:
/olla/openai/v1/models | GET | OpenAI-compatible models
/olla/openai/ | | openai proxy
/olla/openai-compatible/v1/models | GET | openai-compatible models (OpenAI format)
/olla/openai-compatible/ | | openai-compatible proxy
but this is not working (at least in n8n):
/olla/ollama/
as it does not list any models.
One remark about configutarion - Beforehand I used example from:
olla/examples/claude-code-llamacpp
/olla.yaml
Maybe it would be good to update it with example from above as it works great.
Thanks!