mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 23:18:05 +08:00
feat(api): Add app_id field to HumanInputForm model
This ensures that `HumanInputForm` could be associated to a specific application without relying on `WorkflowRun`, providing us a smoother migration path if we want to implement test form.
This commit is contained in:
@ -208,6 +208,7 @@ class HumanInputNode(Node[HumanInputNodeData]):
|
||||
if form is None:
|
||||
display_in_ui = self._display_in_ui()
|
||||
params = FormCreateParams(
|
||||
app_id=self.app_id,
|
||||
workflow_execution_id=self._workflow_execution_id,
|
||||
node_id=self.id,
|
||||
form_config=self._node_data,
|
||||
|
||||
Reference in New Issue
Block a user