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
51.82k stars 7.51k forks source link

fix(extractor): temporary file #10543

Closed laipz8200 closed 5 days ago

laipz8200 commented 5 days ago

Checklist:

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

Description

If delete is false, the value of delete_on_close is ignored.

refer https://docs.python.org/3.13/library/tempfile.html#tempfile.NamedTemporaryFile

partial revert #10407

Type of Change

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

laipz8200 commented 5 days ago

cc @wlrnet