Wesley Liddick
a870836599
Merge pull request #8346 from hezhaoqian1/perf/upstream-keys-usage-index
...
perf(keys): API 密钥列表不再等待 30 天用量统计,并为其加覆盖索引
2026-11-10 21:29:51 +08:00
Wesley Liddick
5fe13c3c48
Merge pull request #8161 from wucm667/fix/issue-8156-synthesized-reasoning-mapping
...
fix(openai): apply mappings to synthesized reasoning effort
2026-11-10 21:29:45 +08:00
Wesley Liddick
efdc399ecf
Merge pull request #8637 from lishuangqiang/fix/atomic-refresh-token-rotation
...
fix(auth): consume refresh tokens atomically during rotation
2026-11-10 21:29:40 +08:00
Wesley Liddick
b455228b46
Merge pull request #8631 from lishuangqiang/fix/slot-leak-on-hydrate-error
...
fix(scheduling): release acquired slot when account hydration fails
2026-11-10 21:29:34 +08:00
Wesley Liddick
d18e1dff60
Merge pull request #8566 from r266-tech/codex/easypay-refund-success-code
...
fix(payment): configure EasyPay refund success codes per instance
2026-11-10 21:29:29 +08:00
Wesley Liddick
968c1022e6
Merge pull request #8568 from r266-tech/codex/pro-argon-cooldown
...
fix(antigravity): isolate Pro Argon quota cooldowns
2026-11-10 21:29:24 +08:00
Wesley Liddick
6f6b54d316
Merge pull request #8621 from baryon/contrib/antigravity-parallel-tool-result-images
...
fix(antigravity): keep parallel tool functionResponses contiguous before media
2026-11-10 21:29:18 +08:00
Wesley Liddick
350c800449
Merge pull request #8584 from feeeei/fix/gemini-nonstream-thought-parts
...
fix(gemini): 兼容入口非流式响应不再把思考摘要混入正文
2026-11-10 21:29:13 +08:00
Wesley Liddick
9de6dd766b
Merge pull request #8385 from r266-tech/codex/compat-account-error-policy
...
fix(gateway): honor account error policies in compatibility paths
2026-11-10 21:29:07 +08:00
Wesley Liddick
f7ddfb8236
Merge pull request #8589 from r266-tech/codex/stable-responses-session-prefix
...
fix(openai): stabilize Responses session seeds across tool loops
2026-11-10 21:29:02 +08:00
Wesley Liddick
73e75a18d1
Merge pull request #8386 from r266-tech/codex/skip-foreign-reasoning-envelope
...
fix(apicompat): skip foreign CC Switch reasoning envelopes
2026-11-10 21:28:56 +08:00
Wesley Liddick
aa56a4606d
Merge pull request #8585 from r266-tech/codex/preserve-sealed-response-calls
...
fix(apicompat): preserve sealed function call metadata
2026-11-10 21:28:50 +08:00
Wesley Liddick
6e128ba405
Merge pull request #8579 from r266-tech/codex/honor-overload-model-cooldown
...
fix(openai): honor explicit model cooldowns for capacity errors
2026-11-10 21:28:45 +08:00
Wesley Liddick
fc9d811385
Merge pull request #8576 from WGeorgezzzz/fix/openai-codex-metadata-events
...
fix(openai): keep Codex metadata events retry-safe
2026-11-10 21:28:39 +08:00
Wesley Liddick
32d0576edc
Merge pull request #8565 from qsy4/fix/openai-ws-ttft-mode
...
fix(openai-ws): follow the TTFT mode for WebSocket first token
2026-11-10 21:28:32 +08:00
Wesley Liddick
9725718e12
Merge pull request #8358 from AndersonBY/codex/fix-oauth-ws-search-activation
...
fix(openai-ws): reconnect pooled OAuth sockets before search activation
2026-11-10 21:28:26 +08:00
Wesley Liddick
2fd34acc1f
Merge pull request #8564 from r266-tech/codex/native-ws-later-turn-fail-closed
...
fix(openai): stop native WS later-turn first-frame replay
2026-11-10 21:28:20 +08:00
Wesley Liddick
d216e42156
Merge pull request #8634 from r266-tech/codex/claude52-pricing
...
fix(pricing): add Claude Fable and Mythos 5.2 fallback rates
2026-11-10 21:28:14 +08:00
Wesley Liddick
1cae79565a
Merge pull request #8384 from r266-tech/codex/pricing-sync-body-hash
...
fix(pricing): retry sync after catalog hash mismatch
2026-11-10 21:28:08 +08:00
Wesley Liddick
722bbf6dbe
Merge pull request #8381 from r266-tech/codex/sonnet55-cache-read-pricing
...
fix: correct Sonnet 5.5 cache read fallback pricing
2026-11-10 21:28:02 +08:00
lishuangqiang
7122efee94
fix(auth): consume refresh tokens atomically during rotation
...
RefreshTokenPair read the token and deleted it in two Redis calls. Two
concurrent requests with the same refresh token both passed the read and
validation, so both could mint a new token pair, keeping a stolen token
alive across rotations.
Add an atomic ConsumeRefreshToken (Lua GET+DEL) and require rotation to
win that consume. Losers get ErrRefreshTokenInvalid; Redis errors now
fail closed instead of issuing a new pair without invalidating the old
token.
2026-11-10 15:03:59 +08:00
r266-tech
3e8c2ee3f7
fix(pricing): add Claude Fable and Mythos 5.2 fallback rates
2026-11-10 13:58:08 +08:00
lishuangqiang
4ac713c4d4
fix(scheduling): release acquired slot when account hydration fails
...
newSelectionResult is the only exit for acquired Anthropic/Gemini
selections. When hydrateSelectedAccount failed, the already acquired
Redis concurrency slot was dropped with the error because callers only
receive ReleaseFunc through a successful result.
Release it on the error path, matching the OpenAI path that already does
this via newAcquiredSelectionResult. Without the fix the slot stays
occupied until its TTL expires, so the account can look idle while
requests queue or fail.
2026-11-10 10:55:01 +08:00
wucm667
f6ea845c58
fix(openai): preserve configured GLM downgrade semantics
2026-11-10 10:00:55 +08:00
Long Li
e2ce0b43dc
fix(TASK-144): keep Antigravity tool functionResponses contiguous before media
2026-11-09 17:29:00 +09:00
Wesley Liddick
ee58c0013c
Merge pull request #8606 from r266-tech/codex/preserve-openai-cache-write-ttl
...
fix(openai): preserve cache-write TTLs in usage and billing
2026-11-09 11:07:27 +08:00
Wesley Liddick
8ca1a613e9
Merge pull request #8590 from william-drakemond/pr/antigravity-usage-query
...
feat(antigravity): 用量格子加查询按钮,强制查询跳过缓存 / Query button for antigravity usage; force skips the cache
2026-11-09 11:07:16 +08:00
Wesley Liddick
27ef2a7137
Merge pull request #8603 from lkon2112/fix/openai-orphan-allocation-test
...
test(openai): isolate orphan precheck allocation test
2026-11-09 11:07:01 +08:00
Wesley Liddick
8e649dd654
Merge pull request #8607 from r266-tech/codex/document-image-format-mismatches
...
docs(images): explain upstream output format mismatches
2026-11-09 10:47:52 +08:00
Wesley Liddick
d7c0505387
Merge pull request #8610 from Wei-Shaw/fix/adaptive-request-body-budget
...
fix(gateway): auto-size request body memory budget from the memory limit
2026-11-09 10:44:06 +08:00
shaw
03bd718abe
fix(sysutil): confine cgroup limit reads to the mount with os.Root
...
gosec G703 flagged the cgroup path taken from /proc/self/cgroup flowing
into os.ReadFile. Read the limit files through os.Root instead, so the
path can never resolve outside the cgroup mount (including via symlinks),
and cover the escape cases in tests.
2026-11-09 10:27:08 +08:00
shaw
c004c962a7
fix(gateway): auto-size request body memory budget from the memory limit
...
The 1 GiB default introduced in v0.2.20 is shared by every group on an
instance and stays charged for the whole streaming response, so large
hosts under high concurrency returned 503 "Request body buffering capacity
is exhausted" long before memory was actually short.
When gateway.request_body_memory_budget_bytes is set in neither the config
file nor a non-empty env var, size it to 1/4 of the process memory limit
(min of physical RAM, cgroup v1/v2 limit along the cgroup path, and
GOMEMLIMIT), never below the previous 1 GiB. Explicit values, including 0,
are used as-is. The example config no longer pins 1 GiB.
2026-11-09 10:13:11 +08:00
r266-tech
9935268573
docs(images): align model scope across translations
2026-11-08 23:47:19 +08:00
r266-tech
5184ff55f6
docs(images): explain upstream output format mismatches
2026-11-08 23:31:10 +08:00
r266-tech
7156213cce
fix(openai): retain Fast multiplier with free input prices
2026-11-08 22:12:23 +08:00
r266-tech
fe093d76bd
fix(openai): preserve cache-write TTLs in usage and billing
2026-11-08 22:00:15 +08:00
lkon
2273a5d63f
test(openai): isolate orphan precheck allocation test
2026-11-08 19:33:33 +08:00
William Drake and Claude Opus 5.5
4ac1675b56
feat(antigravity): query button that refreshes usage past the cache
...
Antigravity accounts had no manual query button in the usage cell, unlike Claude
and OpenAI, and the server ignored force=true for them: getAntigravityUsage
always answered from its in-memory cache while fresh. After an upgrade or an
upstream reset the cell kept old figures (an account upgraded to Ultra still
showed its Claude week at 100%).
- getAntigravityUsage takes force; cachedAntigravityUsage skips the cache when
forced. singleflight still merges concurrent fetches.
- The antigravity cell shows the same 查询/Query button (active, force=true) in
every state, including errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-07 14:33:29 -07:00
r266-tech
85f43b640a
fix(openai): stabilize Responses session seeds across tool loops
2026-11-08 04:52:04 +08:00
r266-tech
f2b0a32b1f
fix(apicompat): preserve sealed function call metadata
2026-11-08 02:48:04 +08:00
feeeei
36484727c7
fix(gemini): 兼容入口非流式响应不再把思考摘要混入正文
...
部分上游在未请求 includeThoughts 时仍返回 thought=true 的 part,非流式转换把它当正文输出,导致 chat/messages 的 content 混入思考文字。转换时跳过思考 part 的文字,与流式路径的分流口径一致;用量仍取自 usageMetadata,计费不变。
2026-11-08 02:01:08 +08:00
r266-tech
a1395eeaf2
fix(openai): preserve other platforms' capacity handling
2026-11-07 21:35:48 +08:00
r266-tech
88b7090a35
fix(openai): match cooldown rules against actual error fields
2026-11-07 21:28:51 +08:00
r266-tech
ebf0168085
fix(openai): honor explicit model cooldown rules for overloads
2026-11-07 21:07:52 +08:00
WGeorgezzzz
e401c58053
fix(openai): keep Codex metadata events retry-safe
2026-11-07 19:36:05 +08:00
r266-tech
7796a2d57a
fix(antigravity): isolate Pro Argon quota cooldowns
2026-11-07 14:35:15 +08:00
github-actions[bot]
6b4b37db43
chore: sync VERSION to 0.2.20 [skip ci]
2026-11-07 06:31:41 +00:00
Wesley Liddick
dab829a4e9
Merge pull request #8365 from lyy0709/codex/gpt61-terra-followup
...
fix(openai): complete GPT-6.1 Terra Codex metadata, validation and billing
v0.2.20
2026-11-07 14:06:18 +08:00
r266-tech
137316a14c
fix(payment): configure EasyPay refund success codes per instance
2026-11-07 11:29:13 +08:00
Wesley Liddick
d22e0724d6
Merge pull request #8380 from danvilig/codex/improve-codex-native-tools-export
...
fix(frontend): improve Codex image and live-search exports
2026-11-07 11:27:14 +08:00