mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-19 16:31:59 +00:00
revert my tweak, switch back to henk's original implementation for now, we can explore this again next time.
This commit is contained in:
parent
15d269197e
commit
2d3fe0c113
1 changed files with 1 additions and 1 deletions
|
|
@ -3865,7 +3865,7 @@ generation_outputs gpttype_generate(const generation_inputs inputs)
|
|||
const bool has_close = fullbody.find(channel_close) != std::string::npos;
|
||||
|
||||
// If neither opening nor closing tag is present anywhere, prepend both
|
||||
if (!has_close) { //edit: even if we have open, lacking a close can break some cases. Add it.
|
||||
if (!has_open && !has_close) {
|
||||
addedmemory = channel_prefix + addedmemory;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue