mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(proxy perf improvement) - remove redundant .copy()
operation (#7564)
* latency fix proxy * remove useless copy in add_key_level_controls
This commit is contained in:
parent
6125ba1e2b
commit
819079f23b
1 changed files with 0 additions and 1 deletions
|
@ -286,7 +286,6 @@ class LiteLLMProxyRequestSetup:
|
|||
def add_key_level_controls(
|
||||
key_metadata: dict, data: dict, _metadata_variable_name: str
|
||||
):
|
||||
data = data.copy()
|
||||
if "cache" in key_metadata:
|
||||
data["cache"] = {}
|
||||
if isinstance(key_metadata["cache"], dict):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue