fix compile error

This commit is contained in:
Xuan Son Nguyen
2025-11-19 21:33:44 +01:00
parent fc5901a449
commit 399f536dc7
3 changed files with 18 additions and 1 deletions

View File

@@ -5662,6 +5662,7 @@ int main(int argc, char ** argv, char ** envp) {
// register API routes
server_routes routes(params, ctx_server, ctx_http);
// TODO: improve this by changing arg.cpp
bool is_router_server = params.model.path == DEFAULT_MODEL_PATH;
if (is_router_server) {
// setup server instances manager