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:
Tin Chi Lo 2026-08-18 19:06:41 -07:00
parent 95f6653698
commit 76dc5ec822

View file

@ -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