api: don't log resulting tokens on backend
This commit is contained in:
parent
2cdcf54dd8
commit
2c11e32018
2
api.go
2
api.go
@ -150,8 +150,6 @@ func (this *Application) POST_Chat(w http.ResponseWriter, r *http.Request) {
|
|||||||
// The model did have something to say
|
// The model did have something to say
|
||||||
tokenStr := C.GoString(C.llama_token_to_str(lcontext, newTokenId))
|
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
|
// Push this new token into the lembedding_ state, or else we'll just get it over and over again
|
||||||
llast_n_tokens[i] = newTokenId
|
llast_n_tokens[i] = newTokenId
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user