Former-commit-id: 88a1bc9773
This commit is contained in:
hiyouga
2024-02-07 01:10:04 +08:00
parent ced910b3f8
commit 23dd337ac2
9 changed files with 928 additions and 199 deletions

View File

@@ -75,8 +75,7 @@ class Formatter(ABC):
tool_format: Literal["default"] = "default"
@abstractmethod
def apply(self, **kwargs) -> SLOTS:
...
def apply(self, **kwargs) -> SLOTS: ...
def extract(self, content: str) -> Union[str, Tuple[str, str]]:
raise NotImplementedError