Commit Graph
2 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 7d8d6c3ef1 proxy v6.50: two boxes behind one endpoint (role 10, discussion #45)
A box whose config directory holds pair.json sends each generation that names a model of this
repo's lanes to the box that serves it: its own engine, or a peer's proxy with that peer's key
(decisions 961-966). A lane name no box serves is refused (404, in the client's dialect, with what
each box serves) instead of being answered by another model; a request a peer sends on carries
X-Alzeo-Pair-Hop and is served where it lands or refused (409), never sent on again, and the
entry reads the lists again on that 409, so a peer that switched since its list was read never
serves the old model's request. Any other name (claude-*, gpt-*, none) stays on the entry box, as on
a box alone. GET /v1/models lists every box's models, each with its box. pair.json is read again
when it changes. A box without pair.json is what it was.

tests/test_proxy_pair.py: two real proxies in front of two fake engines, 15 tests, 12 of them
failing on v6.49 (the 3 others hold what does not change). The cockpit's outcome vocabulary and
role 9's list of departures know the new outcomes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:09:38 +01:00
Hasan BasbunarandClaude Opus 5.5 62e1a01b3d proxy v6.49: a long prompt sent again after its client left it says so, with what widens that client's timeout (#61)
Claude Code with its own default timeouts left a cold prompt of 500,161 tokens after 620 s, twice, then 300 s without streaming, twice, and the engine lost part of the prompt each time: the answer came after 35 min instead of 19 (the reference box, 2026-10-30). The journal said CLIENT GONE and the same body again. A client that leaves a request of at least 256 KiB after at least 60 s without an answer has its prompt hashed and kept for two minutes, and the same prompt sent again within them is written as RESENT, with the client's name from its User-Agent and what widens its timeout. Nothing relayed changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:56:40 +01:00