From 70e1560cb3429a34263f0f5fce8131312e7c9940 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 14 Mar 2024 11:37:01 +0000 Subject: [PATCH] fix check on model --- frontend/src/components/SourceDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/SourceDropdown.tsx b/frontend/src/components/SourceDropdown.tsx index 4c69495f..04b95d7c 100644 --- a/frontend/src/components/SourceDropdown.tsx +++ b/frontend/src/components/SourceDropdown.tsx @@ -54,7 +54,7 @@ function SourceDropdown({
{options ? ( options.map((option: any, index: number) => { - if (option.model !== embeddingsName) { + if (option.model === embeddingsName) { return (