From 7a99917030bfd22256ae239f6dfd3112b5b3ccce Mon Sep 17 00:00:00 2001 From: patcher99 Date: Sat, 16 Mar 2024 17:35:46 +0530 Subject: [PATCH] add azure_ prefix --- src/azure_openai.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure_openai.js b/src/azure_openai.js index 5963946..ec89c6a 100644 --- a/src/azure_openai.js +++ b/src/azure_openai.js @@ -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 }; @@ -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 };