server: Add ability to mount server at prefix (#14544)

* Add server_prefix

* Correct server path env

* Rename cli flag to --api-prefix

* Change all to api_prefix
This commit is contained in:
Alawode Oluwandabira
2025-07-08 11:47:33 +03:00
committed by GitHub
parent 8f22dc0a53
commit 17a1f0d2d4
3 changed files with 39 additions and 31 deletions

View File

@ -370,6 +370,7 @@ struct common_params {
std::string hostname = "127.0.0.1";
std::string public_path = ""; // NOLINT
std::string api_prefix = ""; // NOLINT
std::string chat_template = ""; // NOLINT
bool use_jinja = false; // NOLINT
bool enable_chat_template = true;