diff --git a/src/langbot/pkg/persistence/mgr.py b/src/langbot/pkg/persistence/mgr.py index b0de264e..53b20011 100644 --- a/src/langbot/pkg/persistence/mgr.py +++ b/src/langbot/pkg/persistence/mgr.py @@ -107,7 +107,7 @@ class PersistenceManager: if result.first() is None: self.ap.logger.info('Creating default pipeline...') - pipeline_config = json.load(importutil.read_resource_file('templates/default-pipeline-config.json')) + pipeline_config = json.loads(importutil.read_resource_file('templates/default-pipeline-config.json')) default_pipeline_uuid = str(uuid.uuid4()) pipeline_data = {