9router/open-sse/handlers
hodtien 54e3245ace feat(usage): track cached tokens + correct input/output/cache cost (#2209)
Normalize every provider to one cache-inclusive convention via
canonicalizeUsage() before persist, and price cached + cache_creation as
subsets of prompt_tokens in calculateCostFromTokens() to stop
double-counting. usageRepo now delegates cost math to a single source.
Surface Cached tokens/cost across dashboard (overview, tokens, cost,
details). Merge Claude message_start cache with message_delta output so
cache counts survive. Compatible LLM nodes now allow multiple API-key
connections (key pool).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 15:18:27 +07:00
..
chatCore feat(usage): track cached tokens + correct input/output/cache cost (#2209) 2026-07-03 15:18:27 +07:00
embeddingProviders refactor(open-sse): B1 consolidate media endpoint URLs into registry 2026-06-14 13:58:12 +07:00
fetch Enhance token refresh functionality across multiple executors 2026-04-28 17:28:57 +07:00
imageProviders feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
search refactor(open-sse): B1 consolidate media endpoint URLs into registry 2026-06-14 13:58:12 +07:00
ttsProviders fix(tts): resolve Gemini TTS models from catalog 2026-06-26 10:32:34 +07:00
chatCore.js fix(usage): dedupe streaming request-details log entries 2026-07-03 15:14:49 +07:00
embeddingsCore.js Feat : Skills 2026-05-04 11:29:02 +07:00
imageGenerationCore.js feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
responsesHandler.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
sttCore.js refactor(open-sse): remove reverse coupling open-sse -> src (E2) 2026-06-13 16:35:07 +07:00
ttsCore.js feat: add STT support, Gemini TTS, and expand usage tracking 2026-05-05 10:32:59 +07:00