9router/open-sse
Nguyen Thanh Dat 59d858b639 fix(usage): read Gemini usageMetadata out of the antigravity response envelope
Antigravity and gemini-cli wrap their payload in { response: {...} }.
extractUsageFromResponse only tested top-level usageMetadata, so every
non-streaming antigravity request logged zero usage (IN 0 | OUT 0) and
zeroed rows in the usage dashboard. Read the envelope the same way
usageTracking.js and nonStreamingHandler.js already do; top-level
metadata keeps priority and the OpenAI/Claude branches are untouched.

Fixes #3260
2026-08-14 16:34:54 +07:00
..
config fix(oauth): scope antigravity header fixes to loadCodeAssist/onboardUser only 2026-08-05 16:40:09 +07:00
executors fix(opencode): send official client headers on free-tier requests 2026-08-13 12:13:51 +07:00
handlers fix(usage): read Gemini usageMetadata out of the antigravity response envelope 2026-08-14 16:34:54 +07:00
providers feat(providers): add Alibaba Token Plan (token-plan.ap-southeast-1) 2026-08-14 16:32:54 +07:00
rtk feat(headroom): report effective payload savings 2026-08-05 11:32:38 +07:00
services feat(antigravity): add Gemini 3.7 Flash models (#3286, #3281) 2026-08-14 16:27:10 +07:00
shared feat(qoder): support PAT (Personal Access Token) connections end-to-end 2026-08-05 11:16:50 +07:00
transformer fix(codex): harden streaming timeouts + Responses terminal events 2026-06-06 16:07:43 +07:00
translator fix(claude): re-anchor passthrough cache breakpoints with 1h TTL 2026-08-14 16:08:30 +07:00
utils fix(passthrough): detect codex-tui/Codex Desktop as native Codex client 2026-08-05 15:53:20 +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 fix(providers): remove Qwen provider support 2026-08-05 16:17:26 +07:00