mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2507] [MERGED] fix(tongyi): fix credentials access and temp file upload compatibility #2531
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/2507
Author: @Dnoob
Created: 1/28/2026
Status: ✅ Merged
Merged: 2/1/2026
Merged by: @crazywoola
Base:
main← Head:fix/tongyi-credentials-and-file-upload📝 Commits (4)
6202373fix(tongyi): fix credentials access and temp file upload compatibilityc55ee26Merge origin/main and bump version to 0.1.24503f2a6Merge remote-tracking branch 'upstream/main' into fix/tongyi-credentials-and-file-upload6d9a7b3chore: bump version to 0.1.25📊 Changes
2 files changed (+7 additions, -6 deletions)
View changed files
📝
models/tongyi/manifest.yaml(+1 -1)📝
models/tongyi/models/llm/llm.py(+6 -5)📄 Description
Summary
Fix two bugs in
_upload_file_to_tongyimethod:credentials.dashscope_api_keycauses'dict' object has no attribute 'dashscope_api_key'error whenusing Agent node with memory enabled
tempfile._TemporaryFileWrapperis not compatible with new OpenAI SDK file uploadRelated 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
My Changes Affect Message Flow Handling (System Messages and User���Assistant Turn-Taking)
My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and
Agent Node)
My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)
My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)
My Changes Affect Structured Output Format (JSON, XML, etc.)
My Changes Affect Token Consumption Metrics
My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)
Other Changes (Add New Models, Fix Model Parameters etc.)
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.txtEnvironment Verification (If Any Code Changes)
Local Deployment Environment
Matches the Production Configuration.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.