Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
add azure_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 16, 2024
1 parent de7f72c commit 7a99917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/azure_openai.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function initAzureOpenAI({ llm, dokuUrl, apiKey, environment, app
endpoint: 'azure.chat.completions',
skipResp: skipResp,
requestDuration: duration,
model: chatModel,
model: "azure_" + chatModel,
prompt: prompt,
response: dataResponse
};
Expand Down Expand Up @@ -219,7 +219,7 @@ export default function initAzureOpenAI({ llm, dokuUrl, apiKey, environment, app
endpoint: 'azure.completions',
skipResp: skipResp,
requestDuration: duration,
model: chatModel,
model: "azure_" + chatModel,
prompt: params.prompt,
response: dataResponse
};
Expand Down

0 comments on commit 7a99917

Please sign in to comment.