Skip to content

Commit 301a920

Browse files
authored
Merge pull request #1010 from Emassei/main
This seems correct, so I will merge. I don't have access to an azure endpoint, so I will trust you on this one.
2 parents a40165e + 6defbc2 commit 301a920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpt_engineer/core/ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def _create_chat_model(self) -> BaseChatModel:
268268
"""
269269
if self.azure_endpoint:
270270
return AzureChatOpenAI(
271-
openai_api_base=self.azure_endpoint,
271+
azure_endpoint=self.azure_endpoint,
272272
openai_api_version=os.getenv("OPENAI_API_VERSION", "2023-05-15"),
273273
deployment_name=self.model_name,
274274
openai_api_type="azure",

0 commit comments

Comments
 (0)