File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ function! llama#init()
144144 " autocmd CursorHoldI * call llama#fim(v:true, v:true)
145145 endif
146146
147+ " gather chunks upon yanking
147148 autocmd TextYankPost * if v: event .operator == # ' y' | call s: pick_chunk (v: event .regcontents, v: false , v: true ) | endif
148149
149150 " gather chunks upon entering/leaving a buffer
@@ -310,7 +311,6 @@ function! s:ring_update()
310311 \ ' input_extra' : l: extra_context ,
311312 \ ' prompt' : " " ,
312313 \ ' n_predict' : 1 ,
313- \ ' penalty_last_n' : 0 ,
314314 \ ' temperature' : 0.0 ,
315315 \ ' stream' : v: false ,
316316 \ ' samplers' : [" temperature" ],
@@ -410,7 +410,6 @@ function! llama#fim(is_auto, on_hold) abort
410410 \ ' prompt' : l: prompt ,
411411 \ ' n_predict' : g: llama_config .n_predict,
412412 \ ' n_indent' : l: indent ,
413- \ ' penalty_last_n' : 0 ,
414413 \ ' top_k' : 40 ,
415414 \ ' top_p' : 0.99 ,
416415 \ ' stream' : v: false ,
You can’t perform that action at this time.
0 commit comments