flag to control ai fallback (#3313)

This commit is contained in:
Shuchang Zheng
2025-08-29 05:24:17 +08:00
committed by GitHub
parent 015194f2a4
commit 916ab6c067
7 changed files with 48 additions and 2 deletions

View File

@@ -243,6 +243,7 @@ class WorkflowModel(Base):
model = Column(JSON, nullable=True)
status = Column(String, nullable=False, default="published")
generate_script = Column(Boolean, default=False, nullable=False)
ai_fallback = Column(Boolean, default=False, nullable=False)
cache_key = Column(String, nullable=True)
created_at = Column(DateTime, default=datetime.datetime.utcnow, nullable=False)