Skip to content

Commit

Permalink
fixed plan loading
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninoLorenzo committed Jun 28, 2024
1 parent 9f6ad96 commit bae09e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/memory/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def from_json(path: str):
data = json.load(fp)

plans = None
if 'plans' in data:
if 'plans' in data and data['plans'] is not None:
plans = [plan_list for plan_list in data['plans']]

session = Session(
Expand Down

0 comments on commit bae09e7

Please sign in to comment.