HerShin5
HerShin5
The debug log seems pretty conclusive that the summary path is reusing the default OpenAI-compatible provider (`flm` / `qwen3.5:9b`) even though discovery for the summary provider works. I'd probably test...
Good catch on the free-tier 402 path. I’d keep the fix a bit broader than only detecting `openrouter` in the URL: any OpenAI-compatible gateway with a constrained prepaid/quota account can...
This is a good call to keep the end-user message normalized, but I’d strongly avoid making the admin/debug surface equally lossy. A pattern that has worked well for gateway-style routing...
The tradeoff discussed above makes sense: `/v1/models` is good enough for discovery of *ids*, but usually not enough for trusted capability metadata. One shape that has worked well for OpenAI-compatible...
The dangerous part here is the silent failure mode: users think they enabled prompt caching, but the OpenAI-compatible path just pays full price and gives no cache telemetry. I would...
The important part here is that `/v1/models` should be advisory for OpenAI-compatible routers, not an authority that can override the user's configured model id. For proxy/gateway setups, names like `cx/gpt-5.4`,...
One detail I'd keep separate here is **per-attempt transient failure** vs **final request failure**. For `custom_openai` / OpenAI-compatible gateway endpoints, a 502/503/504 from one upstream attempt is often just a...
+1 on GLM support. One implementation detail I’d suggest: make it a generic OpenAI-compatible provider path with an overridable `base_url`, rather than tying it too tightly to only one Zhipu...
This is a useful direction for cost control, especially because most OpenAI-compatible chat gateways will never converge on a single quota API. A couple of implementation details I’d suggest for...
Option 2 would unblock a lot of gateway setups, especially when users run Claude Code through CCR or another Anthropic↔OpenAI-compatible bridge. I’d suggest allowing an explicit, user-controlled env allowlist for...