Merge pull request #728 from better629/feat_simple_ser

Feat simpler serialization in one file
This commit is contained in:
geekan 2024-01-09 16:31:50 +08:00 committed by GitHub
commit 9a42a14c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 232 additions and 316 deletions

View file

@ -27,7 +27,7 @@ from metagpt.schema import (
from metagpt.utils.file_repository import FileRepository
class Action(SerializationMixin, is_polymorphic_base=True):
class Action(SerializationMixin):
model_config = ConfigDict(arbitrary_types_allowed=True, exclude=["llm"])
name: str = ""