Skip to content

fix: document human input form fields for dify 1.20.0 - #1236

Merged
RiskeyL merged 3 commits into
release/1.20.0from
fix/human-input-form-api-spec
Nov 18, 2026
Merged

RiskeyL merged 3 commits into
release/1.20.0from
fix/human-input-form-api-spec

Conversation

@RiskeyL

@RiskeyL RiskeyL commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Updates the Human Input form reference and API guides for Dify 1.20.0, where the new Human Input node is on by default and langgenius/dify#46548 changed what Get Human Input Form returns. en, zh, and ja.

  • Defaults and options: default.selector and option_source.selector are marked deprecated, as Dify's response model marks them. The field descriptions and the guide's Step 2 say where to read each value: default.value for a constant default, resolved_default_values for a variable one (constant defaults are no longer in it for either node), and option_source.value for options. The GET example shows both kinds of default.
  • Which forms the API can reach: on the new node, the Initiator recipient takes the place of web app delivery. The endpoint descriptions, the guide (a new section before the steps, and Step 1), the Workflow and Chatflow guides, and approval_channels on human_input_required (always [] for new-node forms) now say so.
  • 412 on a stopped run: human_input_form_expired also covers a run that was stopped, on GET and POST.

Checked against dify 733454eae3 by an independent code audit. The streaming-event and /messages schema gaps that 1.20.0 didn't change follow on main.

Refs DC-476, #1224

Copilot AI balanced review requested due to automatic review settings November 18, 2026 07:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@RiskeyL
RiskeyL merged commit dd15b4a into release/1.20.0 Nov 18, 2026
2 of 3 checks passed
@RiskeyL
RiskeyL deleted the fix/human-input-form-api-spec branch November 18, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants