mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-27 12:08:32 +00:00
WIP
This commit is contained in:
parent
076799aaa8
commit
bc0598565a
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -10,7 +10,7 @@
|
||||
url = https://github.com/nomic-ai/SingleApplication.git
|
||||
[submodule "gpt4all-chat/deps/fmt"]
|
||||
path = deps/fmt
|
||||
url = https://github.com/fmtlib/fmt.git
|
||||
url = https://github.com/nomic-ai/fmt.git
|
||||
[submodule "gpt4all-chat/deps/DuckX"]
|
||||
path = gpt4all-chat/deps/DuckX
|
||||
url = https://github.com/nomic-ai/DuckX.git
|
||||
|
2
deps/fmt
vendored
2
deps/fmt
vendored
@ -1 +1 @@
|
||||
Subproject commit 0c9fce2ffefecfdce794e1859584e25877b7b592
|
||||
Subproject commit 55a1103e5feb5200c004d9331863014b7835ca52
|
@ -1 +1 @@
|
||||
Subproject commit 11f734c3b0334dbae4823b4a7467764e447fc6d6
|
||||
Subproject commit 4a59c79eae0847bf618c2d1b25c35616c1f6a838
|
@ -1,9 +1,9 @@
|
||||
#include <QLatin1StringView>
|
||||
|
||||
import fmt;
|
||||
import gpt4all.backend.main;
|
||||
import gpt4all.test.config;
|
||||
|
||||
#include <QLatin1StringView>
|
||||
|
||||
using gpt4all::backend::LLMProvider;
|
||||
|
||||
|
||||
|
@ -386,6 +386,7 @@ qt_add_translations(chat
|
||||
)
|
||||
|
||||
set_target_properties(chat PROPERTIES
|
||||
CXX_SCAN_FOR_MODULES ON
|
||||
WIN32_EXECUTABLE TRUE
|
||||
)
|
||||
|
||||
@ -614,3 +615,7 @@ else()
|
||||
cpack_ifw_add_repository("GPT4AllRepository" URL "https://gpt4all.io/installer_repos/mac/repository")
|
||||
endif()
|
||||
endif()
|
||||
set_source_files_properties(
|
||||
"chat_autogen/mocs_compilation.cpp"
|
||||
PROPERTIES CXX_SCAN_FOR_MODULES ON
|
||||
)
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "toolmodel.h"
|
||||
#include "toolcallparser.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <minja/minja.hpp>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
@ -54,6 +53,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
import fmt;
|
||||
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using namespace ToolEnums;
|
||||
namespace ranges = std::ranges;
|
||||
|
@ -7,8 +7,6 @@
|
||||
#include "utils.h"
|
||||
#include "xlsxtomd.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QAbstractListModel>
|
||||
#include <QBuffer>
|
||||
@ -33,6 +31,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
import fmt;
|
||||
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
namespace ranges = std::ranges;
|
||||
namespace views = std::views;
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include "utils.h"
|
||||
|
||||
#include <duckx/duckx.hpp>
|
||||
#include <fmt/format.h>
|
||||
#include <usearch/index_plugins.hpp>
|
||||
|
||||
#include <QByteArrayView>
|
||||
@ -39,6 +38,8 @@
|
||||
# include <fpdf_text.h>
|
||||
#endif
|
||||
|
||||
import fmt;
|
||||
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
namespace ranges = std::ranges;
|
||||
namespace us = unum::usearch;
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include <QString>
|
||||
#include <QUrl>
|
||||
|
||||
@ -12,6 +10,8 @@
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
import fmt;
|
||||
|
||||
namespace views = std::views;
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
#include "mysettings.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QCborArray>
|
||||
#include <QCborMap>
|
||||
@ -42,6 +40,8 @@
|
||||
# include <QTcpServer>
|
||||
#endif
|
||||
|
||||
import fmt;
|
||||
|
||||
using namespace std::string_literals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <fmt/base.h>
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QJsonValue>
|
||||
#include <QLatin1StringView>
|
||||
@ -15,6 +12,8 @@
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
import fmt;
|
||||
|
||||
class QJsonObject;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user