Unverified Commit fdfd5224 authored by Chang Su's avatar Chang Su Committed by GitHub
Browse files

fix: Fix CI test_function_call_parser.py (#7425)

parent 7f3ee861
...@@ -114,7 +114,7 @@ class BaseFormatDetector(ABC): ...@@ -114,7 +114,7 @@ class BaseFormatDetector(ABC):
self.has_tool_call(current_text) self.has_tool_call(current_text)
or ( or (
self.current_tool_id > 0 self.current_tool_id > 0
and current_text.startswith(self.tool_call_separator + "{") and current_text.startswith(self.tool_call_separator)
) )
): ):
# Only clear buffer if we're sure no tool call is starting # Only clear buffer if we're sure no tool call is starting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment