dify icon indicating copy to clipboard operation
dify copied to clipboard

List Operator not return item url

Open pistoolster opened this issue 9 months ago • 3 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

url of List Operator’s result is correct

but can't pass to any other nodes, such as

Image

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

pistoolster avatar Mar 05 '25 12:03 pistoolster

Hello @pistoolster! I'm here to help you with any bugs, questions, or contributions you might have for the Dify project. Let me know how I can assist you!

I found a similar closed issue titled "Unable to retrieve url from file" which was resolved by a pull request that fixed the error of being unable to retrieve URLs from files [1]. This might be related to the issue you're experiencing with the List Operator not returning item URLs.

For your specific issue, ensure that the List Operator is correctly configured to handle URL data. The List Operator should be set up to extract the url attribute from Array[file] variables. Make sure that the variable type is correctly defined and that the filter and extraction configurations are properly set up to include URLs in the output [2].

Additionally, check for any common errors that might prevent data from being passed correctly between nodes, such as invalid context structure or variable type errors [3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Mar 05 '25 12:03 dosubot[bot]

Image

Image

Image

Image

Image

pistoolster avatar Mar 06 '25 01:03 pistoolster

1.0.1 still unfixed.

pistoolster avatar Mar 12 '25 02:03 pistoolster

Hi, @pistoolster. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Bug reported in self-hosted version 1.0.0 where List Operator fails to pass URLs to other nodes.
  • Suggested checking configuration and handling of URL data, referencing a similar closed issue.
  • You indicated dissatisfaction with the suggestion; issue persists in version 1.0.1.
  • Images provided to illustrate the problem; further details on expected behavior not specified.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository. If so, you can keep the discussion open by commenting on the issue.
  • Otherwise, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Apr 12 '25 16:04 dosubot[bot]