forked from janhq/cortex.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathengine_constants.h
More file actions
27 lines (20 loc) · 911 Bytes
/
engine_constants.h
File metadata and controls
27 lines (20 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
constexpr const auto kLlamaEngine = "llama-cpp";
constexpr const auto kRemote = "remote";
constexpr const auto kLocal = "local";
constexpr const auto kLlamaRepo = "llama.cpp";
constexpr const auto kLlamaLibPath = "./engines/llama.cpp";
constexpr const auto kLlamaServer = "llama-server";
constexpr const auto kMenloOrg = "menloresearch";
constexpr const auto kGgmlOrg = "ggml-org";
// other constants
constexpr auto static kHuggingFaceHost = "huggingface.co";
constexpr auto static kGitHubHost = "api.github.com";
constexpr auto static kCortexFolderName = "cortexcpp";
constexpr auto static kDefaultGHUserAgent = kMenloOrg;
constexpr auto static kWindowsOs = "win";
constexpr auto static kMacOs = "mac";
constexpr auto static kLinuxOs = "linux";
constexpr auto static kUbuntuOs = "ubuntu";
constexpr auto static kUnsupportedOs = "Unsupported OS";
constexpr auto static kCurlGetTimeout = 10;