Describe the issue:
--api-key supports LLAMA_API_KEY env var, but --api-key-file does not.
Expected behavior:
Add a corresponding environment variable (e.g. LLAMA_ARG_API_KEY_FILE) following the same pattern as other router options like LLAMA_ARG_MODELS_DIR.
Suggested fix:
Add .set_env("LLAMA_ARG_API_KEY_FILE") to the common_arg for --api-key-file in common/arg.cpp (around line 2997, right before the closing ));).
Describe the issue:
--api-key supports
LLAMA_API_KEYenv var, but --api-key-file does not.Expected behavior:
Add a corresponding environment variable (e.g.
LLAMA_ARG_API_KEY_FILE) following the same pattern as other router options likeLLAMA_ARG_MODELS_DIR.Suggested fix:
Add
.set_env("LLAMA_ARG_API_KEY_FILE")to thecommon_argfor--api-key-fileincommon/arg.cpp(around line 2997, right before the closing));).