Skip to content

Commit

Permalink
Merge pull request #476 from weilirs/embedding-model-disappear
Browse files Browse the repository at this point in the history
Fix: embedding models not showing in the dropdown
  • Loading branch information
samlhuillier authored Nov 10, 2024
2 parents 0df494c + a7fc515 commit fd1cb7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const EmbeddingModelSelect: React.FC<EmbeddingModelSelectProps> = ({
{Object.entries(embeddingModels).map(([model, config]) => (
<SelectItem key={model} value={model}>
<div>
<div>{config.readableName}</div>
<div>{config.readableName || model}</div>
<div className="text-xs text-gray-400">{config.description}</div>
</div>
</SelectItem>
Expand Down

0 comments on commit fd1cb7c

Please sign in to comment.