285 Commits
Author SHA1 Message Date
Chenyme 9b80510055 Merge branch 'main' into fix/web-free-video-duration-cap 2026-09-01 11:17:26 +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
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
Chenyme b086d759c5 fix: record hidden recovery and classify pinned-account failures 2026-08-31 14:39:20 +08:00
buddhism5080 b305f63303 fix(audits): scale request-overview cost with USD ticks
The detail overview divided costInUsdTicks by 1e8 instead of 1e10,
so the displayed fee was 100x the list/dashboard value.
2026-08-29 08:10:01 +08:00
Chenyme 17cc78391e docs: updated README files 2026-08-25 17:50:15 +08:00
Chenyme f819f298a8 fix: quarantine runtime-selected account leases 2026-08-25 17:37:48 +08:00
Chenyme 57c66d7fe5 perf: paginate nodes and reduce status polling overhead 2026-08-25 17:10:54 +08:00
Chenyme 88ef5bd948 chore: bump version to v3.1.5 2026-08-25 16:12:05 +08:00
Chenyme 470ac4afbc fix: preserve provider prefixes in public model names 2026-08-24 15:14:05 +08:00
Chenyme 1316ed730b feat: add privacy-safe request diagnostics and bounded retention 2026-08-20 19:45:35 +08:00
Chenyme c07fa0b61e Merge remote-tracking branch 'origin/main' into pr/983
# Conflicts:
#	backend/internal/transport/http/inference/handler.go
2026-08-20 19:40:37 +08:00
Chenyme 68e3399821 Merge branch 'main' into guard 2026-08-20 16:38:56 +08:00
Chenyme 0fb3a04124 fix: preserve quality strikes when clearing cooldown 2026-08-20 16:09:58 +08:00
Jeik d76070aa4e fix(frontend): use DialogDescription asChild to prevent DOM nesting warning 2026-08-20 10:41:28 +08:00
Jeik 86010fc55c feat(audit): add response body recording, stream reassembly, and audit log retention settings 2026-08-20 10:36:07 +08:00
Jeik 9d841a2757 feat(audit): capture complete client HTTP request headers, metadata and fix audit detail inspection 2026-08-20 10:22:46 +08:00
lij768423-svg 78c17a83b3 fix: allow clearing account cooldown and configure empty-stream penalty
Empty SSE idle timeouts currently write a hardcoded 24h cooldown via
qualityIdleAccountCooldown. Toggling enabled does not reset health, so a
single-account pool stays on 429 upstream_cooling until the operator
edits sqlite and restarts.

Add POST /api/admin/v1/accounts/:id/clear-cooldown (API + UI) which
zeros failure_count/cooldown_until/last_error. UpdateHealth already
publishes InvalidationAccountHealthChanged, so runtimeStore=memory
selector overlays are replaced.

Expose qualityGuard.requestRetry.idleAccountCooldown (1m–168h, default
24h) independently of missing-thinking accountCooldown. PATCH enabled
while cooling returns enabledDoesNotClearCooldown so the UI can warn.

Closes #976
2026-08-20 02:38:32 +08:00
Chenyme c0d7c94e2c feat: isolate account-bound proxy leases 2026-08-19 16:59:53 +08:00
Chenyme d76c74f407 feat: record trusted client IPs 2026-08-19 15:06:17 +08:00
lij768423-svg 2ef3b0ac2f feat: cool missing-thinking accounts and list them in quality guard
First no-thinking withhold puts the account on a 24h scheduling
cooldown without disabling it. A later miss after that cooldown
expires disables the account. Quality-guard degrade-accounts now
includes quality_degraded retries as missing_thinking so operators
can see the rotated accounts.
2026-08-19 11:42:50 +08:00
Chenyme 233aea53ed feat: enhance egress proxy profiles management with improved UI and functionality 2026-08-18 23:40:41 +08:00
Chenyme 5bbbf537b8 feat: add scalable shared proxy configurations 2026-08-18 23:11:54 +08:00
Chenyme dc307b3dcf feat: improve proxy visibility and cross-provider setup 2026-08-18 20:58:23 +08:00
Chenyme 526d43ce71 Merge branch 'main' into feat/accounts-refresh-token-import 2026-08-18 18:38:41 +08:00
Chenyme bfd74a8f8d Merge branch 'main' into feat/account-token-millions 2026-08-18 16:16:14 +08:00
Chenyme a578ca09b6 Merge branch 'main' into fix/account-recovery-breakdown 2026-08-18 16:08:31 +08:00
Chenyme 7fc590895d feat: enhance abnormal account status display with detailed breakdown 2026-08-18 16:08:01 +08:00
Chenyme 7e7b89f0c5 feat: enhance reasoning effort handling and normalization across components 2026-08-18 15:50:05 +08:00
zhizhuo 633c0d9441 feat(accounts): display free token usage in millions 2026-08-17 16:30:58 +08:00
zhizhuo 9a2d9a3791 fix(accounts): distinguish quota recovery states 2026-08-17 16:30:58 +08:00
zhizhuo b91bdbdbcc feat(audit): record reasoning effort 2026-08-17 16:30:58 +08:00
zhizhuo b4599d96c0 feat(accounts): support refresh-token imports 2026-08-17 16:28:43 +08:00
Chenyme 98a3653494 Merge branch 'main' into fix/first-token-encrypted-reasoning 2026-08-17 15:34:29 +08:00
mirrox-dev 9c74f91465 fix: keep thinking time in quality-guard Token/s
Buffered or encrypted thinking on Build Chat never started the first-token
clock, so billed reasoning tokens were divided into a short flush window
and the panel reported thousands of Token/s. Start Chat first-token at the
reasoning item and fall back to full duration when that tail is shorter
than the wait and under 1s.
2026-08-17 12:10:53 +08:00
Chenyme 05528aca3a feat: align Imagine models, generation parameters, and quota resets 2026-08-17 11:49:59 +08:00
Chenyme d99df20fa9 fix: enable Basic 720p video and align media quota handling 2026-08-17 11:08:19 +08:00
Chenyme 28bd057053 Merge branch 'main' into fix/audit-media-keep-tokens 2026-08-16 14:21:57 +08:00
Chenyme 56bf00b5ae fix: preserve media token usage and track reported usage accurately 2026-08-16 14:21:47 +08:00
Chenyme 5021ab68e9 Merge branch 'main' into feat/quality-guard-profiles-dual-probe 2026-08-15 12:01:47 +08:00
Chenyme 2428f17d34 fix: harden probe recovery and prevent false thinking isolation 2026-08-15 12:01:26 +08:00
Chenyme b0d6881aec Merge branch 'main' into fix/semantic-stream-idle-timeout 2026-08-15 09:58:43 +08:00
Chenyme db2db0c78e fix: preserve semantic idle timeout during tool progress 2026-08-15 09:57:02 +08:00
buddhism5080 6a838cb3c5 fix(audit): label media output as output
Keep the media row distinct from the token 输出 cell.
2026-08-15 00:05:29 +08:00
lij768423-svg 71517cc609 feat: add probe profiles, dual-probe recovery, and thinking guard
Add a configurable quality-guard probe catalog (last-line / contains /
regex markers). User-traffic degrade isolates immediately; restore only
after a QUALITY_OK probe is healthy and includes thinking tokens.
Missing thinking is a hard isolate even at normal TPS.
2026-08-14 19:59:28 +08:00
buddhism5080 b8cc2ec58b fix(audit): keep token usage when media input is present
Media-bearing chat/image/video rows replaced the 输入/缓存/输出/推理
grid with Media Input counts. Show both, and use an em dash when
token usage was not reported.
2026-08-14 16:42:56 +08:00
Chenyme 9c927d35ea Merge branch 'main' into fix/copy-key 2026-08-14 11:36:13 +08:00
Chenyme c7ddda2366 perf: optimize large account pool selection and precise health invalidation 2026-08-14 11:30:45 +08:00
WuxiVIP 8a16931e1f fix(frontend): make LAN key copy reliable
Write fallback clipboard data through the copy event instead of relying on focus for an off-screen textarea. This keeps copying reliable inside focus-trapped dialogs on insecure LAN origins and avoids false success states.\n\nFixes #913
2026-08-14 09:51:35 +08:00