Skip to content

Commit 45f490e

Browse files
committed
llm_utils: revert changing deployment_id parameter to engine
1 parent c1fe34a commit 45f490e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autogpt/llm_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def create_chat_completion(
8383
try:
8484
if CFG.use_azure:
8585
response = openai.ChatCompletion.create(
86-
engine=CFG.get_azure_deployment_id_for_model(model),
86+
deployment_id=CFG.get_azure_deployment_id_for_model(model),
8787
model=model,
8888
messages=messages,
8989
temperature=temperature,

0 commit comments

Comments
 (0)