mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 14:49:29 +00:00
openai[patch]: fix AzureChatOpenAI missing parameter problem (#19258)
- **Issue:** close #19255 - PTAL @baskaryan @eyurtsev
This commit is contained in:
parent
3a978a4bdc
commit
cd79305eb9
@ -201,7 +201,10 @@ class AzureChatOpenAI(ChatOpenAI):
|
|||||||
@property
|
@property
|
||||||
def _identifying_params(self) -> Dict[str, Any]:
|
def _identifying_params(self) -> Dict[str, Any]:
|
||||||
"""Get the identifying parameters."""
|
"""Get the identifying parameters."""
|
||||||
return {**self._default_params}
|
return {
|
||||||
|
**{"azure_deployment": self.deployment_name},
|
||||||
|
**super()._identifying_params,
|
||||||
|
}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _llm_type(self) -> str:
|
def _llm_type(self) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user