Skip to content

Commit

Permalink
Fix breaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Nov 27, 2023
1 parent 00fffda commit 7005734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/routes-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
},
Expand Down

0 comments on commit 7005734

Please sign in to comment.