Commit Graph

1883 Commits

Author SHA1 Message Date
MMEXA
995be3781a fix(frontend): align usage APIs with Rust routes 2026-05-17 15:37:52 +00:00
MMEXA
ed570155a1 fix(gateway): redact credential query values in access logs 2026-05-17 15:26:56 +00:00
ZheFox
680b617b00 feat(gateway): route OpenAI image streams through chat bridge 2026-05-17 23:09:50 +08:00
RWDai
0a62e4bc77 Remove usage request path column 2026-05-17 23:05:02 +08:00
RWDai
96d40dd21d Infer usage client family from User-Agent 2026-05-17 23:04:31 +08:00
MMEXA
ff83b54c3b fix(gateway): reject empty Gemini success responses 2026-05-17 14:55:33 +00:00
MMEXA
81ff375bfd fix(gateway): route Gemini embedding batches correctly 2026-05-17 14:24:32 +00:00
dalamudx
b0fc6e68ef fix: add icon_url to mysql generated baseline 2026-05-17 22:00:28 +08:00
dalamudx
e1a73be2e1 fix: update schema baselines, logical schema, and snapshot cutoff for icon_url 2026-05-17 21:52:36 +08:00
dalamudx
cf2c74e8e8 fix: add new migration version to test whitelist 2026-05-17 21:42:56 +08:00
dalamudx
2cb01f7a69 fix: add missing icon_url arg in test helper 2026-05-17 21:40:54 +08:00
dalamudx
48deff15c4 fix(oauth): fix login failures and add provider icon_url config
- Fix FIND_OAUTH_LINKED_USER_SQL missing allowed_providers_mode columns
- Fix TOUCH_OAUTH_LINK_SQL json/jsonb type mismatch in COALESCE
- Add icon_url field to OAuth provider config (DB, API, frontend)
- Fix admin OAuth test: accept 404 as reachable, use system proxy
2026-05-17 21:33:02 +08:00
ZheFox
d6c8c14de7 feat(gateway): route OpenAI image intents through image bridge 2026-05-17 21:19:17 +08:00
RWDai
b2266b588e Preserve usage origin metadata in Postgres lists 2026-05-17 21:09:59 +08:00
RWDai
fcaafb3939 chore(ci): retrigger flaky sqlite smoke 2026-05-17 20:38:55 +08:00
fawney19
7d569127ae Fix active probe pool fallback tracing 2026-05-17 20:34:06 +08:00
RWDai
981020a5ab fix(ci): apply rustfmt to usage metadata handlers 2026-05-17 20:28:08 +08:00
ZheFox
d9c8119bda fix(routing): match provider model names in admin routing counts 2026-05-17 18:59:41 +08:00
ZheFox
485d166912 fix(provider): count inherited endpoint formats for model tests 2026-05-17 18:04:16 +08:00
Kayphoon
5060532c51 fix: package release sqlite compose template 2026-05-17 16:33:35 +08:00
Kayphoon
f29cca72ba refactor(data): limit query abstraction to postgres and sqlite 2026-05-17 15:40:44 +08:00
Kayphoon
77640d51a6 refactor(data): add select query abstraction 2026-05-17 15:04:35 +08:00
HsungKayphoon
f0a6fffa87 refactor(data): introduce simple query helper 2026-05-17 14:07:23 +08:00
Entropy.Xu
1b24e1c22a fix(wallet): 修复额度耗尽后仍可消费 2026-05-17 11:49:08 +08:00
ZheFox
ab0d766f47 fix(usage): stop inferring cache reads from prompt_cache_key 2026-05-17 03:04:33 +08:00
ZheFox
41ffb18604 fix(billing): avoid double counting cache read in OpenAI cache hit context 2026-05-17 02:40:01 +08:00
ZheFox
b903f8ff7d fix(usage): estimate cache read tokens for cancelled requests 2026-05-17 02:13:13 +08:00
ZheFox
0483d001b4 fix(usage): bill cancelled terminal usage and preserve total token estimates 2026-05-17 01:11:42 +08:00
HsungKayphoon
d290a1fdb9 fix: satisfy rust 1.95 clippy 2026-05-17 00:00:46 +08:00
ZheFox
2803e9317d fix(usage): bill cancelled terminal usage and preserve terminal telemetry 2026-05-16 23:43:40 +08:00
HsungKayphoon
c5e26a1ed6 fix: align sqlite repositories with postgres behavior 2026-05-16 23:43:40 +08:00
fawney19
a2f91b4108 Cancel upstream stream on downstream disconnect 2026-05-16 22:04:11 +08:00
fawney19
664bd98056 Merge pull request #479 from Entropy-Xu/codex/fix-balance-cost-estimate
fix(gateway): 修复额度预检误判余额不足
2026-05-16 21:23:23 +08:00
mayrain
5bf236957e feat(grok): add runtime image surfaces 2026-05-16 21:15:38 +08:00
mayrain
936e1ae37b feat(grok): add admin oauth and quota support 2026-05-16 21:15:38 +08:00
mayrain
cbfe1d378f feat(grok): add provider pool and transport support 2026-05-16 21:15:38 +08:00
mayrain
e5f1f52759 feat(model-test): wire image previews into provider tests 2026-05-16 21:15:27 +08:00
mayrain
edacc5a7d0 feat(model-test): add image-aware request helpers 2026-05-16 21:15:27 +08:00
fawney19
ed9267562b Adjust provider detail key pagination 2026-05-16 21:08:25 +08:00
Entropy.Xu
bddae47454 fix(gateway): 修复额度预检误判余额不足 2026-05-16 20:45:40 +08:00
fawney19
3a5922d4ee fix: use codex quota refresh for account checks v0.7.2 2026-05-16 20:16:23 +08:00
fawney19
56994d4c29 fix(frontend): relax system import limits 2026-05-16 19:00:20 +08:00
Entropy.Xu
973eb1a614 feat(referrals): 添加邀请返利和注册确认功能 2026-05-16 17:41:52 +08:00
HsungKayphoon
f9f1fa928a refactor: drive pg sqlite copy from target schema 2026-05-16 17:29:14 +08:00
fawney19
328ac721ce Merge pull request #472 from Kayphoon/codex/manual-usage-cleanup-origin-main
feat: add scoped manual usage cleanup
v0.7.1
2026-05-16 16:25:40 +08:00
HsungKayphoon
527feb69db fix: cover portable migration tables in logical schema 2026-05-16 15:58:41 +08:00
RWDai
ba661f1b3c Add usage record column controls 2026-05-16 15:55:38 +08:00
RWDai
4f584a71df Add usage metadata frontend plumbing 2026-05-16 15:55:38 +08:00
RWDai
97cd92a1a2 Expose usage record metadata fields 2026-05-16 15:55:38 +08:00
RWDai
df7b2824a6 Persist client family usage metadata 2026-05-16 15:55:38 +08:00