arg: Add LLAMA_ARG_API_KEY_FILE environment variable for --api-key-file (#23167)

This commit is contained in:
Mikolaj Kucharski
2026-05-28 14:25:40 +00:00
committed by GitHub
parent d374e71e55
commit 7fb1e70b59
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2998,7 +2998,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
}
key_file.close();
}
).set_examples({LLAMA_EXAMPLE_SERVER}));
).set_examples({LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_API_KEY_FILE"));
add_opt(common_arg(
{"--ssl-key-file"}, "FNAME",
"path to file a PEM-encoded SSL private key",