mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 15:00:23 +00:00
Update libs/partners/openai/langchain_openai/llms/azure.py
This commit is contained in:
@@ -156,7 +156,7 @@ class AzureOpenAI(BaseOpenAI):
|
|||||||
**client_params,
|
**client_params,
|
||||||
**sync_specific, # type: ignore[arg-type]
|
**sync_specific, # type: ignore[arg-type]
|
||||||
).completions
|
).completions
|
||||||
if not (self.async_client or None):
|
if not self.async_client:
|
||||||
async_specific = {"http_client": self.http_async_client}
|
async_specific = {"http_client": self.http_async_client}
|
||||||
self.async_client = openai.AsyncAzureOpenAI(
|
self.async_client = openai.AsyncAzureOpenAI(
|
||||||
**client_params,
|
**client_params,
|
||||||
|
Reference in New Issue
Block a user