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
Wesley Liddick
0d27f45ead
Merge pull request #6454 from alfadb/fix/anthropic-fallbacks-sanitize
...
fix(gateway): 缺 server-side-fallback beta 时剥离 Anthropic fallbacks 字段
2026-09-01 17:47:34 +08:00
Wesley Liddick
65380be9c8
Merge pull request #6463 from DuskLin/feat/kimi-native-responses
...
feat(kimi): 原生转发 OpenAI Responses API
2026-09-01 17:46:36 +08:00
Wesley Liddick
d596d0844f
Merge pull request #6450 from WizardPro/codex/fix-scheduled-automation-bootstrap
...
fix(openai): accept scheduled automation bootstrap without call id
2026-09-01 17:30:04 +08:00
shaw
cd04848b97
chore: update sponsors
2026-09-01 17:19:36 +08: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
alfadb
200b1406d7
fix(gateway): strip Anthropic fallbacks unless server-side-fallback beta is present
...
Clients now send body.fallbacks; upstream rejects it without
anthropic-beta: server-side-fallback-2026-07-01. Mirror the
context_management sanitize so OAuth mimic / default API-key
beta paths no longer 400 with "fallbacks: Extra inputs are not permitted".
2026-09-01 14:23:33 +08:00
WizardPro
421a83282a
fix(openai): accept scheduled automation bootstrap without call id
2026-09-01 11:36:26 +08:00
github-actions[bot]
a2fb09260a
chore: sync VERSION to 0.1.185 [skip ci]
2026-09-01 02:52:28 +00:00
Wesley Liddick
2ac784c51a
Merge pull request #6353 from feeeei/main
...
refactor(billing): 长上下文阶梯计价改为价格目录数据驱动
v0.1.185
2026-09-01 09:32:06 +08:00
Wesley Liddick
6b39d0b453
Merge pull request #6379 from baryon/contrib/codex-priority-service-tier
...
fix(codex): advertise Fast service tier in generated catalogs
2026-09-01 09:02:24 +08:00
Wesley Liddick
f218c8d40a
Merge pull request #6394 from qiujun8023/fix/account-stats-deepseek-peak
...
fix(billing): apply model pricing policies to account stats cost
2026-09-01 08:58:49 +08:00
Wesley Liddick
1cce2b38ee
Merge pull request #6417 from fengshao1227/fix/ws-ingress-capacity-shed-client-code
...
fix(openai): ctx_pool WS ingress 下发前改写上游容量降载错误码(Codex 会话被硬终止)
2026-09-01 08:54:00 +08:00
Wesley Liddick
9d9ed1cc62
Merge pull request #6415 from icebreaker-forked/fix/retry-transient-db-startup
...
fix(repository): PostgreSQL 恢复期间退避重试,避免首次启动退出
2026-09-01 08:53:25 +08:00
Wesley Liddick
2d7767eaf2
Merge pull request #6407 from wucm667/fix/issue-6402-delegation-bootstrap
...
fix(openai): accept delegation bootstrap without call id
2026-09-01 08:51:46 +08:00
Wesley Liddick
064d9b74e8
Merge pull request #6432 from okbexx/fix/codex-disabled-account-capabilities
...
fix(codex): ignore persistently disabled catalog accounts
2026-09-01 08:46:42 +08:00
Wesley Liddick
e87c47c957
Merge pull request #6435 from wucm667/fix/issue-6420-apikey-responses-instructions
...
fix(openai): avoid synthesized instructions for API keys
2026-09-01 08:45:58 +08:00
Wesley Liddick
bdedd6c544
Merge pull request #6433 from swjturay/codex/upstream-stale-ws-recycle
...
fix(openai-ws): recycle stale idle pool connections without reader liveness
2026-09-01 08:45:30 +08:00
Ritel-T
9908d3ca2f
Bill free Fast requests at Standard price
2026-09-01 04:34:24 +09: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
e619ca386e
Carry free Fast through auth snapshots
2026-09-01 04:34:24 +09:00
Ritel-T
8224434d21
Preserve free Fast when duplicating groups
2026-09-01 04:34:24 +09:00
Ritel-T
fd55f3248f
Manage free Fast through group lifecycle
2026-09-01 04:34:24 +09:00
Ritel-T
08d6c153b7
Return free Fast in admin responses
2026-09-01 04:34:24 +09:00
Ritel-T
636d6be690
Expose free Fast in admin requests
2026-09-01 04:34:24 +09:00
Ritel-T
7dcf728461
Project free Fast into API key auth
2026-09-01 04:34:24 +09:00
Ritel-T
fb409787c6
Persist the free Fast group policy
2026-09-01 04:34:24 +09:00
Ritel-T
e7caedc22a
Regenerate Group persistence for free Fast
2026-09-01 04:34:24 +09:00
Ritel-T
eebf4e3ffb
Add the free Fast migration
2026-09-01 04:34:23 +09:00
Ritel-T
c7cf84ad39
Preserve Group Fast in integration fixtures
2026-09-01 04:34:06 +09:00
Ritel-T
0681aa2566
Cover Group Fast in native Responses
2026-09-01 04:34:06 +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
Ritel-T
f8eae45048
Force OpenAI Fast across gateway paths
2026-09-01 04:34:06 +09:00
Ritel-T
a44a1019f8
Carry group Fast through auth snapshots
2026-09-01 04:34:06 +09:00
Ritel-T
9fba8ed43b
Return group Fast in admin responses
2026-09-01 04:34:06 +09:00
Ritel-T
7f5e915dd1
Expose group Fast in admin requests
2026-09-01 04:34:06 +09:00
Ritel-T
7e06816571
Preserve group Fast when duplicating groups
2026-09-01 04:34:06 +09:00
Ritel-T
e9e66da5a8
Manage group Fast through group lifecycle
2026-09-01 04:34:06 +09:00
Ritel-T
94bb9354ce
Accept group Fast in admin service inputs
2026-09-01 04:34:06 +09:00
Ritel-T
95982a508f
Project group Fast into API key auth
2026-09-01 04:34:06 +09:00
Ritel-T
563979e91e
Persist the group Fast setting
2026-09-01 04:34:06 +09:00
Ritel-T
1cb28fd429
Regenerate Group persistence for Fast mode
2026-09-01 04:34:06 +09:00
Ritel-T
aa679efe41
Add the group Fast migration
2026-09-01 04:19:38 +09:00
feeeei
e2cfaa46e7
fix(pricing): 目录 cache 侧字段契约哨兵与 Gemini pro 缓存写入价修正
...
阶梯计价数据驱动后,目录条目的字段缺失或版本拼接会直接变成计费偏差,
解析层补两道数据契约哨兵,并修正出厂快照中 Gemini pro 系的缓存写入价:
- orphanCacheTierFields / warnOrphanCacheTierFields:条目带 cache 侧
above 档(含 _priority/_flex 变体与 above_1hr 形态)却没有基础价时打
WARN——cache 侧 above 档不参与计费取值,按"基础价 × 输入倍率"计,基础价
缺失即该分项按 0 计;变体缺自身基础价时沿 变体→1h→标准 回落链任一存在
即不算孤儿,与计费回落一致
- isLopsidedLongContextLadder / warnLopsidedLongContextLadders:above 档
折算出只有一侧带附加费的阶梯时打 WARN(基础价与 above 档来自不同价格
版本的形态),显式 long_context_* 字段不告警
- deriveLongContextFromAboveTierFields 注释改为陈述契约:cache above 档
须恰为基础价 × 输入倍率
- 出厂快照 6 个 Gemini pro 条目补 cache_creation_input_token_cost(= 标准
输入价,Google 对缓存写入不另收费)、above_200k 改为输入 above 价、带
priority 输入价的 4 条补 priority 孪生,与 model-price-repo 数据修正同值
测试:
- 解析层:孤儿字段 WARN(含 priority/1h 孤儿正例、1h 回落 5m 反例)、单侧
阶梯 WARN、出厂快照契约(全条目无孤儿字段、无单侧阶梯、Gemini pro 缓存
写入价 = 输入价)
- 用量契约:extractGeminiUsage 与 Antigravity 非流式/流式转换均不产生
cache_creation token(Gemini usageMetadata 无该类别)
- 计费:gemini-2.5-pro 阶梯对 cache_read / cache_creation 分项生效,阈值
计入缓存写入 token;阶梯表场景与夹具同步为现行目录值
2026-09-01 01:26:55 +08:00