fix: Fix CI test_function_call_parser.py (#7425)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user