• v0.14.1
    Release / build (push) Successful in 1m59s
    Release / notes (push) Successful in 5s
    CI / test (push) Successful in 8m37s
    Stable

    gitea-actions released this 2026-10-09 10:11:23 +02:00 | 304 commits to main since this release

    Adapters trained on the nodes from a knowledge base and kept private to
    their owners; the cluster's and the agents' settings edited in one place;
    the tenancy tree and keys over the admin API and in Terraform; knowledge
    bases that hold up with many documents; the firewall setting on every
    machine.

    Upgrading.

    • Nodes need this release to follow agents.* in the cluster's
      settings; until a node is upgraded its agent.yaml is what it runs on.
    • A separate mirror machine and store members that run nothing else
      follow the firewall setting once what reads it is installed: run sudo llmgw mirror init on the mirror again with the flags it was set up with,
      and llmgw server init --patroni again for the store's members. A control
      plane set up before v0.12.0 needs sudo llmgw firewall sync --install.
    • The store's PostgreSQL memory applies after each member is restarted,
      one at a time, the leader last; until then it runs as before.
    • The store gains tables and columns; nothing to do. Existing knowledge-base
      collections get their full-text index when a control plane starts, and
      keep vector storage; only new collections use halfvec, and only on
      pgvector 0.7 or later.
    • Cached knowledge-base passages in vLLM are made again once, under the new
      cache_salt.

    Added

    • The cluster's settings on the portal (BACKLOG E4): /admin/settings
      for administrators. It edits the document llmgw ctl config edit opens:
      checked as a control plane would load it, refused when made from a
      version since replaced, with the history to view and roll back. Changes
      are audited by size, never by contents.
    • The nodes' agent settings in the cluster's settings (BACKLOG E3):
      agents.default and agents.nodes.<id> hold everything agent.yaml can
      say but the agent's id, control planes, address and certificate. They are
      sent to the agents as they change; an agent starts again on new settings,
      or on an edited agent.yaml, with its engines serving throughout. Settings
      that would not load are refused on save, and set aside on a node rather
      than keep its agent from starting. Nodes need this release to follow
      them.
    • LoRA adapters trained on the nodes (BACKLOG F4): llmgw ctl kb dataset
      writes question/answer pairs from a collection with a model of the
      cluster. llmgw ctl train start trains an adapter on a node with its
      installed vLLM's torch and a small overlay, on a card with enough memory
      free (beside an engine, if it leaves that much), converting to GGUF for
      llama.cpp. llmgw ctl train publish keeps it on the mirror (which now
      accepts uploads) and makes it the model's adapter.
    • Adapters with owners. An adapter's owner (org, team, project, user
      or key) is the only part of the tree that sees it; to anyone else it is a
      model that does not exist. An adapter trained on a knowledge base belongs
      to a part of the tree that may read it, and is never made public.
    • The knowledge bases' vLLM cache_salt follows the collections searched,
      not the organization, so two teams of one organization no longer share
      cached passages.
    • Organizations, teams, projects, API keys and memberships in the admin
      API
      : /api/v1/orgs (the tree), POST /api/v1/teams and projects,
      PATCH to rename or move, DELETE for what is empty; /api/v1/keys to
      issue (the key is in the answer, once), list and revoke; /api/v1/users
      and /api/v1/users/{id}/memberships. They were only llmgw org, keys
      and users on a control plane before. The Terraform provider manages them
      as llmgw_org, llmgw_team, llmgw_project, llmgw_key (the key in a
      sensitive secret) and llmgw_membership.
    • The firewall setting reaches every machine. A separate mirror and the
      store's members follow firewall.enabled and firewall_networks as nodes
      and control planes did: the leading control plane tells the mirror over
      its API, and keeps the state in the store for members that run no llmgw,
      which a timer on each reads. The mirror also lets in the network of every
      node the leader knows. mirror init and server init --patroni install
      what follows it; run them again on a cluster set up before.

    Changed

    • The store's PostgreSQL is sized to its machine's memory. Before, it ran
      on PostgreSQL's defaults (128MB cache) under Patroni, or on 96MB on one
      machine. Now each member gets a share of its own RAM, a smaller one where
      a control plane or agent shares the machine, and the share is read again
      every time server init --patroni runs. The new cache is applied by
      restarting one member at a time, the leader last.
    • Knowledge-base searches hold up with many documents. New collections
      store their index as halfvec where pgvector is 0.7 or later (half the
      memory, and embeddings up to 4000 dimensions instead of 2000); older
      collections, and clusters on pgvector 0.6, keep vector. Each collection
      has its own full-text index, as it has its own vector index, made for
      existing collections when the control plane starts. The text arm ranks by
      the cheap measure first and scores only those candidates.

    Fixed

    • A knowledge-base search asking for more than 10 passages
      (X-Llmgw-Knowledge-K) got at most 40 candidates per collection from the
      vector index, whatever it asked for: pgvector's hnsw.ef_search is now
      raised to the number wanted, up to 1000.
    • llmgw server backup and restore against a replicated store over TLS
      failed looking for ~/.postgresql/root.crt: pg_dump was given
      sslmode=verify-full without the cluster's authority.
    Downloads