Skip to content

Commit c22473b

Browse files
authored
server : don't print user inputs to console (ggml-org#16871)
1 parent 0f715b4 commit c22473b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3796,7 +3796,7 @@ struct server_context {
37963796

37973797
// when the prompt prefix does not match, print the tokens around the mismatch
37983798
// this is useful for debugging prompt caching
3799-
{
3799+
if (slots_debug) {
38003800
const int np0 = std::max<int>(n_past - 4, 0);
38013801
const int np1 = std::min<int>(n_past + 6, std::min(slot.prompt.tokens.size(), slot.task->tokens.size()));
38023802

0 commit comments

Comments
 (0)