Skip to content

Commit 29e7137

Browse files
committed
SimpleChat: Allow user to control cache_prompt flag in request
1 parent 1e8787f commit 29e7137

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/server/public_simplechat/simplechat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ class Me {
745745
"temperature": 0.7,
746746
"max_tokens": 1024,
747747
"n_predict": 1024,
748+
"cache_prompt": false,
748749
//"frequency_penalty": 1.2,
749750
//"presence_penalty": 1.2,
750751
};

0 commit comments

Comments
 (0)