-
v0.14.1
Stablereleased this
2026-10-09 10:11:23 +02:00 | 304 commits to main since this releaseAdapters 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: runsudo llmgw mirror initon the mirror again with the flags it was set up with,
andllmgw server init --patroniagain for the store's members. A control
plane set up before v0.12.0 needssudo 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
keepvectorstorage; only new collections usehalfvec, 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 documentllmgw ctl config editopens:
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.defaultandagents.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 starttrains 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 publishkeeps 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_saltfollows 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/teamsandprojects,
PATCHto rename or move,DELETEfor what is empty;/api/v1/keysto
issue (the key is in the answer, once), list and revoke;/api/v1/users
and/api/v1/users/{id}/memberships. They were onlyllmgw org,keys
anduserson a control plane before. The Terraform provider manages them
asllmgw_org,llmgw_team,llmgw_project,llmgw_key(the key in a
sensitivesecret) andllmgw_membership. - The firewall setting reaches every machine. A separate mirror and the
store's members followfirewall.enabledandfirewall_networksas 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 initandserver init --patroniinstall
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 timeserver init --patroniruns. 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 ashalfvecwhere 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, keepvector. 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'shnsw.ef_searchis now
raised to the number wanted, up to 1000. llmgw server backupandrestoreagainst a replicated store over TLS
failed looking for~/.postgresql/root.crt: pg_dump was given
sslmode=verify-fullwithout the cluster's authority.
Downloads
- Nodes need this release to follow