mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-27 06:18:05 +00:00
Update libs/partners/openai/langchain_openai/llms/azure.py
This commit is contained in:
@@ -150,7 +150,7 @@ class AzureOpenAI(BaseOpenAI):
|
|||||||
"default_headers": self.default_headers,
|
"default_headers": self.default_headers,
|
||||||
"default_query": self.default_query,
|
"default_query": self.default_query,
|
||||||
}
|
}
|
||||||
if not (self.client or None):
|
if not self.client:
|
||||||
sync_specific = {"http_client": self.http_client}
|
sync_specific = {"http_client": self.http_client}
|
||||||
self.client = openai.AzureOpenAI(
|
self.client = openai.AzureOpenAI(
|
||||||
**client_params,
|
**client_params,
|
||||||
|
Reference in New Issue
Block a user