From e7885539a72b5a1d76f3009257d9050f4e384271 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 16 Nov 2025 18:13:10 +0800 Subject: [PATCH] fix: read default-pipeline-config.json --- src/langbot/pkg/persistence/mgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {