9router/open-sse
omar-nahhas 41606a37a3 fix(usage): don't lose cached tokens in the forced-SSE->JSON path
handleForcedSSEToJson dropped cached prompt tokens in two ways: the
Responses branch summed only input_tokens, which excludes cache_read
and cache_creation on cache-capable upstreams (measured 2012 reported
vs ~5344 actual, 5332 from cache); and the Chat Completions branch
computed usage correctly but it didn't always reach the client (an
Anthropic response with cache_read_input_tokens: 11022 arrived with no
usage field at all). Now folds cache counters into prompt_tokens,
surfaces them via prompt_tokens_details, and re-attaches usage before
serialisation.
2026-08-05 10:45:55 +07:00
..
config fix(kiro): canonicalize tool history and route API keys correctly 2026-07-29 19:27:41 +07:00
executors # v0.5.45 (2026-07-30) 2026-07-30 09:43:55 +07:00
handlers fix(usage): don't lose cached tokens in the forced-SSE->JSON path 2026-08-05 10:45:55 +07:00
providers fix(providers): count apikey connections for ollama freeTier provider 2026-08-05 10:34:44 +07:00
rtk feat(pxpipe): PXPIPE token saver — multimodal prompt compression (#2465) 2026-07-10 16:10:42 +07:00
services feat: Ollama Cloud quota tracker + proactive background OAuth refresh 2026-08-02 09:34:27 +07:00
shared chore: drop source-attribution comments from provider code 2026-07-29 21:05:23 +07:00
transformer fix(codex): harden streaming timeouts + Responses terminal events 2026-06-06 16:07:43 +07:00
translator fix(translator): drop JSON Schema keywords Gemini has no field for 2026-08-05 10:42:54 +07:00
utils fix(kiro): canonicalize tool history and route API keys correctly 2026-07-29 19:27:41 +07:00
.npmignore Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
AGENTS.md feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
index.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00