mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 00:25:15 +00:00
(feat) router: async client Azure, OpenAI
This commit is contained in:
+1
-1
@@ -328,7 +328,7 @@ class Router:
|
||||
data["model"] = original_model_string[:index_of_model_id]
|
||||
else:
|
||||
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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user