Skip to content

Commit 734aead

Browse files
committed
fix the process of restoring
1 parent 0a0f67a commit 734aead

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/advanced/backup-restore.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ print("Agent restored from backup")
8484
agent = AgentWrapper("./configs/mirix.yaml")
8585

8686
# Then load backup data
87-
result = agent.load_agent("./my_backup")
87+
config_path = "./my_backup/mirix_config.yaml"
88+
self._agent = AgentWrapper(str(config_path), load_from="./my_backup")
8889

8990
if result['success']:
9091
print("Backup restored successfully")

docs/assets/.DS_Store

2 KB
Binary file not shown.

0 commit comments

Comments
 (0)