Skip to content

Commit

Permalink
llm_utils: revert changing deployment_id parameter to engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Apr 19, 2023
1 parent c1fe34a commit 45f490e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def create_chat_completion(
try:
if CFG.use_azure:
response = openai.ChatCompletion.create(
engine=CFG.get_azure_deployment_id_for_model(model),
deployment_id=CFG.get_azure_deployment_id_for_model(model),
model=model,
messages=messages,
temperature=temperature,
Expand Down

0 comments on commit 45f490e

Please sign in to comment.