Flow inputs carry an origin hint, run or panel

The Inputs editor and the canvas label show it, and the run forms leave
panel inputs out.
This commit is contained in:
2026-10-15 10:08:46 +02:00
parent 43498037be
commit e85b18092f
10 changed files with 111 additions and 39 deletions
+9
View File
@@ -267,6 +267,15 @@ class FlowInput(BaseModel):
spec: MessageSpec
initial: Any | None = None
origin: Literal["run", "panel"] = Field(
default="run",
description=(
"What writes it. A run input is a parameter a run passes in, a "
"panel input is written by a dashboard or panel control. A hint "
"only: run forms leave panel inputs out, the engine treats both "
"the same."
),
)
class FlowDef(BaseModel):