mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
fix: implement abstract evaluate method in HumorEnv to fix instantiation error
This commit is contained in:
parent
b99757ec03
commit
db1e68d2ab
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ class HumorEnv(BaseEnv):
|
|||
async def wandb_log(self, wandb_metrics: Optional[dict] = None):
|
||||
await super().wandb_log(wandb_metrics)
|
||||
|
||||
async def evaluate(self, *args, **kwargs):
|
||||
# No-op evaluation; required by BaseEnv abstract interface
|
||||
return None
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue