update readme

This commit is contained in:
hiyouga
2024-02-26 17:25:47 +08:00
parent 4f18a310e9
commit 3ba1054593
9 changed files with 37 additions and 36 deletions

View File

@@ -75,7 +75,8 @@ 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