mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #2473] [MERGED] fix: models/tongyi has global side effect on base_url
#2506
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/2473
Author: @Stream29
Created: 1/22/2026
Status: ✅ Merged
Merged: 1/23/2026
Merged by: @Stream29
Base:
main← Head:fix/models/tongyi📝 Commits (5)
c77d1d8fix: global side effectdfe71bechore: bump version3ff9278Merge branch 'main' into fix/models/tongyi603ad67Merge branch 'main' into fix/models/tongyi2f89774chore: add .venv to .difyignore📊 Changes
9 files changed (+108 additions, -41 deletions)
View changed files
➕
models/tongyi/.difyignore(+1 -0)📝
models/tongyi/manifest.yaml(+1 -1)📝
models/tongyi/models/_common.py(+19 -0)📝
models/tongyi/models/llm/llm.py(+2 -1)📝
models/tongyi/models/rerank/rerank.py(+10 -4)📝
models/tongyi/models/speech2text/speech2text.py(+8 -5)📝
models/tongyi/models/text_embedding/text_embedding.py(+41 -13)📝
models/tongyi/models/tts/tts.py(+16 -7)📝
models/tongyi/uv.lock(+10 -10)📄 Description
Related Issues or Context
Fixes #30611 .
Previously,
models/tongyiplugin may produce global side effect that modifiesbase_url.This PR fixes this behavior.
This PR contains Changes to LLM Models Plugin
Updated plugin was packaged and tested on
cloud.dify.ai.Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.