[data] fix SeedToolUtils.tool_extractor returns content when no tool calls found (#10408)

Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>
This commit is contained in:
Cocoon-Break
2026-04-20 12:22:55 +08:00
committed by GitHub
parent 436d26bc28
commit c5aecaf31d

View File

@@ -758,7 +758,7 @@ class SeedToolUtils(ToolUtils):
results.append(FunctionCall(func_name.strip(), json.dumps(args_dict, ensure_ascii=False)))
return results
return results if results else content
class LingToolUtils(QwenToolUtils):