mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-17 08:19:49 +02:00
Merge branch 'upstream' into concedo_experimental
# Conflicts: # .devops/s390x.Dockerfile # .dockerignore # .github/workflows/docker.yml # .github/workflows/release.yml # docs/android.md # ggml/src/ggml-cpu/amx/mmq.cpp # ggml/src/ggml-hexagon/htp/ssm-conv.c # tests/peg-parser/test-gbnf-generation.cpp # tests/test-arg-parser.cpp # tests/test-chat.cpp # tests/test-jinja.cpp # tests/test-json-schema-to-grammar.cpp # tools/server/README.md
This commit is contained in:
+3
-3
@@ -925,8 +925,8 @@ static utf8_argv make_utf8_argv() {
|
||||
bool common_params_parse(int argc, char ** argv, common_params & params, llama_example ex, void(*print_usage)(int, char **)) {
|
||||
#ifdef _WIN32
|
||||
auto utf8 = make_utf8_argv();
|
||||
if (!utf8.ptrs.empty()) {
|
||||
argc = static_cast<int>(utf8.buf.size());
|
||||
// repair argv only when it matches the process command line
|
||||
if (static_cast<int>(utf8.buf.size()) == argc) {
|
||||
argv = utf8.ptrs.data();
|
||||
}
|
||||
#endif
|
||||
@@ -2898,7 +2898,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
||||
params.server_tools = parse_csv_row(value);
|
||||
}
|
||||
).set_examples({LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_TOOLS"));
|
||||
add_opt(common_arg(
|
||||
add_opt(common_arg(
|
||||
{"-ag", "--agent"},
|
||||
{"-no-ag", "--no-agent"},
|
||||
"whether to enable CORS proxy and all built-in tools - do not enable in untrusted environments (default: disabled)",
|
||||
|
||||
Reference in New Issue
Block a user