mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-23 15:14:44 +01:00
llm_utils: revert changing deployment_id parameter to engine
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user