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

Method localBaseUrl

app/src/AI/Assistant.cpp:828–834  ·  view source on GitHub ↗

code-verify off (cold settings paths; dynamic_cast is one-shot per user action) * @brief Returns the configured base URL of the local model provider. */

Source from the content-addressed store, hash-verified

826 * @brief Returns the configured base URL of the local model provider.
827 */
828QString AI::Assistant::localBaseUrl() const
829{
830 if (auto* lp = dynamic_cast<LocalProvider*>(m_local.get()))
831 return lp->baseUrl();
832
833 return LocalProvider::defaultBaseUrl();
834}
835
836/**
837 * @brief Updates the local-model base URL and triggers a fresh model query.

Callers

nothing calls this directly

Calls 2

baseUrlMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected