mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
chat : only remove double bos/eos if added (#15086)
* only remove double bos/eos if added * fix tests
This commit is contained in:
parent
be42642581
commit
f324a3b715
3 changed files with 23 additions and 5 deletions
|
@ -127,6 +127,8 @@ struct common_chat_templates_inputs {
|
|||
bool enable_thinking = true;
|
||||
std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
|
||||
std::map<std::string, std::string> chat_template_kwargs;
|
||||
bool add_bos = false;
|
||||
bool add_eos = false;
|
||||
};
|
||||
|
||||
struct common_chat_params {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue