Skip to content

os/v3/puppy: the console names the engine of whichever model loaded first, not the one answering #1049

Closed

Description

@bong-water-water-bong

The console's LEMONADE engine: row picks its model with loaded.first() (os/v3/puppy/console-tui/src/facts.rs, engine_of), where loaded is every entry of /api/v1/health's all_models_loaded[], in array (= load) order.

Lemonade loads one model per type and reports them all in that one array - its own docs (third_party/lemonade/docs/api/lemonade.md, the /v1/health response) show an embedding entry sitting beside the llm, with max_models: {llm:1, embedding:1, reranking:1, ...} and a separate top-level model_loaded ("model name of the most recently accessed model"). This box's /api/v1/health reports exactly that max_models shape.

So a box with an embedding model loaded before the chat model prints the embedding's recipe/device as the engine that is serving, which is exactly the question the row exists to answer ("is onebit's HRX/NPU path or a rival backend the one answering").

Measured on main 1cd4e4bc before the fix, with the catalogue and health body from the docs above (nomic-embed loaded first on llamacpp/cpu, qwen3-0.6b-1bit loaded second on flm/npu, model_loaded: qwen3-0.6b-1bit):

left:  Some("llamacpp (cpu)")   <- the embedding
right: Some("flm (npu)")        <- what is answering

Fix: prefer model_loaded, then the first loaded entry the catalogue knows (which also stops a stale model_loaded from blanking the row). Found by pr_agent on #1041.

Activity

  1. added a commit that references this issue on Nov 5, 2026
    eff0bb4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions