Commit Graph

1762 Commits

Author SHA1 Message Date
RWDai
e8c55e8f1f Label OpenAI JS SDK in cache monitoring 2026-05-18 19:30:39 +08:00
RWDai
9179516b19 Label OpenAI JS SDK in usage records 2026-05-18 19:30:19 +08:00
RWDai
37abfe66f0 Label OpenAI JS SDK in user usage 2026-05-18 19:29:59 +08:00
RWDai
ae9d4038b1 Prefer typed admin usage client family 2026-05-18 19:29:36 +08:00
RWDai
b6f558d10b Project usage client family in Postgres reads 2026-05-18 19:29:10 +08:00
RWDai
6d994917a0 Add usage client family read model field 2026-05-18 19:28:36 +08:00
RWDai
0a26accca4 Merge remote-tracking branch 'upstream/main' into feat/356-usage-record-columns 2026-05-18 17:49:35 +08:00
fawney19
3bffecddf2 fix: route access log sanitizer through gateway api 2026-05-18 15:47:02 +08:00
fawney19
a818af7833 Merge remote-tracking branch 'origin/pr-492' 2026-05-18 14:52:29 +08:00
fawney19
187b3a08fb Merge remote-tracking branch 'origin/pr-495' 2026-05-18 14:51:50 +08:00
fawney19
2405ccc0f2 Merge remote-tracking branch 'origin/pr-490' 2026-05-18 14:51:14 +08:00
fawney19
0fcfcae9c8 Merge remote-tracking branch 'origin/pr-486' 2026-05-18 14:50:48 +08:00
fawney19
e4315fbbf0 fix: refine frontend admin and auth UI 2026-05-18 12:41:57 +08:00
fawney19
92813e6122 feat: add routing profile scheduling policies 2026-05-18 11:03:49 +08:00
RWDai
26900c8c9e Show only client family in usage client column 2026-05-18 00:46:41 +08:00
MMEXA
226ce45d0d fix: pass explicit local build version 2026-05-17 16:38:22 +00:00
MMEXA
84fc1e35e2 fix(frontend): support login autofill and reliable redirect 2026-05-17 16:03:57 +00:00
MMEXA
ed570155a1 fix(gateway): redact credential query values in access logs 2026-05-17 15:26:56 +00: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
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
RWDai
981020a5ab fix(ci): apply rustfmt to usage metadata handlers 2026-05-17 20:28:08 +08:00
Kayphoon
5060532c51 fix: package release sqlite compose template 2026-05-17 16:33:35 +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
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
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
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
HsungKayphoon
74a1e5ad7d feat: add scoped manual usage cleanup 2026-05-16 15:23:44 +08:00
fawney19
75b7319465 Merge pull request #471 from Kayphoon/fix/usage-provider-id-null 2026-05-16 15:19:30 +08:00
fawney19
6a608b8e3f fix: recover finalized usage provider links safely 2026-05-16 15:15:57 +08:00
fawney19
c2cdcefdc8 fix(public): 恢复 support.rs 的 system_config_bool 引入 2026-05-16 14:28:19 +08:00
fawney19
893ac18d60 Merge PR #469: 修复用户可见性、额度、验证与 Codex 探测 2026-05-16 14:28:19 +08:00
fawney19
74abb50bdc fix(public): keep original GitHub links visible
(cherry picked from commit 7c93552697c9c35b77df35e117900ff8e9b62994)
2026-05-16 13:50:46 +08:00
Kayphoon
f817f856c8 fix: allow upsert to backfill NULL provider link fields after billing finalizes
The ON CONFLICT update guard for provider_id, provider_endpoint_id, and
provider_api_key_id previously required billing_status = 'pending'. Once a
usage row left pending state with these fields still NULL, subsequent upserts
could never fill them. Add an OR IS NULL clause so missing provider links are
always recoverable regardless of billing status.
2026-05-16 13:11:59 +08:00
fawney19
3a23eaa572 Merge pull request #470 from yao177/fix/provider-keep-priority-on-conversion-load-balance
fix: preserve conversion priority beneath scheduler modes
2026-05-16 12:56:57 +08:00
fawney19
a7fdce493b feat: paginate provider keys from backend 2026-05-16 12:52:49 +08:00
yao177
232976c14a fix: keep conversion priority below load balance 2026-05-16 04:41:07 +00:00
yao177
dc1009798d test: cover cache affinity conversion priority ordering 2026-05-16 04:32:56 +00:00
fawney19
b6d74249a4 fix(public): keep original GitHub links visible
(cherry picked from commit 7c93552697c9c35b77df35e117900ff8e9b62994)
2026-05-16 11:38:49 +08:00
fawney19
f72ab383c9 Refine OAuth auto cleanup conditions
(cherry picked from commit 78826eae47ab18ace6931dd190a41070416b5e10)
2026-05-16 11:33:45 +08:00
fawney19
f59cf1090d feat(admin): unify system data management and aggregate import/export 2026-05-16 02:16:53 +08:00
Entropy.Xu
1a50c5e112 merge: 同步主线并解决用户侧验证冲突 2026-05-16 01:25:42 +08:00