fix: keep Langflow flow names in sync files, write them world-readable

This commit is contained in:
Jonas Miederer 2026-09-25 10:44:13 +02:00
parent 95a1c1afb7
commit 3ee997cb72
8 changed files with 58 additions and 769 deletions

View file

@ -53,7 +53,7 @@ async def pull_all_from_langflow(
if identical and reuse is not None:
pulled.append(reuse.stem)
continue
target = reuse or export.flow_path(flows_dir, export.slugify(doc["name"]))
target = reuse or export.flow_path(flows_dir, export.filename_stem(doc["name"]))
path = export.write_flow_bytes(target, doc)
pulled.append(path.stem)
except (LangflowError, OSError, ValueError) as exc: