From 2c11e32018c5a028abc2b9ecd40bd23b4fe22c5c Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 8 Apr 2023 15:48:26 +1200 Subject: [PATCH] api: don't log resulting tokens on backend --- api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api.go b/api.go index 8bd059f..3ca633d 100644 --- a/api.go +++ b/api.go @@ -150,8 +150,6 @@ func (this *Application) POST_Chat(w http.ResponseWriter, r *http.Request) { // The model did have something to say tokenStr := C.GoString(C.llama_token_to_str(lcontext, newTokenId)) - log.Printf("token is %q", tokenStr) - // Push this new token into the lembedding_ state, or else we'll just get it over and over again llast_n_tokens[i] = newTokenId