mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2076] [MERGED] Fix: Tongyi Qianwen model temporary file leak issue. #2243
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/2076
Author: @WzzP
Created: 11/17/2025
Status: ✅ Merged
Merged: 11/20/2025
Merged by: @crazywoola
Base:
main← Head:fix/tongyi-temp-file-cleanup📝 Commits (6)
4994f28修复: 通义千问模型临时文件泄漏问题380c0c4Update models/tongyi/models/llm/llm.pyfbb5267改进: 添加日志记录和清理列表26d547fadd:更新版本号f3953b5fix130c8adMerge branch 'main' into fix/tongyi-temp-file-cleanup📊 Changes
2 files changed (+144 additions, -109 deletions)
View changed files
📝
models/tongyi/manifest.yaml(+1 -1)📝
models/tongyi/models/llm/llm.py(+143 -108)📄 Description
这个修复解决了处理 base64 编码的图片/视频和文档上传时临时文件累积的问题,避免长期运行服务时磁盘空间被占用。
Related Issues or Context
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.6.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.