- drop unused Any annotation on register_extra_ui_setting's field param; type it as FieldInfo and have enterprise callers construct FieldInfo directly (pydantic.Field's stub reports the default's type, which doesn't match FieldInfo) - cache the effective UISettings class and invalidate it inside register_extra_ui_setting so GET /get/ui_settings does not rebuild a pydantic model on every request - annotate _EXTRA_UI_SETTINGS_FIELDS with a concrete Dict[str, Tuple[Any, FieldInfo]] instead of bare Dict[str, tuple]; the annotation remains Any because pydantic field annotations include generics (Optional[X], List[X]) that are not instances of type |
||
|---|---|---|
| .. | ||
| cloudformation_stack | ||
| dist | ||
| enterprise_hooks | ||
| enterprise_ui | ||
| litellm_enterprise | ||
| __init__.py | ||
| LICENSE.md | ||
| pyproject.toml | ||
| README.md | ||
LiteLLM Enterprise
Code in this folder is licensed under a commercial license. Please review the LICENSE file within the /enterprise folder
These features are covered under the LiteLLM Enterprise contract
👉 Using in an Enterprise / Need specific features ? Meet with us here
See all Enterprise Features here 👉 Docs