Skip to content

v4.0.4

Choose a tag to compare

@tbosancheros39 tbosancheros39 released this 23 Oct 13:00
· 3 commits to master since this release
  • The Zen free-tier lane now tracks the live catalogue. GET /v1/models on the Zen relay answered 85 ids on 2026-10-23, of them 8 free: beam-free, deepseek-v4.1-flash-free, flint-40b-free, glm-5.3-flash-free, jev-1.13-free, mimo-v2.6-flash-free, nemotron-3.5-lightning-free, nemotron-3.5-super-vl-free. flint-40b-free, jev-1.13-free and their opencode/ twins are new in ROUTES; thirteen retired ids were removed instead of left pointing at a dead endpoint — x-preview-f-free, hy3-free, mimo-v2.5-free, muse-spark-1.2-contributor-free, muse-spark-1.3-contributor-free, step-5-preview-free, longcat-2.5-preview-free, space-bunny-free, deepseek-v4-flash-free, ling-3.0-flash-fin-free, laguna-s-2.1-free, ox-alpha-free, nemotron-3-ultra-free. Evidence per id: absent from the live list, or answering 400 Model is unavailable (space-bunny-free). The route tests now assert the live set and, for every retired id, that it no longer resolves to zen/v1.
  • The split lives in the repo, not only on one machine. systemd/ carries all five units: 3457 universal auto-routing, 3458 OpenCode Go chat + Responses (inference/go/openai/v1), 3463 OpenCode Go Anthropic messages (inference/go/anthropic/v1), 3459 Zen free lane, 3462 OpenRouter. The old copies still started proxy.js from reasoning-cache-proxy/ against zen/go/v1; they now start proxy.cjs from this checkout and use %h so the file is not tied to one home directory.
  • The watchdog covers the Anthropic unit. It health-checked four ports and would have left a dead 3463 unrestarted; reasoning-cache-go-anthropic.service is on the list now, and the script's paths follow ${HOME} instead of a hard-coded home.
  • The deployed Go path keeps its Z.ai injection. Moving the Go units from zen/go/v1 to inference/go/openai/v1 would have silently disabled F12 (Z.ai Preserved Thinking) on that lane: isZAiReachableBase() matched only paths starting /zen/go. It now matches /inference/go as well, and a test pins the deployed base instead of only the legacy one.
  • The package boundary matches the units. package.json files now ships proxy/proxy.cjs and the three new unit files, so an npm install contains the exec target and every unit it advertises.
  • The other docs followed. AGENTS.md now lists all six units, the 3458 chat + Responses upstream, the separate 3463 Anthropic unit and the current 214-assertion suite; proxy/proxy.js's start log reports 4.0.4 instead of 3.2.0, and its header comment no longer points UPSTREAM_URL at zen/go/v1. The Anthropic- and OpenAI-wire proxies stay separate binaries-by-configuration: same proxy.js, two units, because zen/go/v1/messages answers 401 Go requires a credential.
  • README: the "two-proxy" section became the five-port table, and the Go examples no longer suggest zen/go/v1 as UPSTREAM_URL (it serves chat only; the Anthropic wire answers 401 Go requires a credential there).