fixed a typo

This commit is contained in:
Concedo 2026-04-05 18:46:30 +08:00
parent 9b1f1bbf35
commit 53b3bf46e4

View file

@ -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>"),