Commit Graph

357 Commits

Author SHA1 Message Date
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
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
f72ab383c9 Refine OAuth auto cleanup conditions
(cherry picked from commit 78826eae47ab18ace6931dd190a41070416b5e10)
2026-05-16 11:33:45 +08:00
fawney19
d6c320bf06 Revert "Merge remote-tracking branch 'origin/pr/466'"
This reverts commit 0e0a24862f, reversing
changes made to b09fd48eee.
2026-05-16 00:50:00 +08:00
fawney19
0e0a24862f Merge remote-tracking branch 'origin/pr/466' 2026-05-15 22:49:35 +08:00
ZheFox
2345df0e38 fix(usage): bill cancelled terminal usage 2026-05-15 22:38:34 +08:00
fawney19
b09fd48eee Merge remote-tracking branch 'origin/pr/462' 2026-05-15 22:28:40 +08:00
fawney19
c916e76bd2 Merge branch 'pr-461'
# Conflicts:
#	.github/workflows/rust-ci.yml
#	crates/aether-data/src/lifecycle/bootstrap/postgres.rs
#	crates/aether-data/src/lifecycle/migrate/tests.rs
2026-05-15 21:52:37 +08:00
fawney19
87e44479cc Add proxy tunnel diagnostics and default logging 2026-05-15 19:43:59 +08:00
fawney19
0bd3e2fa88 Merge remote-tracking branch 'origin/main' 2026-05-15 18:13:26 +08:00
fawney19
e4f427f921 Merge remote-tracking branch 'entropy-xu/payment-billing-plans'
# Conflicts:
#	crates/aether-data/src/lifecycle/bootstrap/postgres.rs
#	crates/aether-data/src/lifecycle/migrate/tests.rs
#	frontend/src/views/admin/Users.vue
2026-05-15 16:37:17 +08:00
RWDai
6014925e60 style: format codex compact regression tests 2026-05-15 14:40:27 +08:00
RWDai
1dc9b505e4 fix: strip include from codex compact requests 2026-05-15 14:20:16 +08:00
fawney19
01a982bdf6 fix: preserve codex include fields 2026-05-15 03:25:06 +08:00
fawney19
cc5a44e373 Merge branch 'pr-453' 2026-05-15 02:25:39 +08:00
fawney19
8e0f8003a9 fix: simplify account self-check config 2026-05-15 02:21:11 +08:00
fawney19
54a8312e46 feat: add adaptive pool metrics and self-check 2026-05-15 02:21:11 +08:00
Entropy.Xu
85f48123b6 feat(auth): 添加 Turnstile 注册防护 2026-05-15 01:54:20 +08:00
RWDai
4db01244ec Update Postgres bootstrap for audit admin role 2026-05-15 01:20:29 +08:00
RWDai
6021110fb2 Add audit admin Postgres userrole migration 2026-05-15 01:20:29 +08:00
zhefox
498b3b1226 fix(auth): correct postgres api key create field ordering 2026-05-14 17:41:13 +08:00
zhefox
3b77686cee fix(auth): cast standalone api key expires_at update to timestamptz 2026-05-14 16:28:38 +08:00
ZheFox
a0eed2cc51 fix: split Codex chat and responses defaults 2026-05-14 15:33:03 +08:00
fawney19
509bd30252 Redesign sensitive info protection settings 2026-05-14 11:14:20 +08:00
fawney19
91955ad1e0 Merge remote-tracking branch 'origin/pr/451' into aether-rust-pioneer 2026-05-14 02:10:37 +08:00
fawney19
b41a4a000f Merge remote-tracking branch 'origin/pr/435' into aether-rust-pioneer 2026-05-14 02:02:26 +08:00
fawney19
e251a63cb3 Merge remote-tracking branch 'pr-434/fix-provider-model-test-compat' into aether-rust-pioneer 2026-05-14 01:28:33 +08:00
fawney19
eb654c2fe7 Merge pull request #441 from zhefox/aether-rust-pioneer
fix: add codex reasoning defaults and stream rewrite tests
2026-05-14 00:35:45 +08:00
fawney19
697b6e0653 fix: stabilize openai responses reasoning streams 2026-05-14 00:27:10 +08:00
fawney19
acd44328d6 feat: add version update flow 2026-05-13 22:28:05 +08:00
fawney19
8b813f645f Merge branch 'pr-438' into aether-rust-pioneer 2026-05-13 22:28:05 +08:00
zhefox
2d354fa294 fix: preserve passthrough for same-format stream rewrites 2026-05-13 19:42:22 +08:00
fawney19
1a196c8cf2 Merge pull request #443 from AAEE86/rust
feat(admin): add Done-hub provider ops template
2026-05-13 18:42:28 +08:00
Kayphoon
2958041dc7 feat(gateway): add reversible chat pii redaction 2026-05-13 18:25:13 +08:00
fawney19
5d1460e051 refactor: extract provider pool abstractions 2026-05-13 18:19:15 +08:00
zhefox
1adbf23be4 feat(ai-formats): add reasoning summary boundaries for streams 2026-05-13 17:41:34 +08:00
AAEE86
afbb656510 feat(admin): add Done-hub provider ops template
- 新增 Done-hub Cookie 认证架构
- 使用 /api/user/profile 查询余额,按 quota / 500000 换算
- 补充余额解析、认证头和校验相关测试
2026-05-13 16:10:59 +08:00
zhefox
1726df1169 fix: add codex reasoning defaults and stream rewrite tests 2026-05-13 14:34:16 +08:00
RWDai
e00df5f7a2 Add admin update payload builder 2026-05-13 10:27:21 +08:00
Entropy.Xu
3fb007a56d Merge remote-tracking branch 'origin/aether-rust-pioneer' into payment-billing-plans
# Conflicts:
#	crates/aether-data/src/lifecycle/bootstrap/postgres.rs
#	crates/aether-data/src/lifecycle/migrate/tests.rs
2026-05-13 01:29:18 +08:00
Entropy.Xu
10285c5eb9 feat: add payment gateway and billing plans 2026-05-13 01:18:38 +08:00
Kayphoon
15800d7a80 feat(admin): manual request-records cleanup with typed confirmation 2026-05-13 00:36:43 +08:00
mayrain
8f082674d7 fix: align embedding provider request formats 2026-05-12 20:10:52 +08:00
mayrain
fca3f24d91 fix: preserve legacy admin config imports 2026-05-12 20:10:27 +08:00
fawney19
9c05b5f4e0 Unify pool score display as account health 2026-05-12 15:27:21 +08:00
fawney19
fa73655134 refactor: isolate dispatch scheduling core 2026-05-12 13:15:41 +08:00
fawney19
81ee27cdea Merge remote-tracking branch 'origin/codex/pool-member-scores' into aether-rust-pioneer 2026-05-12 09:17:25 +08:00
fawney19
fad28eee2c Improve pool score probing rules 2026-05-12 09:08:10 +08:00