AAEE86
a498875591
feat(gateway): Responses WebSocket 连通性探针
...
新增 aether-codex-ws-probe 与 aether-openai-responses-ws-probe 两个
二进制,用于在不暴露凭据的前提下验证上游 WebSocket 端点可用性:凭据
只从环境变量读取,不写入日志。公共流程放在
bin/support/responses_ws_probe.rs,各 profile 只负责自己的鉴权与
请求头要求。
2026-08-17 14:51:18 +08:00
AAEE86
71b54070e8
feat(gateway): Codex/OpenAI Responses WebSocket 代理模式
...
在 /v1/responses 上支持 WebSocket 升级,把客户端帧中继到上游 Codex /
OpenAI Responses WebSocket 端点,同时保持既有的路由、鉴权、配额与用量
语义:
- 路由与准入:control/route/ai.rs 识别 WebSocket 升级请求;
websocket/ingress.rs 复用 API Key 鉴权、IP 规则与并发许可,并引入
独立的 WebSocket 连接许可
- 中继:websocket/responses/* 按 connection / session / turn 分层,
帧解析归一化、socket 写入有界、continuation 保持调度亲和性
- 配额:orchestration/codex_quota_breaker.rs 在账号配额耗尽时熔断并
自动恢复,不再直接断开客户端连接
- 用量:每个 turn 的终态用量落库,request_metadata 记录
websocket_mode / websocket_transport,管理端与 usage 视图暴露
is_websocket
- 管理端:provider 可配置 Responses WebSocket 开关
2026-08-17 14:50:33 +08:00
ZheFox
9a0d346ff3
Merge pull request #728 from zhefox/main
...
fix(gateway): stop candidate persistence retry storms
2026-08-17 14:28:11 +08:00
ZheFox
32944538e9
fix(gateway): stop candidate persistence retry storms
2026-08-17 13:49:12 +08:00
ZheFox
0b17026eab
Merge pull request #726 from zhefox/main
...
fix(codex): restore upstream model discovery
2026-08-15 20:16:12 +08:00
ZheFox
b13d9b9b40
fix(codex): restore upstream model discovery
2026-08-15 19:36:28 +08:00
ZheFox
b7fca851b8
Merge pull request #724 from zhefox/main
...
fix(codex): serve versioned dynamic model catalogs
2026-08-14 19:08:53 +08:00
zhefox
810c3dfe2b
fix(codex): serve versioned dynamic model catalogs
2026-08-14 18:41:44 +08:00
elky
a1d64e5239
fix(routing): preserve allowlist edits and save state
2026-08-14 11:43:24 +08:00
elky
fb33ea57b0
Merge PR #715 : decouple routing model overrides
2026-08-14 11:10:21 +08:00
elky
5b0c763086
fix(codex): fence concurrent quota updates
2026-08-14 09:28:07 +08:00
elky
f3a12c1008
fix(ai): preserve Codex image edit validation
2026-08-13 11:31:17 +08:00
elky
ca35e09eaa
Merge pull request #718 from zjm54321/fix/custom-image-edit-json
2026-08-13 11:00:15 +08:00
elky
8cf381b0c3
feat(codex): add OAuth fingerprint convergence
2026-08-13 09:57:17 +08:00
elky
654c4f6978
fix(auth): preserve turnstile while typing email
2026-08-12 16:56:18 +08:00
elky
edb8362adc
fix(provider): omit default model test temperature
2026-08-12 16:56:18 +08:00
elky
29fa4aed19
perf(gateway): raise default server pool floor
2026-08-12 16:56:18 +08:00
zjm54321
41e93858e1
refactor(ai): simplify image edit serialization
2026-08-11 00:36:33 +08:00
zjm54321
8d918d0459
fix(ai): serialize image edits with images array
2026-08-11 00:30:00 +08:00
ZheFox
3a759fae89
Merge pull request #712 from zhefox/fix/claude-code-conversion-api-key-toggle
...
fix: restore Claude Code conversion and user API key toggles
2026-08-05 14:53:03 +08:00
zhefox
985ff3c36a
test(gateway): align claude_code endpoint reconciliation
2026-08-05 14:34:20 +08:00
zhefox
908d4f2603
style(provider): apply rustfmt to claude_code tests
2026-08-05 13:58:46 +08:00
zhefox
4d67569873
fix(gateway): support claude_code cross-format Claude messages
2026-08-05 13:57:20 +08:00
ZheFox
1aab31a148
Merge pull request #710 from zhefox/main
...
fix: align Responses compatibility, routing, and model permissions
2026-08-03 19:31:04 +08:00
zhefox
aedff9a704
fix(provider): validate mapped model reasoning effort
2026-08-03 19:22:51 +08:00
zhefox
669f4bddc5
fix: align Responses routing and model permissions
2026-08-03 18:48:01 +08:00
zbs
1a4eede34d
fix(routing): decouple model overrides from allowed scope
2026-08-03 07:52:49 +08:00
elky
0318808db9
fix(providers): allow transfer limits on creation
2026-07-31 13:35:08 +08:00
elky
06f5d3c8c0
fix(gateway): complete worker registration cleanup
v0.7.12
2026-07-31 11:32:07 +08:00
elky
082407fa51
Merge PR #697 : prevent duplicate worker registrations
2026-07-31 11:11:14 +08:00
fawney19
6688ee26db
Merge pull request #702 from MMEXA/fix/reconcile-auth-channel-mismatch-formats
...
fix(gateway): 修复批量更新 API 格式时的认证通道状态冲突
2026-07-31 10:28:37 +08:00
elky
beb003b7ad
feat(models): add external catalog proxy selection
2026-07-31 09:32:25 +08:00
MMEXA
6ecfe0f0a1
fix(gateway): reconcile auth mismatch formats on key update
2026-07-30 22:14:08 +08:00
ZheFox
12057db476
Merge pull request #701 from zhefox/main
...
Persist OpenAI Responses continuation history across instances
2026-07-30 21:08:34 +08:00
ZheFox
ff47d8d48a
fix(gateway): route response history through ai seam
2026-07-30 20:34:41 +08:00
ZheFox
ef5f36cc2b
fix(ai): satisfy response history clippy checks
2026-07-30 20:13:36 +08:00
ZheFox
84022c4d48
Merge upstream/main into main
2026-07-30 19:40:39 +08:00
ZheFox
118f441029
feat(gateway): persist OpenAI Responses continuation history
2026-07-30 19:26:52 +08:00
elky
20399b004d
Merge PR #700 : fix admin pool batch update body buffering
...
Preserve main's failover and usage metadata fixes, restore default tunnel regression coverage, and satisfy current Clippy.
2026-07-30 17:56:37 +08:00
elky
050eb77508
fix(ai): harden responses replay and failure diagnostics
2026-07-30 17:19:54 +08:00
elky
1ab4f079c9
fix(gateway): restore failover and usage diagnostics
2026-07-30 09:12:11 +08:00
MMEXA
6c733f7590
fix(usage): preserve request diagnostics in event seeds
2026-07-30 06:44:59 +08:00
MMEXA
d7d8db45ba
test(gateway): align tunnel error fixture with failover policy
2026-07-30 06:44:59 +08:00
MMEXA
8cf9af79da
fix(ci): remove redundant usage policy update
2026-07-30 05:45:38 +08:00
MMEXA
e55793c765
fix(ci): satisfy gateway clippy on upstream baseline
2026-07-30 05:14:34 +08:00
MMEXA
d8902ea612
fix(gateway): buffer admin pool batch update bodies
2026-07-30 05:14:34 +08:00
elky
a04673a90d
feat(gateway): harden failover and payload handling
...
Retry pre-response transport failures across candidates with an explicit stop policy, and propagate end-to-end timing into usage records and UI diagnostics.
Remove legacy body, import, cookie, PII, and tunnel replay caps while preserving optional operator-configured gateway limits.
2026-07-30 01:03:27 +08:00
ZheFox
a97acc07fc
Merge pull request #698 from zhefox/main
...
fix(ci): stabilize cross-platform workflow checks
2026-07-29 22:16:17 +08:00
zhefox
f8000012f7
fix(ci): stabilize cross-platform workflow checks
2026-07-29 21:55:43 +08:00
worker-2
6080f8cc88
fix(gateway): stabilize worker task records
...
Key worker boot records by task so process restarts update the existing
row instead of registering another row for each gateway instance.
Closes #693
Confidence: high
Scope-risk: narrow
2026-07-29 17:27:51 +08:00