Chenyme
15bf810ace
fix: cap account cooldown from upstream Retry-After
2026-09-02 18:04:26 +08:00
Chenyme
d38c35161a
Merge pull request #1034 from chenyme/tool
...
fix(cli): alias Codex view_image tool for Grok Build
2026-09-02 13:51:14 +08:00
Chenyme
155ebba7d5
fix(cli): alias Codex view_image tool for Grok Build
2026-09-02 13:42:02 +08:00
Chenyme
1c9aedc709
Merge pull request #1030 from buddhism5080/fix/web-free-video-duration-cap
...
fix: cap Grok Web free-account video duration before upstream
2026-09-01 13:39:51 +08:00
Chenyme
9b80510055
Merge branch 'main' into fix/web-free-video-duration-cap
2026-09-01 11:17:26 +08:00
Chenyme
eadfece376
fix: cap free-tier video duration before upstream
2026-09-01 11:16:49 +08:00
Chenyme
6eb490837f
Merge pull request #1029 from buddhism5080/fix/xai-function-parameters-root
...
fix: lift Build function parameter root unions for xAI grammar
2026-09-01 10:29:13 +08:00
Chenyme
08de857a75
Merge branch 'main' into pr/1029
...
# Conflicts:
# backend/internal/transport/http/inference/handler_test.go
2026-09-01 10:20:27 +08:00
Chenyme
5f4ebbb781
Merge pull request #1027 from buddhism5080/fix/audit-output-loop-error-code
...
fix(inference): classify output-loop guard as upstream_output_loop
2026-08-31 23:54:03 +08:00
Chenyme
c25705e106
Merge branch 'main' into fix/audit-output-loop-error-code
2026-08-31 23:48:16 +08:00
Chenyme
44807b28ac
fix: avoid allocation size overflow in schema normalization
2026-08-31 23:48:02 +08:00
Chenyme
d3ba8ff6d5
fix: safely normalize Build function parameter root unions
2026-08-31 23:41:13 +08:00
Chenyme
f97be4e553
fix: preserve output-loop code across audits and SSE
2026-08-31 20:49:01 +08:00
Chenyme
1e3b195a64
Merge pull request #1026 from buddhism5080/fix/semantic-idle-pause-when-not-reading
...
fix(cli): pause semantic idle while not reading upstream
2026-08-31 20:48:44 +08:00
Chenyme
c6acb00e0f
Merge branch 'main' into pr/1027
...
# Conflicts:
# backend/internal/application/gateway/service_test.go
# backend/internal/transport/http/inference/handler.go
2026-08-31 18:53:19 +08:00
Chenyme
b3c4024c73
Merge branch 'main' into fix/semantic-idle-pause-when-not-reading
2026-08-31 18:32:51 +08:00
Chenyme
f082e6cb96
fix: guard semantic idle against stale timer callbacks
2026-08-31 18:32:36 +08:00
Chenyme
95722d2992
Merge pull request #1025 from buddhism5080/fix/reasoning-replay-cross-account-no-content-null
...
fix(cli): share reasoning replay across accounts and omit content:null
2026-08-31 18:19:19 +08:00
Chenyme
543f675522
fix: decouple reasoning replay from credential ID
2026-08-31 17:50:01 +08:00
Chenyme
8b151fd56d
Merge pull request #1024 from buddhism5080/fix/audit-overview-cost-scale
...
fix(audits): scale request-overview cost with USD ticks
2026-08-31 16:38:06 +08:00
Chenyme
1688c8ad75
fix(audits): centralize USD tick formatting
2026-08-31 16:14:19 +08:00
Chenyme
e647e8d96a
Merge branch 'main' into pr/1024
2026-08-31 16:09:42 +08:00
Chenyme
5edd2ad409
Merge pull request #1023 from buddhism5080/fix/live-reasoning-first-wins
...
fix(conversation): stream first-wins reasoning live to Chat and Anthropic
2026-08-31 16:08:36 +08:00
Chenyme
7f71372be0
Merge branch 'main' into fix/live-reasoning-first-wins
2026-08-31 16:04:27 +08:00
buddhism5080
f0044b76b6
fix: cap Grok Web free-account video duration before upstream
...
Free Web accounts 429 when duration exceeds 6s, which then rotates
accounts without changing the payload. Add a Grok Web setting
(freeVideoDurationCap, default 6) and clamp duration for free-tier
accounts at the Web adapter so retries are not wasted.
2026-08-31 16:04:05 +08:00
buddhism5080
5efc09a29f
fix: lift Build function parameter root unions for xAI grammar
...
Codex/OpenAI Responses tools often send a root oneOf/anyOf whose
branches are $ref or nested unions. xAI/Build grammar requires a
root object or a root union of inline objects. Lift only the root
union, keep property $ref/$defs, and fail locally if the result is
still illegal.
Also treat streamed 400 JSON as ClassifyUpstreamHTTPError instead of
copyStream, so invalid-argument is request-scoped and does not rotate
accounts. Compatibility warning is function_parameters_root_normalized.
2026-08-31 16:04:05 +08:00
Chenyme
fd6f5c8c7d
Merge branch 'main' into pr/1023
...
# Conflicts:
# backend/internal/infra/provider/conversation/stream.go
2026-08-31 15:56:37 +08:00
Chenyme
d4f13aa47f
Merge pull request #1022 from buddhism5080/fix/forward-upstream-compact-blobs
...
fix(cli): forward original compact blobs and surface decode 400s
2026-08-31 15:44:29 +08:00
Chenyme
ce8897ed8a
Merge branch 'main' into pr/1022
...
# Conflicts:
# backend/internal/infra/provider/cli/responses_reasoning_recovery.go
2026-08-31 15:36:34 +08:00
Chenyme
b0ea8efdaa
Merge branch 'main' into pr/1022
...
# Conflicts:
# backend/internal/infra/provider/cli/responses_reasoning_recovery.go
# backend/internal/infra/provider/cli/responses_reasoning_recovery_test.go
2026-08-31 15:31:07 +08:00
Chenyme
93a1f89851
Merge pull request #1021 from buddhism5080/fix/audit-client-vs-upstream-stream-interrupt
...
fix(audit): distinguish client vs upstream stream interrupts
2026-08-31 15:15:39 +08:00
Chenyme
2645f5ef01
Merge branch 'main' into fix/audit-client-vs-upstream-stream-interrupt
2026-08-31 15:08:22 +08:00
Chenyme
577ff693d2
Merge pull request #1020 from buddhism5080/fix/selector-skip-credential-material-errors
...
fix(gateway): skip accounts whose credential material fails to load
2026-08-31 15:08:10 +08:00
Chenyme
e42b2ef7d5
Merge branch 'main' into fix/selector-skip-credential-material-errors
2026-08-31 14:59:10 +08:00
Chenyme
db8378e1d3
fix: skip accounts on transient credential-material load failures
2026-08-31 14:58:01 +08:00
Chenyme
023f5bd2ba
Merge pull request #1019 from buddhism5080/fix/audit-recovery-and-pinned-unavailable
...
fix(audit): keep hidden reasoning recovery and pinned-account 503s
2026-08-31 14:47:44 +08:00
Chenyme
b086d759c5
fix: record hidden recovery and classify pinned-account failures
2026-08-31 14:39:20 +08:00
Chenyme
c92dea8b06
Merge branch 'main' into pr/1019
...
# Conflicts:
# backend/internal/application/gateway/attempt.go
# backend/internal/infra/provider/cli/adapter.go
# backend/internal/infra/provider/cli/responses_reasoning_recovery.go
2026-08-31 14:09:16 +08:00
Chenyme
22587daac6
Merge pull request #1018 from buddhism5080/fix/audit-retry-stream-failure
...
fix(audit): record stream failure after a prior 429 retry
2026-08-31 11:33:32 +08:00
Chenyme
cf13fe1a2d
fix: limit stream failure attempts to 2xx responses
2026-08-31 11:28:07 +08:00
Chenyme
5989a0d567
Merge pull request #1015 from lij768423-svg/feat/hold-tui-stub-and-floor-burst
...
fix: hold TUI dumps (stub expiry, floor-met burst, previous_response_id)
2026-08-31 10:45:30 +08:00
Chenyme
95915fad28
refactor: enhance quality hold logic and replay safety across accounts
2026-08-31 10:34:58 +08:00
Chenyme
d139aa5b39
Merge remote-tracking branch 'origin/main' into pr/1015
2026-08-31 10:21:50 +08:00
Chenyme
653d912dfb
Merge pull request #1013 from lij768423-svg/feat/encrypted-thinking-floor-upstream
...
fix: withhold fake encrypted thinking (ciphertext floor + burst dump)
2026-08-31 10:11:06 +08:00
Chenyme
b3d4c972c5
fix: make encrypted-thinking hold split-safe
2026-08-31 10:05:25 +08:00
Chenyme
71216fa4ad
Merge pull request #1010 from haswysa/fix/compaction-recovery-400
...
fix(gateway): keep portable reasoning summaries on compaction 400 recovery
2026-08-31 09:51:21 +08:00
Chenyme
7caa52c14f
fix: preserve upstream outcomes during reasoning recovery
2026-08-31 09:40:39 +08:00
buddhism5080
5b3e7efa1f
fix(inference): classify output-loop guard as upstream_output_loop
...
Doom-loop aborts were wrapped as a generic stream read failure, so audits
and SSE trailers reported upstream_stream_interrupted. Keep the sentinel
distinct so a model repeating the same delta is not mixed with a transport
cut.
2026-08-29 20:22:00 +08:00
buddhism5080
cb11a9f5f2
fix(cli): pause semantic idle while not reading upstream
...
Idle must only run while Read is waiting on Build. ConvertResponseStream
uses an unbuffered pipe, so a slow Anthropic client can block the
translator and stop those Reads; the old background timer then killed a
live summary stream as upstream_stream_idle_timeout. Client write
deadline still bounds how long we can leave upstream unread.
2026-08-29 17:22:31 +08:00
buddhism5080
2d0b621034
fix(cli): share reasoning replay across accounts and omit content:null
...
Encrypted reasoning is portable across accounts, so the server cache key
is session+plane only. Injected items drop content:null; xAI treats that
extra key as a modified compaction blob and 400s.
2026-08-29 15:53:01 +08:00