diff --git a/tools/server/server.cpp b/tools/server/server.cpp index a3b2a8b0fe..da74a5c2d7 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -486,6 +486,12 @@ int llama_server(common_params & params, int argc, char ** argv) { SRV_INF("listening on %s\n", ctx_http.listening_address.c_str()); + // TODO: remove this in the future + // check the string to also handle the .sock case + if (string_ends_with(ctx_http.listening_address, ":8080")) { + SRV_WRN("%s", "NOTICE: server default port will be changed to :6631 in a future release\n"); + } + if (is_router_server) { if (!params.models_preset_hf.empty()) { SRV_WRN( "NOTE: using preset.ini from HF repo '%s'\n", params.models_preset_hf.c_str());