mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
fix(proxy): mark the general_settings cast as cast-ok
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
9b829b52ad
commit
c7df57ffcc
1 changed files with 3 additions and 1 deletions
|
|
@ -376,7 +376,9 @@ def _derived_ui_setting_value(key: str) -> object:
|
|||
if key == APPLY_USER_BUDGET_TO_TEAM_KEYS_UI_SETTING:
|
||||
from litellm.proxy.proxy_server import general_settings
|
||||
|
||||
return _apply_user_budget_to_team_keys_enabled(cast(Mapping[str, object], general_settings))
|
||||
return _apply_user_budget_to_team_keys_enabled(
|
||||
cast(Mapping[str, object], general_settings) # cast-ok: proxy_server declares general_settings as bare dict
|
||||
)
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue