mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
Merge branch 'feature-obfuscate' into 'mgx_ops'
fix env serialized error See merge request pub/MetaGPT!349
This commit is contained in:
commit
eda130ca25
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