finish agent

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

No files matched your search

+3
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):