mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
enh: include desc in fuzzy search
This commit is contained in:
parent
a9a6ed8b71
commit
e5bf27e716
@ -53,12 +53,13 @@
|
|||||||
const _item = {
|
const _item = {
|
||||||
...item,
|
...item,
|
||||||
modelName: item.model?.name,
|
modelName: item.model?.name,
|
||||||
tags: item.model?.info?.meta?.tags?.map((tag) => tag.name).join(' ')
|
tags: item.model?.info?.meta?.tags?.map((tag) => tag.name).join(' '),
|
||||||
|
desc: item.model?.info?.meta?.description
|
||||||
};
|
};
|
||||||
return _item;
|
return _item;
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
keys: ['value', 'label', 'tags', 'modelName']
|
keys: ['value', 'label', 'tags', 'desc', 'modelName']
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user