[PR #16251] fix: update workflow doc #28469

Closed
opened 2026-02-21 20:43:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/16251

State: closed
Merged: Yes


Summary

The original file variable has been replaced with a file array, so the doc needs to be updated.

Takeaways:

  1. The original documentation shows a files attribute that does not exist in the current version.
  2. Move the format description inside inputs to make the documentation more straightforward.
  3. Update the data and code examples to use a file array instead of a single file. Otherwise, users will encounter the following error when following the current documentation:
400, {"code": "invalid_param", "message": "XXX in input form must be a list of files", "status": 400}

Screenshots

Before

image image image image image

After

image image image image image

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/16251 **State:** closed **Merged:** Yes --- # Summary The original file variable has been replaced with a file array, so the doc needs to be updated. ### Takeaways: 1. The original documentation shows a `files` attribute that does not exist in the current version. 2. Move the format description inside `inputs` to make the documentation more straightforward. 3. Update the data and code examples to use a file array instead of a single file. Otherwise, users will encounter the following error when following the current documentation: ``` 400, {"code": "invalid_param", "message": "XXX in input form must be a list of files", "status": 400} ``` # Screenshots ## Before <img width="388" alt="image" src="https://github.com/user-attachments/assets/b3344e2b-16b1-4be0-a522-39695f17566a" /> <img width="376" alt="image" src="https://github.com/user-attachments/assets/424c9524-a892-4df6-9430-53cb4f057f12" /> <img width="400" alt="image" src="https://github.com/user-attachments/assets/9288103b-7c3b-4603-9a7b-9e04036e0a5d" /> <img width="384" alt="image" src="https://github.com/user-attachments/assets/fe0df1a7-fd8b-4fd9-aab4-5836c45fc098" /> <img width="322" alt="image" src="https://github.com/user-attachments/assets/c8dcf90b-a9f3-4b1e-b3f6-38f16f84ecbf" /> ## After <img width="395" alt="image" src="https://github.com/user-attachments/assets/06484da4-803b-47f1-beff-b4582c8da279" /> <img width="383" alt="image" src="https://github.com/user-attachments/assets/3ef4195b-c6e9-4522-a2cf-41b80ce8a33a" /> <img width="395" alt="image" src="https://github.com/user-attachments/assets/9f1dbf99-aa23-43a7-a954-1a78b1ecfc29" /> <img width="372" alt="image" src="https://github.com/user-attachments/assets/d712eabb-d5f3-47f3-b1f0-cd901a152090" /> <img width="323" alt="image" src="https://github.com/user-attachments/assets/a25e78bc-76d9-4e82-91d3-da1372440116" /> # Checklist > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:43:30 -05:00
yindo closed this issue 2026-02-21 20:43:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#28469