Skip to content

ctx v5.35.1

Choose a tag to compare

@github-actions github-actions released this 10 Nov 12:42
· 120 commits to root since this release
v5.35.1
13ee8a4

v5.35.1 — embeddings pass the backend's length limit on; store and MCP fixes

Patch release after v5.35.0. No migration, no new setting.

Gateway: POST /v1/embeddings no longer refuses an input by an estimate of
its own (9/5 of a row's declared window, fallback 3686 characters, code
ceiling 32768). The backend judges the length. Its refusal is the client's
400 context_length_exceeded at every sub-block, with the input named in
param; a later sub-block was a retryable 503 before. The alias key
embedding.max_input_runes stays as an operator's optional limit, without a
code ceiling. Ollama rows get truncate:false on the gateway wire, so an
overlong input is refused instead of cut. (#224)

Embedding client: a block a ctx gateway refused as too long
(context_length_exceeded) is parked as oversize instead of retried on the
backoff curve. (#224)

Store: the identical-content check also runs on MCP store and ingest and
in chunk mode (#165); one block-type resolve per store request (#167); the
chunk slot check follows InsertChunk's arbiter and reads the source id as
a uuid (#186, pin #192).

MCP: the query tool keeps its response alive from the first tick (#189).

Installation

With Go:

go install github.com/GottZ/ctx/cmd/ctx@v5.35.1

Binary download:
Download the binary for your platform (and SHA256SUMS), verify both, then install:

gh attestation verify ctx-<os>-<arch> -R GottZ/ctx   # signed build provenance
# offline: add --bundle ctx.intoto.jsonl (Sigstore bundle attached to this release)
sha256sum -c --ignore-missing SHA256SUMS            # download integrity
chmod +x ctx-*
sudo mv ctx-* /usr/local/bin/ctx