Skip to content

Commit 53b3bf4

Browse files
committed
fixed a typo
1 parent 9b1f1bb commit 53b3bf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

koboldcpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3051,7 +3051,7 @@ def repack_toolcall_tags(text: str):
30513051
text = re.sub(r'<think>.*?</think>', '', text, flags=re.DOTALL)
30523052
text = re.sub(r'<thinking>.*?</thinking>', '', text, flags=re.DOTALL)
30533053
text = re.sub(r'<reasoning>.*?</reasoning>', '', text, flags=re.DOTALL)
3054-
text = re.sub(r'<\|channel>thought.*?<channel|>', '', text, flags=re.DOTALL)
3054+
text = re.sub(r'<\|channel>thought.*?<channel\|>', '', text, flags=re.DOTALL)
30553055
text = text.strip()
30563056
tcpairs = [
30573057
("<tool_call>", "</tool_call>"),

0 commit comments

Comments
 (0)