diff --git a/litellm/proxy/container_endpoints/handler_factory.py b/litellm/proxy/container_endpoints/handler_factory.py index 0bf5fe5f547..33df72ceaeb 100644 --- a/litellm/proxy/container_endpoints/handler_factory.py +++ b/litellm/proxy/container_endpoints/handler_factory.py @@ -19,7 +19,6 @@ from litellm.proxy.common_utils.openai_endpoint_utils import ( get_custom_llm_provider_from_request_headers, get_custom_llm_provider_from_request_query, ) -from litellm.responses.utils import ResponsesAPIRequestUtils def _load_endpoints_config() -> Dict: @@ -289,10 +288,6 @@ async def _process_multipart_upload_request( or get_custom_llm_provider_from_request_query(request=request) or "openai" ) - decoded_container_id = ResponsesAPIRequestUtils._decode_container_id(container_id) - decoded_provider = decoded_container_id.get("custom_llm_provider") - if decoded_provider and custom_llm_provider == "openai": - custom_llm_provider = decoded_provider data["container_id"] = container_id data["custom_llm_provider"] = custom_llm_provider