mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-10 15:56:03 +00:00
feat(pipeline): use default config in create
This commit is contained in:
@@ -72,7 +72,7 @@ class PersistenceManager:
|
||||
if result.first() is None:
|
||||
self.ap.logger.info("Creating default pipeline...")
|
||||
|
||||
pipeline_config = json.load(open('templates/default-pipeline-config.json'))
|
||||
pipeline_config = json.load(open('templates/default-pipeline-config.json', 'r', encoding='utf-8'))
|
||||
|
||||
pipeline_data = {
|
||||
'uuid': str(uuid.uuid4()),
|
||||
|
||||
Reference in New Issue
Block a user