fix: keep Langflow flow names in sync files, write them world-readable
This commit is contained in:
parent
95a1c1afb7
commit
3ee997cb72
8 changed files with 58 additions and 769 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue