mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Adds a top-level classifier_plugins config key mapping names to dotted paths, resolved at startup into litellm.classifier_plugin_registry with the same load-time checks classifier_plugin already gets. A before-validator on ComplexityRouterConfig.classifier_plugin resolves string values through the registry, so the save-time write gate, router deployment init, and direct construction all accept a registered name and reject an unknown one with a clean error; DB-stored auto-routers therefore carry plain names and no proxy read path changes. GET /auto_router/classifier_plugins lists the names. The dashboard's classification method picker gains a Custom classifier option with a plugin dropdown fed by that endpoint, a plugin timeout field, and the fallback picker now shown for both non-heuristic modes. Create and edit serialize and validate identically, the models table labels custom routers correctly, and the routing decision card names the classifier_plugin cause and stops implying the LLM classifier failed on plugin fallbacks |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||