mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fix set_async_report_fn error
This commit is contained in:
parent
ec36d298f0
commit
60e486f22c
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ResourceReporter(BaseModel):
|
|||
... print(value, name)
|
||||
```
|
||||
"""
|
||||
cls._report = fn
|
||||
cls._async_report = fn
|
||||
|
||||
def _report(self, value: Any, name: str):
|
||||
if not self.callback_url:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue