mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
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/2183
Author: @Kylin0123
Created: 12/5/2025
Status: ✅ Merged
Merged: 12/17/2025
Merged by: @laipz8200
Base:
main← Head:main📝 Commits (7)
00171b4fix(tongyi): isolate base_url per site config (#2182)f2c5155Merge branch 'main' into main6e686aaMerge branch 'main' into main1fb6bfafix(tongyi): bump version (#2182)c40403cMerge branch 'main' into main17faeb0Update manifest.yaml7d66ec1Merge branch 'main' into main📊 Changes
2 files changed (+6 additions, -5 deletions)
View changed files
📝
models/tongyi/manifest.yaml(+1 -1)📝
models/tongyi/models/llm/llm.py(+5 -4)📄 Description
Related Issues or Context
fix https://github.com/langgenius/dify-official-plugins/issues/2182
description:
We encountered a bug using the latest version of Tongyi: if a user configures a DashScope key for the China site but enables the international site endpoint, it forces all base_http_url instances within the Tongyi plugin process to be set to the international site endpoint, making it impossible to switch back to the China site endpoint. Due to the lack of interoperability between the two DashScope sites, the plugin continuously reports "InvalidApiKey" errors until the plugin daemon process is manually restarted. We found that the code globally overrides the base_url for the entire DashScope SDK module, which needs to be fixed.
Here is the fixed code patch PR.
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.