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

Method ChatConfigurationController

ChatView/ChatConfigurationController.cpp:14–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace QodeAssist::Chat {
13
14ChatConfigurationController::ChatConfigurationController(QObject *parent)
15 : QObject(parent)
16{
17 auto &settings = Settings::generalSettings();
18 connect(
19 &settings.caProvider,
20 &Utils::BaseAspect::changed,
21 this,
22 &ChatConfigurationController::updateCurrentConfiguration);
23 connect(
24 &settings.caModel,
25 &Utils::BaseAspect::changed,
26 this,
27 &ChatConfigurationController::updateCurrentConfiguration);
28
29 loadAvailableConfigurations();
30}
31
32QStringList ChatConfigurationController::availableConfigurations() const
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected