diff --git a/litellm/proxy/openai_files_endpoints/files_endpoints.py b/litellm/proxy/openai_files_endpoints/files_endpoints.py index 8b1aa7d20e6..686332deb27 100644 --- a/litellm/proxy/openai_files_endpoints/files_endpoints.py +++ b/litellm/proxy/openai_files_endpoints/files_endpoints.py @@ -1404,9 +1404,7 @@ async def list_files( _response = await proxy_logging_obj.post_call_success_hook( data=data, user_api_key_dict=user_api_key_dict, response=response ) - if _response is not None and isinstance( - _response, (OpenAIFileObject, AsyncCursorPage) - ): + if _response is not None and isinstance(_response, (OpenAIFileObject, AsyncCursorPage)): response = _response ### ALERTING ###