Skip to content

MuxLayer 1.6.3 — Outbound proxy & routing that actually matches the request

Choose a tag to compare

@github-actions github-actions released this 13 Aug 02:32

AgentGate 1.6.3 — Outbound proxy & routing that actually matches the request

What's new

  • Outbound HTTP proxy in Settings. Send provider API calls through a local http:// or https:// proxy (Clash / V2Ray). Loopback stays direct. Leave the switch off to keep using HTTP(S)_PROXY from the environment. An empty URL does not apply the UI proxy.
  • Routing conditions apply on Chat, Messages, and Gemini. Input size, images, tools, system keywords, and model-name match now evaluate on those routes the same way they already did for Codex Responses. Existing profiles stay as they are; previously ignored conditions now fire.
  • Gemini follows the daily budget gate. generateContent is subject to the same notify / block / force-cheapest policy as other routes.
  • Less work on the request path. Budget-off skips the lifetime stats scan; daily spend is a cached SUM. Each route parses the request JSON once. SSE splitting and session lookup are cheaper. Overview and footer poll less often.

本次更新

  • 设置里可配出站 HTTP 代理。 访问上游供应商的请求可走本机 http:// / https:// 代理(Clash / V2Ray);回环地址仍直连。关闭开关则继续尊重环境变量 HTTP(S)_PROXY。地址为空时不会走这里的代理。
  • Chat / Messages / Gemini 也会看路由条件。 输入长度、是否有图、是否有工具、系统关键词、模型名匹配,与 Codex Responses 同一套规则。已有路由配置不用改,只是以前被忽略的条件现在会生效。
  • Gemini 走日预算闸。 generateContent 与其它入口一样受仅提醒 / 拦截 / 强制最便宜策略约束。
  • 热路径更轻。 预算关闭时不再扫全量统计;日花费用短缓存 SUM。每条路由的请求 JSON 只解析一次。SSE 拆行与会话查找更便宜。概览和页脚轮询更慢。