mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix(complexity_router): hint that the classifier plugin registry loads at startup and reload
An operator whose name is declared but whose proxy has not reloaded otherwise reads the unknown-name error as a typo hunt
This commit is contained in:
parent
95f6653698
commit
76dc5ec822
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ class ComplexityRouterConfig(BaseModel):
|
|||
if registered is None:
|
||||
raise ValueError(
|
||||
f"{value!r} is not a registered classifier plugin; declare it under "
|
||||
"classifier_plugins in the proxy config"
|
||||
"classifier_plugins in the proxy config (the registry loads at startup and config reload)"
|
||||
)
|
||||
return registered
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue