Releasesv0.19.8
v0.19.8 — provider-gateway hardening
To notatka do release'u w postaci, w jakiej ją opublikowano, a nie jej przeróbka. Notatki do release'u są publikowane w języku, w którym zostały napisane.
The 16th adversarial review swept the provider gateway (LLM failover / key rotation / retry / cost / cache) and found 4 real bugs, 1 HIGH. All fixed with regression tests.
Fixed
- 🎯 The completion cache no longer defeats consensus checks (HIGH). It served
temperature>0samples, sokidentical sampled requests returned byte-identical content — collapsing cascade agreement, the fusion router's agreement gate, and self-consistency into fake unanimity (false confidence). The cache now serves/stores only deterministic (temperature==0) requests. - An empty-content result is no longer cached — one malformed response would otherwise serve
""forever at $0 for that key. acomplete()now honors the credential pool — a pool-only config (CHIMERA_OPENROUTER_KEYSwith no single*_API_KEY) previously AUTH-failed.- The lazy key-rotator creation is lock-guarded against the fusion panel's threads.
The failover taxonomy, key rotation/cooldown, cache-hit $0 accounting, cost-on-actual-model-after-failover, atomic cache writes, streaming reassembly and budget clamp all reviewed clean.
Gate: 1468 passed / 4 skipped, mypy + ruff green.
Upgrade: `pip install --upgrade 'chimera-agent[full]'`