From d7597bb7ce32ae20f17dcee5ed568db72c22cb19 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Fri, 1 Dec 2023 14:51:44 -0800 Subject: [PATCH] (fix) linting --- litellm/proxy/proxy_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 361c765bf9..5978c2dff2 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -756,7 +756,7 @@ async def chat_completion(request: ProxyChatCompletionRequest, model: Optional[s global general_settings, user_debug try: data = {} - request_items = request.model_dump() + request_items = request.model_dump() # type: ignore pydantic throws a weird error for this data = {key: value for key, value in request_items.items() if value is not None} # pydantic sets all values to None, filter out None values here print_verbose(f"receiving data: {data}")