elky
07efcb5146
fix(data): repair legacy active flag synchronization
2026-07-22 14:19:34 +08:00
elky
713010fa0a
fix(gateway): restore auth role refresh and Rust checks
...
Refresh the resolved user role without bypassing owner group and key policies. Resolve Rust 1.95 Clippy failures and make the pending persistence bound test scheduler-independent.
2026-07-22 11:25:24 +08:00
elky
fc92c4f431
perf(gateway): scale request hot paths for 20k streams
...
Shard and singleflight hot-path caches, batch and prioritize candidate and usage lifecycle persistence, and extend database and pressure-test instrumentation for 20k concurrent streams.
2026-07-22 02:11:08 +08:00
elky
95053f9502
Merge PR #672 : 支持账号批量配置与可用模型管理
2026-07-18 22:06:32 +08:00
elky
8fbda84acb
fix(data): preserve API key history end to end
2026-07-18 21:58:21 +08:00
MMEXA
98fbf029fc
fix(data): 解耦 API Key 历史统计身份
2026-07-18 04:42:45 +08:00
MMEXA
0355c28683
fix(data): 解耦候选记录的 API Key 历史身份
2026-07-18 02:40:34 +08:00
elky
664c063a06
feat(usage): enrich audit metadata and detail views
2026-07-17 19:20:16 +08:00
MMEXA
3b0d87b0fd
Merge remote-tracking branch 'origin/main' into codex/pool-key-bulk-management-20260714
2026-07-17 00:17:02 +08:00
MMEXA
ec1783a35c
Merge remote-tracking branch 'origin/main' into codex/pool-key-bulk-management-20260714
...
# Conflicts:
# apps/aether-gateway/src/handlers/admin/request/provider/tasks.rs
# frontend/src/api/endpoints/pool.ts
2026-07-16 23:43:04 +08:00
elky
0be380243b
feat(pricing): support processing tier multipliers
2026-07-16 23:30:42 +08:00
elky
8fe4d24408
fix(usage): canonicalize cached token totals
2026-07-16 16:38:30 +08:00
MMEXA
20b27a13b2
feat(codex): 按操作语义路由 Responses V2 压缩
...
(cherry picked from commit 2fc604e047 )
2026-07-16 00:34:42 +08:00
MMEXA
598b2fb374
fix(auth): 授权 Responses Compact 伴随端点
...
(cherry picked from commit e8afa03e45 )
2026-07-16 00:32:14 +08:00
elky
8616fe6ee2
refactor(workspace): enforce layered crate boundaries
2026-07-15 23:47:19 +08:00
MMEXA
a25fab371a
feat(pool): add bulk key configuration management
2026-07-14 04:57:05 +08:00
MMEXA
25c49dd804
fix(data): keep terminal usage state monotonic
2026-07-12 05:45:37 +08:00
MMEXA
2316df5c9a
feat(codex): align Search and execution protocol
2026-07-12 03:04:15 +08:00
MMEXA
0b30cc6b0f
feat(openai): unify tier authorization and settlement
2026-07-11 12:27:05 +08:00
MMEXA
dfa121dd5b
feat(openai): align GPT-5.6 and Codex request contracts
2026-07-11 07:40:12 +08:00
elky
4bf5d4c044
Fix cache token accounting and tiered pricing
2026-07-10 15:13:12 +08:00
MMEXA
f07eb25cfc
修复 usage 详情 body 引用解包
2026-07-10 00:23:31 +08:00
Start
f31c9e03e2
Merge branch 'fawney19:main' into main
2026-07-09 15:11:44 +08:00
yangrs
192dc6c20d
Fix provider key response time overflow
2026-07-09 14:40:48 +08:00
MMEXA
5c68ab896a
恢复历史 backfill 兼容 live 账本
2026-07-08 22:34:29 +08:00
elky
400b3125a4
Preserve terminal request candidate state
2026-07-02 01:40:57 +08:00
elky
7c32be46ca
Mark sync usage active earlier
2026-07-01 02:21:20 +08:00
Entropy.Xu
6ed2f9bd0a
fix: apply actual billing cost to wallet settlement
2026-07-01 01:12:40 +08:00
elky
f179ee72f9
chore: update gateway pressure observability
2026-06-30 17:01:39 +08:00
elky
6c5e70ccb1
fix monitoring error totals and counter health
2026-06-26 10:48:45 +08:00
elky
d336d1a7fa
Improve gateway scheduling and runtime admission
2026-06-24 01:53:45 +08:00
elky
f75894acbb
perf: reduce gateway db pressure under load
2026-06-22 00:08:48 +08:00
elky
541cc197c4
fix: preserve in-memory user export fallback
2026-06-22 00:08:48 +08:00
fawney19
363d1aba9a
Merge pull request #615 from AAEE86/main
...
feat: 健康监控仪表盘与关联下钻优化,完善使用记录展示
2026-06-21 12:48:13 +08:00
fawney19
6de0fe75a4
Merge pull request #641 from Kayphoon/codex/usage-cleanup-break-condition
...
fix(usage): align cleanup loop break conditions with candidate row count
2026-06-17 11:04:55 +08:00
AAEE86
c255f29e98
Merge remote-tracking branch 'upstream/main'
2026-06-16 10:53:47 +08:00
Kayphoon
6d1b818414
fix(usage): align cleanup loop break conditions with candidate row count
...
The cleanup loop break condition used rows_affected() from the UPDATE
statement, but for rows that only had blob/audit refs (no inline
compressed body data), the UPDATE reported 0 affected rows. This caused
the loop to exit after the first batch, skipping the majority of
candidates.
Change the break condition in all 4 cleanup functions from:
if cleaned == 0 || cleaned < batch_size
to:
if rows.len() < batch_size
This ensures the loop continues as long as SELECT returns a full batch,
regardless of how many rows the UPDATE actually modified.
Affected functions:
- cleanup_usage_raw_body_fields
- cleanup_usage_compressed_body_fields
- cleanup_usage_header_fields
- cleanup_usage_stale_body_fields
2026-06-16 04:19:58 +08:00
elky
308cc88ef7
Fix provider deletion cleanup
2026-06-12 16:25:11 +08:00
elky
8edcbdcb29
feat(usage): expose request timing details
2026-06-10 09:16:15 +08:00
AAEE86
85573d7980
Merge remote-tracking branch 'upstream/main'
2026-06-05 08:28:43 +08:00
elky
eb98340924
Merge remote-tracking branch 'origin/pr/604'
2026-06-02 23:34:59 +08:00
elky
bce3bf2b6e
Merge remote-tracking branch 'origin/pr/593'
2026-06-02 21:40:59 +08:00
AAEE86
d5d3f09846
refactor(health): add dashboard overview and related drill-down
...
- Replace health monitor tabs with a dashboard layout
- Add related health drill-down for endpoint, model, and provider cards
- Render provider health as cards and hide empty monitors
2026-06-02 00:10:59 +08:00
AAEE86
7ffe33f867
feat(health): refine health monitor metrics
...
- add TPS to model and provider health payloads
- exclude user-cancelled 499 requests from health statistics
- update model/provider health cards with average latency, average TTFB, TPS, and availability
2026-06-01 18:34:51 +08:00
elky
392353ffff
Merge remote-tracking branch 'entropy-xu/codex/ccswitch-import'
2026-05-31 20:52:26 +08:00
elky
463576915f
Merge branch 'review-pr-602'
2026-05-30 21:25:52 +08:00
Entropy.Xu
7ed4b84654
feat(ccswitch): 添加一键导入和用量查询
2026-05-29 21:39:45 +08:00
fawney19
92ae88f1be
fix: avoid postgres migration version collision
2026-05-29 16:18:59 +08:00
ZheFox
91a5e58cec
Merge branch 'fawney19:main' into main
2026-05-29 15:27:46 +08:00
fawney19
9fb600df1b
Fix PR 599 check regressions
2026-05-29 12:30:56 +08:00