We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a40165e + 6defbc2 commit 301a920Copy full SHA for 301a920
gpt_engineer/core/ai.py
@@ -268,7 +268,7 @@ def _create_chat_model(self) -> BaseChatModel:
268
"""
269
if self.azure_endpoint:
270
return AzureChatOpenAI(
271
- openai_api_base=self.azure_endpoint,
+ azure_endpoint=self.azure_endpoint,
272
openai_api_version=os.getenv("OPENAI_API_VERSION", "2023-05-15"),
273
deployment_name=self.model_name,
274
openai_api_type="azure",
0 commit comments