[Doc]: fixing doc typos (#24635)

Signed-off-by: Didier Durand <durand.didier@gmail.com>
This commit is contained in:
Didier Durand
2025-09-10 23:19:28 -07:00
committed by GitHub
parent 41329a0ff9
commit e2b1f863aa
9 changed files with 10 additions and 10 deletions
@@ -60,7 +60,7 @@ class Internlm2ToolParser(ToolParser):
if '<|action_start|>' not in current_text:
self.position = len(current_text)
return DeltaMessage(content=delta_text)
# if the tool call is sended, return an empty delta message
# if the tool call is sent, return an empty delta message
# to make sure the finish_reason will be sent correctly.
if self.current_tool_id > 0:
return DeltaMessage(content='')