mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
Remove duplicate container provider decoding
This commit is contained in:
parent
3e540e1d81
commit
02ee8e2e44
1 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue