Skip to content

v2.11.0 — 上游出口统一(代理池/账号代理对全部链路生效) + 控制台页面缓存

Choose a tag to compare

@HengXin666 HengXin666 released this 07 Oct 16:46
· 24 commits to main since this release

Highlights

Every upstream request now leaves through a single, proxy-aware egress path, and the console no longer rebuilds your forms every time you switch pages. If you run a proxy pool, this release fixes a class of problems that were previously invisible.

Consistent egress for every upstream request

The proxy configuration you set in the console is now applied to all upstream traffic without exception.

Previously, the channel that carries chat completions read the proxy settings differently from the channel that opens and reads sessions. With a proxy pool configured and no proxy environment variables, those two paths could leave through different addresses — the chat path bypassing your proxy entirely and dialing out from the host itself. When a request egresses from an address you did not intend, upstream rate limiting and regional checks apply to the wrong identity, which shows up as unexplained 429s, region blocks, or failed sessions while the console looks perfectly healthy.

Egress is now resolved once and shared: account-level proxy, then the global pool, then a single proxy, then the standard environment variables, and direct connection only when none of these are configured. Proxy pools keep their per-account affinity, so a given account continues to leave through the same address and keeps its session IP stable.

If your proxy only supports SOCKS, that is handled too — those connections are made through the Node runtime rather than the Bun channel.

Console

  • Pages are cached. Switching between Overview, Settings, Models, Logs and the rest no longer re-renders from scratch. Half-filled forms, scroll positions, expanded sections and the prompt editor all survive navigation, and no requests are re-issued on every switch.
  • The account pool reports one set of numbers. The account table and the statistics cards are built from the same snapshot, so a pool can no longer display two different figures on the same screen.
  • Refreshes are honest. Probing is skipped while a reply is in flight, because running it would disturb the active session. When that happens the console now says so and marks the affected rows, instead of silently showing you an older snapshot.
  • System prompt saves explicitly. The editor has a Save button and shows when the value was last saved, so you can tell whether your edit took effect. Leaving the page with unsaved changes asks for confirmation first.

Upgrading

Pull ghcr.io/hengxin666/freebuff-proxy:2.11.0 (or :latest). Configuration and data formats are unchanged; no migration is required.

If you currently run a proxy pool, it is worth confirming your egress after upgrading — check the egress IP shown by Test configured on the Proxy settings card.