openai[patch]: fix AzureChatOpenAI missing parameter problem (#19258)

- **Issue:** close #19255
- PTAL @baskaryan @eyurtsev
pull/16932/head^2
Guangdong Liu 3 months ago committed by GitHub
parent 3a978a4bdc
commit cd79305eb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -201,7 +201,10 @@ class AzureChatOpenAI(ChatOpenAI):
@property
def _identifying_params(self) -> Dict[str, Any]:
"""Get the identifying parameters."""
return {**self._default_params}
return {
**{"azure_deployment": self.deployment_name},
**super()._identifying_params,
}
@property
def _llm_type(self) -> str:

Loading…
Cancel
Save