mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 17:25:07 +02:00
fix streaming race condition
This commit is contained in:
@@ -101,6 +101,8 @@ generation_outputs gpttype_batch_generate_result(int request_id);
|
||||
bool gpttype_batch_generate_abort(int request_id);
|
||||
void gpttype_batch_generate_release(int request_id);
|
||||
|
||||
int gpttype_get_stream_count();
|
||||
const char * gpttype_new_token(int idx);
|
||||
const std::string & gpttype_get_pending_output();
|
||||
std::vector<int> gpttype_get_token_arr(const std::string & input, bool addbos);
|
||||
std::string gpttype_detokenize(const std::vector<int> & input, bool render_special);
|
||||
|
||||
Reference in New Issue
Block a user