mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-08 01:41:37 +00:00
fixed a typo
This commit is contained in:
parent
9b1f1bbf35
commit
53b3bf46e4
1 changed files with 1 additions and 1 deletions
|
|
@ -3051,7 +3051,7 @@ def repack_toolcall_tags(text: str):
|
|||
text = re.sub(r'<think>.*?</think>', '', text, flags=re.DOTALL)
|
||||
text = re.sub(r'<thinking>.*?</thinking>', '', text, flags=re.DOTALL)
|
||||
text = re.sub(r'<reasoning>.*?</reasoning>', '', text, flags=re.DOTALL)
|
||||
text = re.sub(r'<\|channel>thought.*?<channel|>', '', text, flags=re.DOTALL)
|
||||
text = re.sub(r'<\|channel>thought.*?<channel\|>', '', text, flags=re.DOTALL)
|
||||
text = text.strip()
|
||||
tcpairs = [
|
||||
("<tool_call>", "</tool_call>"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue