langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
46.75k stars 6.61k forks source link

Could answer node support preview multiple images (now support only one image) ? #8804

Open nadazero opened 2 days ago

nadazero commented 2 days ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

2024-09-26_105351 Now I use stable_diffusion tool to produce multiple images in one time, and answer node could receive array[File] params, but I find it could support show only one image, it is inconvenient for generating previews of multiple images. I hope Dify could support this function. In another way, could you tell me which code file related with this function? I think I could support it on my local dev environment first.

2. Additional context or comments

No response

3. Can you help us with this feature?

crazywoola commented 2 days ago

https://github.com/langgenius/dify/blob/445497cf892ee0caaba80c55032810e579a4507e/web/app/components/base/markdown.tsx