[data] fix function formatter (#7201)
Co-authored-by: zhangchuanhui <zhangchal@digitalchina.com> Former-commit-id: 3efb32b986170d2839e526640f85ba230715879a
This commit is contained in:
@@ -121,7 +121,7 @@ class FunctionFormatter(StringFormatter):
|
||||
|
||||
function_str = self.tool_utils.function_formatter(functions)
|
||||
if thought:
|
||||
function_str = thought.group(1) + function_str
|
||||
function_str = thought.group(0) + function_str
|
||||
|
||||
return super().apply(content=function_str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user