forked from phoenix/litellm-mirror
(feat) router: async client Azure, OpenAI
This commit is contained in:
parent
2760cdcce5
commit
9780efca4b
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class Router:
|
||||||
data["model"] = original_model_string[:index_of_model_id]
|
data["model"] = original_model_string[:index_of_model_id]
|
||||||
else:
|
else:
|
||||||
data["model"] = original_model_string
|
data["model"] = original_model_string
|
||||||
model_client = deployment.get("client", None)
|
model_client = deployment.get("async_client", None)
|
||||||
|
|
||||||
return await litellm.aembedding(**{**data, "input": input, "caching": self.cache_responses, "client": model_client, **kwargs})
|
return await litellm.aembedding(**{**data, "input": input, "caching": self.cache_responses, "client": model_client, **kwargs})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue