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

Method refreshLocalModels

app/src/AI/Assistant.cpp:850–854  ·  view source on GitHub ↗

* @brief Re-queries the local model list (typically after the user edits the URL). */

Source from the content-addressed store, hash-verified

848 * @brief Re-queries the local model list (typically after the user edits the URL).
849 */
850void AI::Assistant::refreshLocalModels()
851{
852 if (auto* lp = dynamic_cast<LocalProvider*>(m_local.get()))
853 lp->refreshModels();
854}
855
856// code-verify on

Callers

nothing calls this directly

Calls 2

refreshModelsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected