Commit Graph
2 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 0b27e26d99 proxy: the serving key is checked before a body is read
Without the identity wall, the engine's key is the port's one gate (README), and a
request without it still had its body read whole and, when large, counted by the
engine on the proxy's own key before the engine's 401. The proxy now applies the
engine's own rule first (measured on the live engine: bearer in any case, one space,
the key exactly) and answers the engine's own 401, before the body and before an
Expect: 100-continue invitation; /health and /metrics stay open. The test harnesses
decide which key their proxy holds, whatever HOME holds: those that give it one
present it, as every real client does, and those whose clients send none give it
none (the CI's offline step gives HOME a key). The cockpit knows the new outcome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:01:56 +02:00
Hasan BasbunarandClaude Opus 5.5 e4f167cbfd systemone-check.py: an ordinary completion is clean when it is a whole answer
The mixed-load check graded a streamed chat completion clean as soon as its body held
"data:", and through the proxy every stream does: its keepalive frames, a stream the
engine cut mid-answer and the abort for corrupted output are all data: events. It needs
text, a finish_reason, [DONE] and no error event now, and a plain answer needs content;
what failed is said. Found in review, 2026-09-24 (T5).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:13:14 +02:00