remove unused iterator imports

This commit is contained in:
harish876
2026-04-10 07:11:31 +00:00
parent af4d4ab2ee
commit 044d434b50
+1 -11
View File
@@ -10,7 +10,7 @@ import contextvars
import time
import uuid as uuid_module
from functools import partial
from typing import Any, AsyncIterator, Coroutine, Dict, Iterator, Literal, Optional, Union, cast
from typing import Any,Coroutine, Dict, Literal, Optional, Union, cast
import httpx
@@ -1045,20 +1045,10 @@ def file_content_streaming(
"""
try:
optional_params = GenericLiteLLMParams(**kwargs)
litellm_params_dict = get_litellm_params(**kwargs)
client = kwargs.get("client")
logging_obj = cast(
Optional[LiteLLMLoggingObj], kwargs.get("litellm_logging_obj")
)
try:
if model is not None:
_, custom_llm_provider, _, _ = get_llm_provider(
model, custom_llm_provider
)
except Exception:
pass
timeout = optional_params.timeout or kwargs.get("request_timeout", 600) or 600
if (
timeout is not None