diff --git a/pandasai/llm/azure_openai.py b/pandasai/llm/azure_openai.py index 13216ea89..25a0b4c78 100644 --- a/pandasai/llm/azure_openai.py +++ b/pandasai/llm/azure_openai.py @@ -176,6 +176,7 @@ def _client_params(self) -> Dict[str, any]: "azure_deployment": self.deployment_name, "azure_ad_token": self.azure_ad_token, "azure_ad_token_provider": self.azure_ad_token_provider, + "api_key": self.api_token, } return {**client_params, **super()._client_params}