mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 11:26:23 +02:00
fix env serialized error
This commit is contained in:
parent
b2e8be2d78
commit
fef8bfd9bc
1 changed files with 4 additions and 1 deletions
|
|
@ -8,7 +8,10 @@ class BaseRole:
|
|||
"""Abstract base class for all roles."""
|
||||
|
||||
name: str
|
||||
is_idle: bool
|
||||
|
||||
@property
|
||||
def is_idle(self) -> bool:
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def think(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue