mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style(health_check): put mutable-ok on dict() construction line
This commit is contained in:
parent
df3439b089
commit
81bf3fabac
1 changed files with 1 additions and 3 deletions
|
|
@ -759,9 +759,7 @@ def _update_litellm_params_for_health_check(model_info: dict, litellm_params: di
|
|||
the provider request body (#38941)
|
||||
"""
|
||||
# Copy first: callers pass the live deployment litellm_params dict.
|
||||
litellm_params = dict(
|
||||
litellm_params
|
||||
) # mutable-ok: copy so probe mutations don't rewrite the shared deployment dict # rebind-ok: local probe copy
|
||||
litellm_params = dict(litellm_params) # mutable-ok: copy so probe mutations don't rewrite the shared deployment dict # rebind-ok: local probe copy
|
||||
mode: Final = _resolve_health_check_mode(
|
||||
model_info,
|
||||
litellm_params, # any-ok: untyped router config dict
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue