sync : vendor (#13901)

* sync : vendor

ggml-ci

* cont : fix httplib version

ggml-ci

* cont : fix lint

* cont : fix lint

* vendor : move to common folder /vendor

ggml-ci

* cont : fix lint

* cont : move httplib to /vendor + use json_fwd.hpp

ggml-ci

* cont : fix server build

ggml-ci

* cont : add missing headers

ggml-ci

* cont : header clean-up

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-05-30 16:25:45 +03:00 committed by GitHub
parent db38704f01
commit 53f925074d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 2084 additions and 1096 deletions

View file

@ -1,3 +1,13 @@
#include "chat.h"
#include "common.h"
#include "llama-cpp.h"
#include "log.h"
#include "linenoise.cpp/linenoise.h"
#define JSON_ASSERT GGML_ASSERT
#include <nlohmann/json.hpp>
#if defined(_WIN32)
# include <windows.h>
# include <io.h>
@ -24,13 +34,6 @@
#include <string>
#include <vector>
#include "chat.h"
#include "common.h"
#include "json.hpp"
#include "linenoise.cpp/linenoise.h"
#include "llama-cpp.h"
#include "log.h"
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(_WIN32)
[[noreturn]] static void sigint_handler(int) {
printf("\n" LOG_COL_DEFAULT);