mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-20 16:51:07 +02:00
just use deserialize instead of recover
This commit is contained in:
parent
6877fa444f
commit
0543c0f76b
2 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ def startup(
|
|||
if not stg_path.exists() or not str(stg_path).endswith("team"):
|
||||
raise FileNotFoundError(f"{recover_path} not exists or not endswith `team`")
|
||||
|
||||
company = Team.recover(stg_path=stg_path)
|
||||
company = Team.deserialize(stg_path=stg_path)
|
||||
idea = company.idea # use original idea
|
||||
|
||||
company.invest(investment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue