MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / resolveEndpoint

Method resolveEndpoint

LLMClientInterface.cpp:380–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380QString LLMClientInterface::resolveEndpoint(
381 PluginLLMCore::PromptTemplate *promptTemplate, bool isLanguageSpecify) const
382{
383 const QString custom = isLanguageSpecify ? m_generalSettings.ccPreset1CustomEndpoint()
384 : m_generalSettings.ccCustomEndpoint();
385 return !custom.isEmpty() ? custom : promptTemplate->endpoint();
386}
387
388Context::ContextManager *LLMClientInterface::contextManager() const
389{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
endpointMethod · 0.45

Tested by

no test coverage detected