Start moving toward a single authoritative class for all settings. This

is necessary to get rid of technical debt before we drastically increase
the complexity of settings by adding per model settings and mirostat and
other fun things. Right now the settings are divided between QML and C++
and some convenience methods to deal with settings sync and so on that are
in other singletons. This change consolidates all the logic for settings
into a single class with a single API for both C++ and QML.
This commit is contained in:
Adam Treat
2023-06-28 13:47:57 -04:00
committed by AT
parent 390994ea5e
commit 705b480d72
4 changed files with 440 additions and 143 deletions

View File

@@ -21,7 +21,6 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationDomain("gpt4all.io");
QCoreApplication::setApplicationName("GPT4All");
QCoreApplication::setApplicationVersion(APP_VERSION);
QSettings::setDefaultFormat(QSettings::IniFormat);
Logger::globalInstance();