Commit Graph
8 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 a4259d8f2b feat(control-plane): worker for a text-level engine behind the existing HTTP API
backend_worker drives any leleka_backend_api::Backend through the GenerationCommand
channel strata-next already uses. It maps the rendered prompt to the engine contract
(verified round trip of the ids), re-tokenizes text deltas with a byte-equality check,
recognises the stop literals, maps finish reasons, cancels on client disconnect,
guarantees a terminal event when the engine dies, and re-attaches by itself. What the
text contract cannot carry is refused. 23 HTTP tests over a scripted engine cover
Responses (JSON/SSE), Chat, tools, text.format, cancellation and engine faults.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 02:33:45 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 8b4b9b5d44 test(backend-api): scripted in-process engine implementing the Backend contract
Behind the scripted feature: scripted generations, cancel, faults (stream that ends
without a terminal event, failed and unasked-cancelled terminals), simulated engine
restart with stale handles. Not enabled by any production crate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 02:24:24 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3ca559cebc feat(serving): serve non-greedy requests through the Original sampler chain
backend-api carries SamplingOptions; backend.rs plans each request with the
validated SamplingParams instead of refusing temperature != 0; the output stage
bypasses the compact argmax for an armed request and draws with the bit-exact
host reference (counter = fed-token position, penalty history = prompt+generated).
MTP with sampling is refused explicitly. Desktop RPC only bounds temperature.
Docs: docs/sampler-reference.md (verified vs open).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:55:55 +02:00
Pavlo Ratushnyi 7cfce65570 feat(runtime): integrate explicit pinned MTP draft and verified generation 2026-10-10 00:26:09 +02:00
Pavlo Ratushnyi b4def64cf9 feat(linux): connect native CUDA runtime to gRPC daemon and CLI 2026-10-09 22:27:15 +02:00
Pavlo Ratushnyi af7437321c feat(backend): select explicit inference mode at model load 2026-10-09 20:31:37 +02:00
Pavlo Ratushnyi c6a3fc7e42 feat(engine): extract Rust GGUF foundation and enforce model capability tuples 2026-10-07 20:33:15 +02:00
Pavlo Ratushnyi 1e98febce6 feat: add versioned inference backend contract 2026-10-05 18:04:20 +02:00