Skip to content

Commit dd16438

Browse files
authored
Remove trailing whitespaces
1 parent fd333a2 commit dd16438

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/server/server.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4440,20 +4440,20 @@ int main(int argc, char ** argv) {
44404440
// Get file metadata
44414441
struct stat file_stat;
44424442
stat(params.model.path.c_str(), &file_stat);
4443-
4443+
44444444
// Convert modified time to ISO 8601
44454445
char modified_buf[64];
44464446
strftime(modified_buf, sizeof(modified_buf), "%Y-%m-%dT%H:%M:%S%z", localtime(&file_stat.st_mtime));
4447-
4447+
44484448
const auto* model = llama_get_model(ctx_server.ctx);
44494449
char arch_buf[64] = {0};
44504450
char param_size_buf[64] = {0};
44514451
llama_model_meta_val_str(model, "general.architecture", arch_buf, sizeof(arch_buf));
44524452
llama_model_meta_val_str(model, "general.parameter_count", param_size_buf, sizeof(param_size_buf));
4453-
4453+
44544454
json models = {
44554455
{"models", {
4456-
{
4456+
{
44574457
{"name", params.model_alias.empty() ? params.model.path : params.model_alias},
44584458
{"model", params.model_alias.empty() ? params.model.path : params.model_alias},
44594459
{"modified_at", modified_buf},

0 commit comments

Comments
 (0)