server : add more env vars, improve gen-docs (#9635)

* server : add more env vars, improve gen-docs

* update server docs

* LLAMA_ARG_NO_CONTEXT_SHIFT
This commit is contained in:
Xuan Son Nguyen 2024-09-25 14:05:13 +02:00 committed by GitHub
parent 3d6bf6919f
commit afbbfaa537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 157 additions and 107 deletions

View file

@ -2356,6 +2356,10 @@ int main(int argc, char ** argv) {
svr.reset(new httplib::Server());
}
#else
if (params.ssl_file_key != "" && params.ssl_file_cert != "") {
LOG_ERR("Server is built without SSL support\n");
return 1;
}
svr.reset(new httplib::Server());
#endif