Commit Graph
142 Commits
Author SHA1 Message Date
put-go 830c3b076c feat: add selectable egress probe provider 2026-07-26 12:01:34 +08:00
put-go 0de70e0fd9 feat: split egress probes by IP family 2026-07-26 11:06:35 +08:00
Chenyme af2974195f feat: implement batch quota reset functionality for Build accounts 2026-07-25 13:49:52 +08:00
Chenyme 9e25976228 Merge branch 'main' into main 2026-07-25 13:02:10 +08:00
Chenyme 1a7f0acc59 refactor: update ListRoutingCandidates and related methods to include modelRouteID parameter for improved routing candidate selection 2026-07-25 13:01:23 +08:00
Chenyme 4cf6c50b0c fix: enhance handling of 403 responses for blocked accounts 2026-07-25 10:00:09 +08:00
Huan-zhaojun ba81e8d42a fix(gateway): invalidate SSO on chat 403 blocked-user body
Classify HTTP 403 by response body before egress retry. When body contains
blocked-user or user is blocked, mark reauthRequired and rotate accounts;
other 403s keep egress retry without account penalty.
2026-07-25 00:00:29 +08:00
Huan-zhaojun 232fe83207 feat(account): mark SSO invalid on session blocked and quota blocked-user
Map definitive upstream dead-account signals to provider.ErrUnauthorized so
import identity sync and Web quota refresh persist reauthRequired (UI: 失效)
and drop accounts from scheduling.

- Session Parse: status=blocked (no identity) → ErrUnauthorized
- Web rate-limits: HTTP 403 body with blocked-user / user is blocked → ErrUnauthorized
- Keep generic missing-identity and non-blocked 403 as non-invalidating failures
- Add sessionidentity Parse tests and Web quota blocked/generic 403 tests
2026-07-25 00:00:29 +08:00
Chenyme dae50ce67b fix: release v3.0.8-hotfix.1 for Grok Build reasoning compatibility 2026-07-23 18:02:55 +08:00
Chenyme 09388e5634 feat: add configurable Grok Build 403 invalidation rules 2026-07-23 14:54:12 +08:00
Chenyme 9c6d78c090 refactor: streamline Grok Web agreement and association filters 2026-07-23 11:06:58 +08:00
starsdream666 1967db12de feat: add Grok Web agreement and association filters
Expose NSFW/terms and Build/Console link filters on the Grok Web
accounts page, with backend query support and list-filter coverage.
2026-07-23 08:40:54 +08:00
Chenyme cc578d551c fix: make response header timeout hot-reloadable and migration-safe 2026-07-23 02:36:45 +08:00
Chenyme a4d2111692 perf: harden billing ledger recovery and bound quota refresh memory 2026-07-23 01:42:37 +08:00
Chenyme 87f58a231e Merge remote-tracking branch 'origin/main' into high_concurrency
# Conflicts:
#	backend/internal/infra/egress/manager.go
2026-07-23 01:36:11 +08:00
Chenyme 34afed0a34 feat: implement operations config invalidation and enhance fallback management 2026-07-23 01:24:41 +08:00
Chenyme 413eb39667 perf: reduce cached acquisition contention with immutable snapshots and atomic load tracking 2026-07-23 00:21:50 +08:00
Chenyme 858509b7cb perf: finalize large-pool segmented selection and remove shadow mode 2026-07-23 00:21:03 +08:00
Chenyme 1e709595f9 perf: add typed invalidation and layered candidate caching 2026-07-23 00:21:03 +08:00
Chenyme 8695bb629f perf: batch acknowledged writes and atomic billing settlement 2026-07-23 00:20:03 +08:00
Chenyme 275053700e perf: harden response cleanup, cross-instance model state, and egress cache invalidation 2026-07-23 00:20:03 +08:00
Chenyme 9c583fd167 perf: finalize concurrency safety and infrastructure validation 2026-07-23 00:19:22 +08:00
Ron 6224ed992b feat: add configurable egress fallback 2026-07-22 23:33:00 +08:00
Chenyme 317f5c337a Merge branch 'main' into feat/egress-proxy-operations 2026-07-22 22:42:42 +08:00
Chenyme 57d3f8065e feat: enhance egress node management and operations 2026-07-22 22:42:28 +08:00
Ron 42e1fe7405 feat: filter and batch delete egress proxies 2026-07-22 22:02:49 +08:00
Chenyme d6d88a5e42 fix: refine handling of payment-required responses and quota recovery 2026-07-22 20:54:22 +08:00
Ron 002bcacb75 fix: batch full proxy pool tests 2026-07-22 20:52:13 +08:00
Ron f915e3cd46 fix: allow full proxy pool tests 2026-07-22 20:12:26 +08:00
Ron c792e47b80 feat: add egress proxy operations 2026-07-22 18:52:01 +08:00
yunfanxing6 c31206da7a fix(gateway): mid-tier failover for 402 spending-limit
Stop passthrough of upstream "add credits / SuperGrok" 402 bodies to
clients (Grok CLI). Always rotate accounts on payment-required, pause
exhausted free/unrecognized profiles for freeQuotaRecoveryPause (2h),
and map quota exhaustion to a sanitized 503 for the client.

