fix(research): remove template scope constraints and migrate stored templates
Deploy production / deploy (push) Successful in 55s

This commit is contained in:
yuxuanhui
2026-09-20 10:17:07 +08:00
parent 34f1a4fa77
commit 07dd767c52
7 changed files with 190 additions and 4 deletions
@@ -45,7 +45,6 @@ class TemplateSpec(Contract):
description: str = Field(default="", max_length=10000)
expression: str = Field(min_length=1, max_length=20000)
variables: dict[str, Variable] = Field(default_factory=dict, max_length=100)
scope: Scope | None = None
category: Literal["template", "fragment"] = "template"
@field_validator("expression")