fix TI appearing as key in prompt

This commit is contained in:
Mary Hipp 2024-02-26 12:29:28 -05:00 committed by psychedelicious
parent 630d3615ca
commit c954cd4c8d

View File

@ -31,7 +31,7 @@ export const EmbeddingSelect = memo(({ onSelect, onClose }: EmbeddingSelectProps
if (!embedding) { if (!embedding) {
return; return;
} }
onSelect(embedding.key); onSelect(embedding.name);
}, },
[onSelect] [onSelect]
); );