mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-11 21:39:11 +00:00
Modellist temp
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <QSettings>
|
||||
|
||||
#include "llm.h"
|
||||
#include "modellist.h"
|
||||
#include "chatlistmodel.h"
|
||||
#include "localdocs.h"
|
||||
#include "download.h"
|
||||
#include "network.h"
|
||||
@@ -24,6 +26,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
QGuiApplication app(argc, argv);
|
||||
QQmlApplicationEngine engine;
|
||||
qmlRegisterSingletonInstance("modellist", 1, 0, "ModelList", ModelList::globalInstance());
|
||||
qmlRegisterSingletonInstance("chatlistmodel", 1, 0, "ChatListModel", ChatListModel::globalInstance());
|
||||
qmlRegisterSingletonInstance("llm", 1, 0, "LLM", LLM::globalInstance());
|
||||
qmlRegisterSingletonInstance("download", 1, 0, "Download", Download::globalInstance());
|
||||
qmlRegisterSingletonInstance("network", 1, 0, "Network", Network::globalInstance());
|
||||
|
Reference in New Issue
Block a user