MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setCurrentModel

Method setCurrentModel

app/src/AI/Providers/LocalProvider.cpp:191–197  ·  view source on GitHub ↗

* @brief Accepts any non-empty model id since the live list may not yet be loaded. */

Source from the content-addressed store, hash-verified

189 * @brief Accepts any non-empty model id since the live list may not yet be loaded.
190 */
191void AI::LocalProvider::setCurrentModel(const QString& model)
192{
193 if (model.isEmpty())
194 return;
195
196 m_currentModel = model;
197}
198
199//--------------------------------------------------------------------------------------------------
200// Base URL

Callers 2

setModelMethod · 0.45

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected