finish agent

Former-commit-id: 3e982cc714
This commit is contained in:
hiyouga
2024-01-21 01:47:33 +08:00
parent 865f48f1c3
commit 1fbf83acc2
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):