mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
pass llm provider when creating async httpx clients
This commit is contained in:
parent
9d102e7054
commit
0d6081e370
14 changed files with 57 additions and 19 deletions
|
@ -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, llm_provider=litellm.LlmProviders.BEDROCK) # type: ignore
|
||||
else:
|
||||
client = client
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue