[PR #21273] Revert "feat:conversation variable support file array" #29619

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

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

State: closed
Merged: Yes


Reverts langgenius/dify#21174

As mentioned here, constructing FileSegment or ArrayFileSegment would not work as expected.

Besides, appending a File to a conversation variable with array[file] type is not supported, neither.
image

**Original Pull Request:** https://github.com/langgenius/dify/pull/21273 **State:** closed **Merged:** Yes --- Reverts langgenius/dify#21174 As mentioned [here](https://github.com/langgenius/dify/pull/21174#discussion_r2156354253), constructing `FileSegment` or `ArrayFileSegment` would not work as expected. Besides, appending a `File` to a conversation variable with `array[file]` type is not supported, neither. <img width="1264" alt="image" src="https://github.com/user-attachments/assets/2c01a86f-eeb9-4779-8dee-23f4892e3246" />
yindo added the pull-request label 2026-02-21 20:45:55 -05:00
yindo closed this issue 2026-02-21 20:45:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#29619