Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variables Iteration item and Iteration index cannot be displayed correctly which used HTTP node in Iteration node. #12765

Closed
5 tasks done
wow-ww opened this issue Jan 15, 2025 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@wow-ww
Copy link

wow-ww commented Jan 15, 2025

Self Checks

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

Dify version

langgenius/dify-api:0.15.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When HTTP node is used in Iteration node and json or raw format is set in the body of the HTTP node, variables Iteration item and Iteration index cannot be displayed correctly.

✔️ Expected Behavior

image

❌ Actual Behavior

image
image

Copy link

dosubot bot commented Jan 15, 2025

There is a similar unsolved discussion titled "Invalid built-in variables for iteration" that might be relevant to your issue. It was last updated on December 12, 2024 [1]. You might find some insights or ongoing discussions there that could help address the problem with the Iteration item and Iteration index variables not displaying correctly in the HTTP node within the Iteration node.

To continue talking to Dosu, mention @dosu.


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

@dosubot dosubot bot added the 🐞 bug Something isn't working label Jan 15, 2025
@crazywoola
Copy link
Member

In json mode, I figure this should be something like this:

{"number": "Iteration Count"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants