mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	server : fix n_keep always showing as 0 in response (#6211)
This commit is contained in:
		| @@ -1247,7 +1247,7 @@ struct server_context { | ||||
|             {"penalize_nl",               slot.sparams.penalize_nl}, | ||||
|             {"stop",                      slot.params.antiprompt}, | ||||
|             {"n_predict",                 slot.params.n_predict}, // TODO: fix duplicate key n_predict | ||||
|             {"n_keep",                    params.n_keep}, | ||||
|             {"n_keep",                    slot.params.n_keep}, | ||||
|             {"ignore_eos",                ignore_eos}, | ||||
|             {"stream",                    slot.params.stream}, | ||||
|             {"logit_bias",                slot.sparams.logit_bias}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jan Boon
					Jan Boon