mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
rename get_async_httpx_client
This commit is contained in:
parent
1e8cf9f2a6
commit
d4b9a1307d
13 changed files with 27 additions and 27 deletions
|
@ -15,8 +15,8 @@ from litellm.llms.cohere.embed import embedding as cohere_embedding
|
|||
from litellm.llms.custom_httpx.http_handler import (
|
||||
AsyncHTTPHandler,
|
||||
HTTPHandler,
|
||||
_get_async_httpx_client,
|
||||
_get_httpx_client,
|
||||
get_async_httpx_client,
|
||||
)
|
||||
from litellm.secret_managers.main import get_secret
|
||||
from litellm.types.llms.bedrock import AmazonEmbeddingRequest, CohereEmbeddingRequest
|
||||
|
@ -130,7 +130,7 @@ class BedrockEmbedding(BaseAWSLLM):
|
|||
if isinstance(timeout, float) or isinstance(timeout, int):
|
||||
timeout = httpx.Timeout(timeout)
|
||||
_params["timeout"] = timeout
|
||||
client = _get_async_httpx_client(_params) # type: ignore
|
||||
client = get_async_httpx_client(_params) # type: ignore
|
||||
else:
|
||||
client = client
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue