mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-18 16:55:14 +02:00
clear reader copy on new gen
This commit is contained in:
@@ -1233,6 +1233,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs, generation_o
|
||||
{
|
||||
concat_output_mtx.lock();
|
||||
concat_output = "";
|
||||
concat_output_reader_copy = "";
|
||||
concat_output_mtx.unlock();
|
||||
last_stop_reason = stop_reason::OUT_OF_TOKENS;
|
||||
stop_sequence.clear();
|
||||
|
||||
Reference in New Issue
Block a user