summaryrefslogtreecommitdiff
path: root/common/common.h
diff options
context:
space:
mode:
authorAlexey Parfenov <zxed@alkatrazstudio.net>2024-02-16 11:33:25 +0000
committerGitHub <noreply@github.com>2024-02-16 13:33:25 +0200
commit6dcc02d2444c779c18d49c364c5d5c5728b6b484 (patch)
tree938e984485a0146a61d4254911c308fe83a6c789 /common/common.h
parent5f5808ca7b7f23a1fa7a77241842bb84a0e55108 (diff)
server : add "samplers" param to control the samplers order (#5494)
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common.h b/common/common.h
index 74c13699..935771d4 100644
--- a/common/common.h
+++ b/common/common.h
@@ -165,7 +165,7 @@ void process_escapes(std::string& input);
// String utils
//
-std::vector<llama_sampler_type> sampler_types_from_names(const std::vector<std::string> & names);
+std::vector<llama_sampler_type> sampler_types_from_names(const std::vector<std::string> & names, bool allow_alt_names);
std::vector<llama_sampler_type> sampler_types_from_chars(const std::string & names_string);
std::vector<std::string> string_split(std::string input, char separator);
std::string sampler_type_to_name_string(llama_sampler_type sampler_type);