Zero Clover
cb31033972
feat(openai): reuse pinned accounts for standard model discovery
2026-09-05 19:58:47 +08:00
Zero Clover
f3bbb95310
fix(groups): react immediately to Codex manifest edits and unify dialog toggles
2026-09-05 19:46:25 +08:00
Wesley Liddick
ed7c8f2208
Merge pull request #6572 from lyy0709/codex/gpt-6-astra
...
feat(openai): complete GPT-6 Astra support
2026-09-05 16:50:40 +08:00
Wesley Liddick
d2f87c612e
Merge pull request #6638 from feeeei/feat/images-url-to-b64json-backfill
...
feat(images): 账户开关将生图结果 url 下载回填为 b64_json
2026-09-05 16:24:40 +08:00
lyy0709
dee35a841d
merge: reconcile Astra fixes with upstream capability sync
2026-09-05 16:19:57 +08:00
Wesley Liddick
fb44e2dd09
Merge pull request #6514 from StarryKira/codex/anthropic-reasoning-pricing
...
feat: add Anthropic reasoning effort and Fable 5.1 max pricing
2026-09-05 16:19:18 +08:00
Wesley Liddick
c42d78e26c
Merge pull request #6571 from DuskLin/feat/codex-ultrafast-tier
...
feat(codex): support ultrafast service tier
2026-09-05 16:18:16 +08:00
Wesley Liddick
aafe93b335
Merge pull request #6557 from Ritel-T/pr/compact-admin-account-list
...
perf(admin): return compact account lists for lite requests
2026-09-05 16:16:26 +08:00
lyy0709
d7f048a265
fix(openai): preserve synced Astra capabilities and continuation
2026-09-05 16:13:28 +08:00
Wesley Liddick
0d9e7e1530
Merge pull request #6628 from baryon/contrib/openai-gpt6-astra-capability-sync
...
fix(openai): persist GPT-6 Astra Codex capabilities from upstream sync
2026-09-05 16:07:50 +08:00
lyy0709
3a8c9f16de
Merge remote-tracking branch 'upstream/main' into codex/gpt-6-astra
2026-09-05 15:48:49 +08:00
feeeei
3c53ba01a7
feat(images): 账户开关将生图结果 url 下载回填为 b64_json
...
部分第三方 GPT-image 上游把 Images 响应里的 b64_json 换成 url,按官方接口实现的
客户端读不到图。账户 extra.images_url_to_b64_json 开启后,OpenAI API Key 的
Images 非流式响应里 b64_json 缺失或为空且 url 非空的项,由网关下载 url 内容并以
base64 回填 b64_json,url 与其余字段原样保留;异步生图任务复用同一路径。
- 下载经账户代理发起,沿用 base_url 的出站 URL 校验策略(validateUpstreamBaseURL
抽出 validateOutboundURL,nil cfg 按仅格式校验处理),单图上限 20MB 且须为图片
内容(响应头或字节嗅探);data: URL 直接取 base64 载荷
- 单项下载失败仅记日志并保留原样;客户端显式 response_format=url 时不回填;
流式响应不处理
- 创建/编辑账户弹窗在 OpenAI API Key 的 Responses 模式块后新增“生图结果 URL 转
base64”开关,中英文案;新增 openai_images_b64_backfill_test.go
- 只被 unit 标签测试引用的定价目录测试辅助补上 //go:build unit(admin 包整文件加标签,
service 包的 newPricingServiceFromModelPricing 搬到 pricing_stub_helpers_unit_test.go),
消除 golangci-lint 在默认标签下的 unused 报错
2026-09-05 15:17:57 +08:00
Wesley Liddick
07bf8b92fd
Merge pull request #6550 from weiness/fix/alipay-payment-reconciliation
...
修复支付宝回调延迟或丢失,已支付订单可能长时间停留在待支付状态的问题
2026-09-05 15:08:56 +08:00
Wesley Liddick
63dc24b5e8
Merge pull request #6626 from wucm667/feat/issue-6624-none-reasoning-mapping
...
feat(openai): allow none as reasoning mapping source
2026-09-05 15:06:32 +08:00
Wesley Liddick
2ad6e8fb75
Merge pull request #6599 from wucm667/fix/issue-6598-gemini-custom-models-list
...
fix(gemini): apply custom list to native models endpoint
2026-09-05 15:03:08 +08:00
Wesley Liddick
15278fe2f9
Merge pull request #6580 from OG-Wang/fix/sidebar-collapse-when-active
...
fix(frontend): allow collapsing sidebar groups while a child route is active
2026-09-05 15:02:30 +08:00
Wesley Liddick
c4e6dcfd80
Merge pull request #6602 from ZeroClover/feat/codex-manifest-pinned-accounts
...
feat(codex): pinned-accounts Codex model manifest for OpenAI groups
2026-09-05 14:51:17 +08:00
shaw
708b85a6a4
fix: complete upstream request id handling
2026-09-05 14:18:13 +08:00
Long Li and Cursor
983a3db3af
fix(openai): persist GPT-6 Astra Codex capabilities from upstream sync
...
Official OpenAI hosts and models.dev entries without an api field left
Astra falling back to reasoning effort none and empty Fast tiers. Persist
complete per-model metadata, advertise Astra reasoning/Fast locally, and
surface partial sync warnings when image models remain incomplete.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-05 14:45:06 +09:00
wucm667
7969751f1f
feat(openai): allow none as reasoning mapping source
2026-09-05 12:32:30 +08:00
Zero Clover
1e28ef5942
feat(codex): pinned-accounts Codex model manifest for OpenAI groups
2026-09-05 00:10:24 +08:00
wucm667
28f673e4cd
fix(gemini): honor custom native models list
2026-09-04 22:29:36 +08:00
Rick
aa556c372f
fix(frontend): allow collapsing sidebar groups while a child route is active
...
A collapsible sidebar group was force-expanded whenever the active route
was one of its children, so clicking the chevron did nothing: the toggle
only updated the internal set while isGroupActive() kept reporting the
group as expanded. Any click that produces no visible change reads as a
bug to users.
Track per-group expand/collapse overrides instead. A group without an
entry keeps the automatic behavior (expanded while active, so context is
not lost on load or navigation), but a chevron click records the user's
choice and that choice wins, letting an active group be collapsed and
re-expanded at will.
2026-09-04 12:42:20 +08:00
刘佳林
126ac24c8c
feat(codex): support ultrafast service tier
...
Accept service_tier=ultrafast on the OpenAI/Codex gateway, advertise it
on GPT-5.6 Sol in the Codex model catalog, and include it in ChatGPT
OAuth routing hints so Codex clients can select Ultrafast.
2026-09-04 10:14:29 +08:00
lyy0709
3c8be00131
feat(openai): add GPT-6 Astra support
2026-09-04 10:04:44 +08:00
Ritel-T
db15e0090a
fix: keep account table on compact list responses
2026-09-03 21:20:09 +09:00
Ritel-T
994192ef4f
fix: type admin account list responses
2026-09-03 21:20:09 +09:00
feeeei
de27905e88
feat(usage): 用量记录落库上游请求标识并支持按账户配置响应头名
...
- usage_logs 新增 upstream_request_id 列(迁移 232)与仅索引非空行的 CONCURRENTLY 部分索引(迁移 233,runner 登记失效索引清理)
- 账户 extra.upstream_request_id_header 指定要读取的上游响应头,只读该头;留空不记录;创建/更新/批量入口校验头名合法且不超过 64 字节
- ForwardResult/OpenAIForwardResult 携带 UpstreamHeaders,中央计费按账户解析落库,WS 轮次保持 NULL
- 管理端用量明细新增默认隐藏的"上游ID"列,带与请求ID列一致的复制按钮,并同步导出
- 创建/编辑账户弹窗新增"上游ID"输入(UpstreamRequestIdHeaderField),提示按接入类型与平台分条列出常见头名
- HelpTooltip 悬停模式下指针移入提示框时保持打开,便于选中复制提示内容
2026-09-03 18:02:15 +08:00
weiness
de8d756afa
fix(payment): reconcile pending Alipay orders
2026-09-03 16:33:30 +08:00
haruka
8249ab37db
feat: add Anthropic reasoning effort pricing controls
2026-09-02 20:16:57 +08:00
shaw
1a33dc8cc4
fix(frontend): 优化分组模型定价弹窗布局
2026-09-02 10:40:21 +08:00
刘佳林
77729e2723
merge: resolve conflicts with upstream/main
...
Keep model-scoped reasoning effort mappings together with the
deny-or-downgrade ceiling control that landed on main.
2026-09-02 10:01:42 +08:00
Wesley Liddick
f2804eb2c8
Merge pull request #6444 from Ritel-T/pr/group-free-openai-fast
...
Add group-level Standard billing for OpenAI Fast requests
2026-09-02 09:23:49 +08:00
Wesley Liddick
559960865a
Merge pull request #6447 from DuskLin/feat/openai-reasoning-effort-over-limit
...
feat(groups): 推理强度上限增加超限自动降档与拒绝访问
2026-09-02 09:07:53 +08:00
Wesley Liddick
a4fb58e428
Merge pull request #6443 from Ritel-T/pr/group-openai-fast
...
Add group-level OpenAI Fast enforcement
2026-09-02 09:07:05 +08:00
haruka
34b8bf1a6e
feat: support Claude Fable 5.1
2026-09-02 05:47:01 +08:00
Ritel-T
52c7d88340
chore: merge upstream v0.1.185
2026-09-02 03:29:52 +09:00
Ritel-T
9e2d97f250
chore: merge upstream v0.1.185
2026-09-02 03:28:24 +09:00
刘佳林
e377c4358c
feat(kimi): forward native OpenAI Responses API
...
Moonshot pay-as-you-go and Kimi For Coding both expose native
/v1/responses. Stop converting Kimi Responses traffic to Chat
Completions, and treat Kimi like DeepSeek for protocol selection while
keeping /v1/responses URL construction.
2026-09-01 16:50:04 +08:00
刘佳林
aa7a811e66
feat(groups): add deny-or-downgrade control for reasoning effort ceiling
...
OpenAI/Composite groups can now reject requests that exceed the max
reasoning effort instead of always rewriting them down to the ceiling.
Existing groups keep the previous auto-downgrade behavior.
2026-09-01 10:15:45 +08:00
Ritel-T
4df6b0636b
Add the free Fast group switch
2026-09-01 04:34:24 +09:00
Ritel-T
498e06c582
Localize the free Fast control
2026-09-01 04:34:24 +09:00
Ritel-T
e6722126ba
Add frontend free Fast types
2026-09-01 04:34:24 +09:00
Ritel-T
17747df842
Add the group Fast admin switch
2026-09-01 04:34:06 +09:00
Ritel-T
3fbce499d8
Add group Fast form helpers
2026-09-01 04:34:06 +09:00
Ritel-T
1a40e5690f
Localize the group Fast control
2026-09-01 04:34:06 +09:00
Ritel-T
7903716ad1
Add frontend group Fast types
2026-09-01 04:34:06 +09:00
刘佳林
7c01ec9be8
feat(groups): scope OpenAI reasoning effort mappings by model
...
Allow OpenAI/Composite group mappings to match by exact model name,
prefix, or suffix. Empty type and model still apply to every model.
The admin form groups multiple request-to-forward pairs under one
type+model scope.
2026-08-31 19:21:31 +08:00
shaw
c66e700f05
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
Wesley Liddick
0678b24d58
Merge pull request #6283 from okbexx/feat/usage-compaction-kind
...
feat(usage): track native compaction requests
2026-08-31 11:19:37 +08:00