mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
lint
Former-commit-id: af7f547ecbcae11761aa934f8b25dd5ea8c35516
This commit is contained in:
parent
89138b8ab8
commit
e4d26efea9
@ -143,7 +143,6 @@ class ToolFormatter(Formatter):
|
||||
except json.JSONDecodeError:
|
||||
raise RuntimeError("Invalid JSON format in tool description: {}".format(content))
|
||||
|
||||
|
||||
@override
|
||||
def extract(self, content: str) -> Union[str, List["FunctionCall"]]:
|
||||
return self.tool_utils.tool_extractor(content)
|
||||
|
Loading…
x
Reference in New Issue
Block a user