MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / modelList

Method modelList

src/plugins/smartut/manager/smartutmanager.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93QStringList SmartUTManager::modelList() const
94{
95 const auto &models = d->aiSrv->getAllModel();
96 QStringList names;
97 std::transform(models.cbegin(), models.cend(), std::back_inserter(names),
98 [](const LLMInfo &info) {
99 return info.modelName;
100 });
101 return names;
102}
103
104QList<ProjectInfo> SmartUTManager::projectList() const
105{

Callers 2

createMainWidgetMethod · 0.80
updateModelListMethod · 0.80

Calls 3

getAllModelMethod · 0.80
cbeginMethod · 0.80
cendMethod · 0.80

Tested by

no test coverage detected