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
53.23k stars 7.77k forks source link

fix: Validate file only when file type is set to custom #11036

Closed laipz8200 closed 5 days ago

laipz8200 commented 5 days ago

Summary

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

[!Tip] Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

Screenshots

Before: After:
... ...

Checklist

[!IMPORTANT]
Please review the checklist below before submitting your pull request.