Skip to content

Commit ddb9cce

Browse files
committed
server : update slot->prompt after restore
1 parent b983f77 commit ddb9cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ struct server_context {
17781778
}
17791779
slot->cache_tokens.resize(token_count);
17801780

1781-
slot->prompt = string_format("[restored %d tokens from file]", token_count);
1781+
slot->prompt = string_format("[restored %d tokens from file]", (int) token_count);
17821782

17831783
const int64_t t_end = ggml_time_us();
17841784
const double t_restore_ms = (t_end - t_start) / 1000.0;

0 commit comments

Comments
 (0)