vars: rename createFile -> persist

This commit is contained in:
DavHau
2025-01-08 11:55:12 +07:00
parent 3b43da6a35
commit 4a9ae3a45f
6 changed files with 12 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ class Prompt:
name=data["name"],
description=data["description"],
prompt_type=PromptType(data["type"]),
create_file=data["createFile"],
create_file=data.get("persist", data["createFile"]),
previous_value=data.get("previousValue"),
)