args: add LLAMA_ARG_SLOT_SAVE_PATH env for --slot-save-path (#30272)

Allow configuring --slot-save-path via LLAMA_ARG_SLOT_SAVE_PATH so
it can be set from an EnvironmentFile in a systemd unit file.
This commit is contained in:
Mikolaj Kucharski authored and GitHub committed 2026-10-10 15:34:40 +02:00
1 parent 781dbc5ac9
commit aa94f20861
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3643,7 +3643,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
params.slot_save_path += DIRECTORY_SEPARATOR;
}
}
).set_examples({LLAMA_EXAMPLE_SERVER}));
).set_examples({LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_SLOT_SAVE_PATH"));
add_opt(common_arg(
{"--media-path"}, "PATH",
"directory for loading local media files; files can be accessed via file:// URLs using relative paths (default: disabled)",