LLMModelFilter
The filter field of LLMSelectActivity over an LLMModelListModel.
| Inherits | QSortFilterProxyModel |
| Group | libllm |
Declared in src/libs/libllm/llm/ui/LLMModelListModel.hpp.
Detailed description
A QSortFilterProxyModel that keeps the rows whose name, model id or provider name holds the text, with no regard to case: the same text as LLMModelListModel::FilterRole. It finds the providers whose name holds the text once for each text, so a row costs one read of the registry (§OCP-T6).
Member function documentation
setText
void LLMModelFilter::setText(const QString &text)
Keep the rows that hold text, or every row for an empty text.