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

Method setLocalBaseUrl

app/src/AI/Assistant.cpp:839–845  ·  view source on GitHub ↗

* @brief Updates the local-model base URL and triggers a fresh model query. */

Source from the content-addressed store, hash-verified

837 * @brief Updates the local-model base URL and triggers a fresh model query.
838 */
839void AI::Assistant::setLocalBaseUrl(const QString& url)
840{
841 if (auto* lp = dynamic_cast<LocalProvider*>(m_local.get())) {
842 lp->setBaseUrl(url);
843 Q_EMIT keysChanged();
844 }
845}
846
847/**
848 * @brief Re-queries the local model list (typically after the user edits the URL).

Callers

nothing calls this directly

Calls 2

setBaseUrlMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected