fix(proxy): suppress the workers ai provider rebind

The new prefix branch assigns custom_llm_provider, which pushed LIT011 one past the merge-base ceiling.
This commit is contained in:
pranavyk10 2026-10-24 17:25:19 +05:30
parent b7154bf4aa
commit d9ecd77eaf

View file

@ -540,7 +540,7 @@ def get_llm_provider(
elif model.startswith(("@cf/", "@hf/")):
# Workers AI ids are not `cloudflare/<id>`. Stripping or rejecting them makes a
# model update roll back to the previous deployment while PATCH still returns 200.
custom_llm_provider = "cloudflare"
custom_llm_provider = "cloudflare" # rebind-ok: mirrors sibling provider prefix branches
# Last resort for an otherwise-unknown model: a declarative
# fallback-generalization routing rule (e.g. routes future claude-* to anthropic).