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
|
url = https://github.com/nomic-ai/SingleApplication.git
|
||||||
[submodule "gpt4all-chat/deps/fmt"]
|
[submodule "gpt4all-chat/deps/fmt"]
|
||||||
path = 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"]
|
[submodule "gpt4all-chat/deps/DuckX"]
|
||||||
path = gpt4all-chat/deps/DuckX
|
path = gpt4all-chat/deps/DuckX
|
||||||
url = https://github.com/nomic-ai/DuckX.git
|
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 fmt;
|
||||||
import gpt4all.backend.main;
|
import gpt4all.backend.main;
|
||||||
import gpt4all.test.config;
|
import gpt4all.test.config;
|
||||||
|
|
||||||
#include <QLatin1StringView>
|
|
||||||
|
|
||||||
using gpt4all::backend::LLMProvider;
|
using gpt4all::backend::LLMProvider;
|
||||||
|
|
||||||
|
|
||||||
|
@ -386,6 +386,7 @@ qt_add_translations(chat
|
|||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(chat PROPERTIES
|
set_target_properties(chat PROPERTIES
|
||||||
|
CXX_SCAN_FOR_MODULES ON
|
||||||
WIN32_EXECUTABLE TRUE
|
WIN32_EXECUTABLE TRUE
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -614,3 +615,7 @@ else()
|
|||||||
cpack_ifw_add_repository("GPT4AllRepository" URL "https://gpt4all.io/installer_repos/mac/repository")
|
cpack_ifw_add_repository("GPT4AllRepository" URL "https://gpt4all.io/installer_repos/mac/repository")
|
||||||
endif()
|
endif()
|
||||||
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 "toolmodel.h"
|
||||||
#include "toolcallparser.h"
|
#include "toolcallparser.h"
|
||||||
|
|
||||||
#include <fmt/format.h>
|
|
||||||
#include <minja/minja.hpp>
|
#include <minja/minja.hpp>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
|
||||||
@ -54,6 +53,8 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
using namespace Qt::Literals::StringLiterals;
|
using namespace Qt::Literals::StringLiterals;
|
||||||
using namespace ToolEnums;
|
using namespace ToolEnums;
|
||||||
namespace ranges = std::ranges;
|
namespace ranges = std::ranges;
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "xlsxtomd.h"
|
#include "xlsxtomd.h"
|
||||||
|
|
||||||
#include <fmt/format.h>
|
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QAbstractListModel>
|
#include <QAbstractListModel>
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
@ -33,6 +31,8 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
using namespace Qt::Literals::StringLiterals;
|
using namespace Qt::Literals::StringLiterals;
|
||||||
namespace ranges = std::ranges;
|
namespace ranges = std::ranges;
|
||||||
namespace views = std::views;
|
namespace views = std::views;
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#include <duckx/duckx.hpp>
|
#include <duckx/duckx.hpp>
|
||||||
#include <fmt/format.h>
|
|
||||||
#include <usearch/index_plugins.hpp>
|
#include <usearch/index_plugins.hpp>
|
||||||
|
|
||||||
#include <QByteArrayView>
|
#include <QByteArrayView>
|
||||||
@ -39,6 +38,8 @@
|
|||||||
# include <fpdf_text.h>
|
# include <fpdf_text.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
using namespace Qt::Literals::StringLiterals;
|
using namespace Qt::Literals::StringLiterals;
|
||||||
namespace ranges = std::ranges;
|
namespace ranges = std::ranges;
|
||||||
namespace us = unum::usearch;
|
namespace us = unum::usearch;
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#include <fmt/format.h>
|
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
@ -12,6 +10,8 @@
|
|||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
namespace views = std::views;
|
namespace views = std::views;
|
||||||
using json = nlohmann::ordered_json;
|
using json = nlohmann::ordered_json;
|
||||||
|
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
#include "mysettings.h"
|
#include "mysettings.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#include <fmt/format.h>
|
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QCborArray>
|
#include <QCborArray>
|
||||||
#include <QCborMap>
|
#include <QCborMap>
|
||||||
@ -42,6 +40,8 @@
|
|||||||
# include <QTcpServer>
|
# include <QTcpServer>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
using namespace std::string_literals;
|
using namespace std::string_literals;
|
||||||
using namespace Qt::Literals::StringLiterals;
|
using namespace Qt::Literals::StringLiterals;
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <fmt/base.h>
|
|
||||||
#include <fmt/format.h>
|
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QJsonValue>
|
#include <QJsonValue>
|
||||||
#include <QLatin1StringView>
|
#include <QLatin1StringView>
|
||||||
@ -15,6 +12,8 @@
|
|||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
import fmt;
|
||||||
|
|
||||||
class QJsonObject;
|
class QJsonObject;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user