control-plane wire.rs builds GEN/GENI lines through RequestSampling::gen_keys plus strata_tune and the per-request cvec switch (golden-tested against the real StrataEngine.generate); Responses, Chat Completions and Messages accept and validate top_k, min_p, repetition/frequency/presence penalties, penalty_last_n, seed and the engine knobs with the Original's defaults and ranges; server-wide defaults (config sampling block plus POST /settings shared values) merge under the request. The desktop runtime gRPC contract carries the full sampling set and the gateway no longer refuses temperature != 0. New crate leleka-serving-policy holds the pure Original policies (shared settings, reasoning budget tracker, fixed-point sampling conversion) with fixtures generated by running the Python handlers. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
15 lines
444 B
TOML
15 lines
444 B
TOML
[package]
|
|
name = "leleka-serving-policy"
|
|
version = "0.1.0"
|
|
description = "Pure Rust ports of the Original Strata serving-layer policies: shared settings, reasoning budget, stall watchdog, CORS, idle unload, logits stride, image positions, control vectors"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
leleka-sampler-ref = { path = "../sampler-ref" }
|
|
serde_json = "1"
|
|
|
|
[lints]
|
|
workspace = true
|