Files
dsh-cost-plugin/docs
antonov c9d2314bb2 Verify the tee interception on a live stream
Spike proves response.body.tee() splits a real routerai SSE stream: the
consumer sees chunks progressively (first at 1ms of 1643ms) and our branch
still recovers the generation id and usage.cost. It also found a real
defect -- a rebuilt Response loses url, which the OpenAI SDK reads -- and
that Object.defineProperty is the only way to restore it.
2026-10-15 13:02:32 +03:00
..