From 7005734d833f0f13170a12cd1daf3d8af9db72b0 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 27 Nov 2023 16:33:00 +0200 Subject: [PATCH] Fix breaking test --- lib/routes-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes-ui.js b/lib/routes-ui.js index c6152e48..40290ab9 100644 --- a/lib/routes-ui.js +++ b/lib/routes-ui.js @@ -7651,7 +7651,7 @@ ${Buffer.from(data.content, 'base64url').toString('base64')} hasOpenAiAPIKey: !!(await settings.get('openAiAPIKey')), indexInfo: await settings.get('embeddings:index'), - openAiModels: await getOpenAiModels(OPEN_AI_MODELS_CHAT, request.payload.documentStoreChatModel) + openAiModels: await getOpenAiModels(OPEN_AI_MODELS, request.payload.documentStoreChatModel) }, { layout: 'app' @@ -7693,7 +7693,7 @@ ${Buffer.from(data.content, 'base64url').toString('base64')} hasOpenAiAPIKey: !!(await settings.get('openAiAPIKey')), indexInfo: await settings.get('embeddings:index'), - openAiModels: await getOpenAiModels(OPEN_AI_MODELS_CHAT, request.payload.documentStoreChatModel), + openAiModels: await getOpenAiModels(OPEN_AI_MODELS, request.payload.documentStoreChatModel), errors },