You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9f59241
Browse filesBrowse the repository at this point in the historyBrowse files
feat(free-tier): use only the v2 lane and fold response tool names
The anonymous free tier now calls the configured v2 /inference origin only; the retired v1 /zen fallback is commented out rather than deleted, so the lane order can be restored in one edit. Catalog refresh and probes follow anonymousUpstreams, so they stop trying /zen too.
A request whose client names no project now gets a fresh 40-hex project id. The free tier ledges quota per project id and egress, and the old per-caller default was one shared bucket that popular exits had already burned.
Response tool names now resolve in the order exact wire name, clint_ prefix, case fold, separator fold. A fold two declared tools share is never guessed between. The stream and JSON rewriters share the resolver, and their fast path now recognizes unprefixed tool-call frames.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,7 @@ Eligibility is a routing decision; the upstream can still reject or rate-limit t
214
214
215
215
The routing sequence is:
216
216
217
-
1. For an eligible model, try up to `performance.max_anonymous_exits` available anonymous proxies once each. Every proxy tries the v2 `/inference` lane first, then the v1 `/zen`lane.
217
+
1. For an eligible model, try up to `performance.max_anonymous_exits` available anonymous proxies once each. Every proxy uses the v2 `/inference` lane; the v1 `/zen`fallback is retired for free models and its call site is commented out.
218
218
2. Try authenticated tiers in `prefer` order, using only tiers with a configured key and a route for that model.
219
219
3. Apply `retry.max_attempts` separately to each authenticated tier.
220
220
@@ -293,7 +293,7 @@ See [config.example.json](config.example.json) for a complete starting configura
|`upstream.anonymous`|`https://opencode.ai/inference`; tried first by the anonymous lane, which falls back to `/zen`. |
296
+
|`upstream.anonymous`|`https://opencode.ai/inference`; the only anonymous lane (the retired `/zen` fallback is commented out in `anonymousUpstreams`). |
297
297
|`proxies`| Falls back to `["direct"]` when both proxy sources are empty. |
298
298
|`proxyfile`| Optional; relative paths resolve beside the configuration file. |
0 commit comments