This commit is contained in:
hoshi-hiyouga 2024-09-19 16:21:43 +08:00 committed by GitHub
parent 98b464d2dd
commit af7f547ecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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)