mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
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:
parent
b7154bf4aa
commit
d9ecd77eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue