Skip to content

Releases

v0.8.6

Choose a tag to compare

@github-actions github-actions released this 04 Dec 19:11
c9cb33f

What's Changed

  • Accept Phala gateway builds its on-chain allowlist lists, no release needed by @zengjiajun0623 in #68

Full Changelog: v0.8.5...v0.8.6

v0.8.5

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:42
192e556

What's Changed

  • Accept tee.redpill.ai's new build: private-ai-gateway 9bbd127 on dstack-0.5.15 by @zengjiajun0623 in #67

Full Changelog: v0.8.4...v0.8.5

v0.8.4

Choose a tag to compare

@github-actions github-actions released this 01 Dec 23:01
cd4331e

What's Changed

Full Changelog: v0.8.3...v0.8.4

v0.8.3

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:12
b9be619

What's Changed

  • Accept tee.redpill.ai's new build (gateway 65ee9f2, dstack-0.5.15) by @zengjiajun0623 in #65

Full Changelog: v0.8.2...v0.8.3

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:47
64bf0fe

What's Changed

  • Serve a node past its daily quota on spare slots (--spare-over-quota) by @zengjiajun0623 in #64

Full Changelog: v0.8.1...v0.8.2

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 04:46
b4798e8

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 02:41
18d9bdc

E2EE v2.1 for sealed (TEE) models

This release can seal requests with E2EE v2.1. It is used on its own accord as soon as the TEE behind a tee/ model lists a v2.1 key in its attested key list, and from then on never anything weaker. X-BitLLM-TEE says which version an answer got: e2ee=v2.1 or e2ee=v2.

Today the two sponsored models still answer with e2ee=v2, because the production TEE takes v2 only. Nothing changes for them until that TEE is upgraded. Nodes with auto-update on move to this release by themselves.

With e2ee=v2.1:

  • Tool call arguments are sealed, in the request and in the answer, beside your messages, the system prompt, tool results, the model's reasoning and its answer.
  • A relaying server cannot change the request. A digest of the whole body is sealed to the TEE with it: no message added or dropped, no max_tokens raised, no tool taken out.
  • A relaying server cannot replace an answer or read one with a key of its own. Every answer carries a keyed checksum that only the TEE that opened your request can make.

What v2.1 still does not do

  • A streamed answer can lose a piece. Its events are not numbered. Each event that reaches you is the TEE's own and unchanged, but a relaying server can drop one from the middle, repeat one or reorder them. For a streamed tool call that can change its arguments. X-BitLLM-TEE says stream=unsequenced on every streamed answer. An answer that is not streamed has no such gap: if an agent's tool calls must arrive exactly as the model wrote them, ask with "stream": false.
  • Tool definitions and tool names stay readable, with a response_format schema, stop sequences and everything else that is not message text. They cannot be changed. The header names them after readable=.
  • Errors are not authenticated. A relaying server can make up a refusal.

For operators

  • A node that relays for a TEE (--e2ee-only) must run this release before its TEE lists a v2.1 key. An older node refuses a v2.1 request, and the client then reports that the server must update. It still serves v2 clients as before.
  • A v2.1 request cannot be changed on the way, so a relay checks it instead of rewriting it. Clients on this release send requests that pass. A relay's --max-tokens is told to the client in the refusal, and the client asks again within it.

Full Changelog: v0.7.1...v0.8.0

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:42
bea8475

Security fixes for sealed (TEE) models

Update if you use tee/ models. Nodes with auto-update on move by themselves.

  • A debuggable TEE was accepted. In a debuggable TD the host can read the TD's memory, including the key your prompts are sealed to, and the same image measures the same with debug on. Verification now refuses it. Found by @Reytian (#52). Affects v0.6.0 to v0.7.0.
  • Unsealed text is no longer passed on. On streamed answers, a line the gateway did not recognise as data went to your client unopened: a chunk with a leading space, one split over several lines, one behind a carriage return. Now each data line must be one whole JSON object, is opened, and nothing else goes on.
  • Tool calls nobody asked for. If your request offered no tools, an answer that carries a tool call is refused (#52). When a request does carry tools, X-BitLLM-TEE ends with tools=unsealed.

What sealing does not do yet

Stated plainly, because earlier notes were not clear about it:

  • It does not prove who wrote an answer. A relaying server cannot read a sealed answer, but it can replace one with text of its own. Detecting that takes the TEE's signed receipts or E2EE v2.1, and this release checks neither. Support for v2.1 is in progress.
  • Tool definitions and tool calls are not sealed under E2EE v2. A relay can read and change them.

The two sponsored models are relayed by a node the maintainers run.

New

  • --tee-policy FILE: accept TEE builds of your own beside the ones the release trusts, so a TEE no release lists can be used by the people who trust it. When a node meets a build it does not accept, the refusal ends with that build's entry, ready to paste into the file.

Full Changelog: v0.7.0...v0.7.1

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 22:54
b4dd02b

Sealed models, declared by the servers that run them

  • tee/ names. A model served from a TEE is now listed as tee/<model>, for example tee/phala/deepseek-v4.1-flash-1017-uncensored. Asking for the tee/ name is how you require sealing: the request goes only to servers whose TEE your node verified itself, and never in the clear. The old name of the Phala model keeps working.
  • No list in the client. A server started with --e2ee-only says in its announce which models it seals. A release no longer has to name a model before it can be served sealed, and each server's TEE is verified by itself, so several providers can offer the same model from different TEEs.
  • Claude Code works with sealed models. /v1/messages requests for a tee/ model are turned into chat requests on your machine before they are sealed. Set the tee/ name as the model; nothing else changes.
  • Fix: a relay could pass its own text as the TEE's answer. An answer whose content came as a list of parts, or under member names in another letter case, was passed on without being opened. The first affected the chat route in v0.6.0 and v0.6.1. Such answers are now refused.

Known limit of the encryption (E2EE v2): tool definitions, and the name and arguments of every tool call, are not sealed. The relaying server can read them and could change them. For a coding agent that includes the shell commands it runs and the text it writes to files.

Older clients see a newly sealed model under its plain name and are refused with "update bitllm" when they use it.

Full Changelog: v0.6.1...v0.7.0

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:35
993cd81

What's Changed

  • Check the TEE's Intel TCB status; label each model's privacy tier by @zengjiajun0623 in #51
  • Node-side abuse limits: deny.txt, throttle.txt, probation for new ids by @zengjiajun0623 in #54

Full Changelog: v0.6.0...v0.6.1