finish agent

This commit is contained in:
hiyouga
2024-01-21 01:47:33 +08:00
parent 55f707196e
commit 3e982cc714
8 changed files with 105 additions and 41 deletions

View File

@@ -74,6 +74,9 @@ class Formatter(ABC):
def apply(self, **kwargs) -> SLOTS:
...
def extract(self, content: str) -> Union[str, Tuple[str, str]]:
raise NotImplementedError
@dataclass
class EmptyFormatter(Formatter):