mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
fix(proxy): drop redundant mutable-ok suppression from guard config kwargs
This commit is contained in:
parent
3019ebf490
commit
2f320a58ef
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ def _build_guard_config(): # noqa: ANN202 # return type is from the lazily imp
|
|||
guard_module: Final = importlib.import_module("guard")
|
||||
security_config_cls: Final = guard_module.SecurityConfig
|
||||
|
||||
kwargs: dict[str, object] = { # mutable-ok: assembled conditionally, then passed once to SecurityConfig
|
||||
kwargs: Final = {
|
||||
"enable_rate_limiting": True,
|
||||
"rate_limit": _env_int("LITELLM_GUARD_RATE_LIMIT", 100),
|
||||
"rate_limit_window": _env_int("LITELLM_GUARD_RATE_LIMIT_WINDOW", 60),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue