We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
deployment_id
engine
1 parent c1fe34a commit 45f490eCopy full SHA for 45f490e
autogpt/llm_utils.py
@@ -83,7 +83,7 @@ def create_chat_completion(
83
try:
84
if CFG.use_azure:
85
response = openai.ChatCompletion.create(
86
- engine=CFG.get_azure_deployment_id_for_model(model),
+ deployment_id=CFG.get_azure_deployment_id_for_model(model),
87
model=model,
88
messages=messages,
89
temperature=temperature,
0 commit comments