From 76dc5ec8224246aa60ae5e30578a30e44c4a1270 Mon Sep 17 00:00:00 2001 From: Tin Chi Lo Date: Tue, 18 Aug 2026 19:06:41 -0700 Subject: [PATCH] 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 --- litellm/router_strategy/complexity_router/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/router_strategy/complexity_router/config.py b/litellm/router_strategy/complexity_router/config.py index 2610fffa117..3b1a4c6b9f0 100644 --- a/litellm/router_strategy/complexity_router/config.py +++ b/litellm/router_strategy/complexity_router/config.py @@ -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