- ignore X-Should-Retry:false for 402 so multi-account failover runs
- MarkPaidQuotaExhausted falls back to free recovery when billing is unknown
- freeQuotaRecoveryPause defaults to 2h (was hardcoded 24h for free)
- never surface upgrade/billing prompts through inference transport
2026-07-22 14:58:52 +08:00
Chenyme 5190c7b324 feat: enhance billing profile inference and testing 2026-07-21 18:23:46 +08:00
Chenyme 505c0b3e83 fix: prevent proxy pool failures from triggering global cooldown 2026-07-21 17:07:33 +08:00
Chenyme a04d7f0b22 Merge branch 'main' into codex/improve-upload-error-details 2026-07-21 16:06:11 +08:00
Chenyme 3c50f58245 refactor: enhance error handling and logging for video uploads and responses 2026-07-21 16:05:53 +08:00
Chenyme 67133a9ef6 refactor: remove redundant prompt cache compatibility code 2026-07-21 15:30:32 +08:00
Chenyme 48ec7dce0b fix: improve prompt cache affinity across Codex and Claude Code sessions 2026-07-21 15:23:03 +08:00
put-go c496550f50 fix: log video upstream failures 2026-07-21 13:09:13 +08:00
Chenyme e8140a887c Merge branch 'main' into main 2026-07-21 10:49:12 +08:00
Chenyme 6aa4f3fd60 feat: add video input size limit and related error handling 2026-07-21 10:28:08 +08:00
Chenyme 5d3023ef0b feat: implement optional auto-clean for reauthRequired accounts 2026-07-20 21:57:49 +08:00
Chenyme 4c0e5939c2 refactor: update account auto-clean logic and improve related tests 2026-07-20 20:03:47 +08:00
LLwill e2fe5f212c fix: complete FlareSolverr port onto upstream v3.0.5
Adapt clearance manager wiring to the current sticky-proxy egress stack
and browser client API after rebasing onto origin/main.
2026-07-20 17:35:01 +08:00
LLwill 46483ab241 feat: add managed FlareSolverr clearance 2026-07-20 17:34:51 +08:00
Codex a9f236c74c Merge remote-tracking branch 'origin/main' into feat/auto-clean-reauth
# Conflicts:
#	frontend/src/shared/i18n/index.ts
2026-07-20 16:10:43 +08:00
Chenyme 3019b0cbfa feat: align Grok Build 0.2.106 protocol compatibility 2026-07-20 15:43:16 +08:00
Chenyme a801c5c7e5 feat: implement unlimited RPM and concurrency options for client keys and enhance related tests 2026-07-20 15:10:40 +08:00
Chenyme bf13ce1b55 Merge branch 'main' into trace 2026-07-20 14:12:32 +08:00
Chenyme 2690a38066 Merge branch 'main' into fix/responses-multimodal-tool-output 2026-07-20 14:07:02 +08:00
Chenyme c936ab110f feat: enhance media audit logging and response summarization for text and image content 2026-07-20 14:06:35 +08:00