refac/enh: dedicated enable image edit toggle

This commit is contained in:
Timothy Jaeryang Baek
2025-11-20 19:52:31 -05:00
parent 0c430629e5
commit 557170c0b6
5 changed files with 72 additions and 47 deletions

View File

@@ -3539,6 +3539,11 @@ IMAGES_GEMINI_ENDPOINT_METHOD = PersistentConfig(
os.getenv("IMAGES_GEMINI_ENDPOINT_METHOD", ""),
)
ENABLE_IMAGE_EDIT = PersistentConfig(
"ENABLE_IMAGE_EDIT",
"images.edit.enable",
os.environ.get("ENABLE_IMAGE_EDIT", "").lower() == "true",
)
IMAGE_EDIT_ENGINE = PersistentConfig(
"IMAGE_EDIT_ENGINE",