[PR #641] [MERGED] feat: add tongyi speech2text model and qwq-max model #1471

Closed
opened 2026-02-16 10:23:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/641
Author: @xuegao-tzx
Created: 4/2/2025
Status: Merged
Merged: 4/3/2025
Merged by: @crazywoola

Base: mainHead: feature/add_tongyi_model


📝 Commits (3)

  • 955f3b0 feat: add tongyi speech2text model and qwq-max model
  • d09f0a5 Merge branch 'langgenius:main' into feature/add_tongyi_model
  • ec16401 feat: add gte-rerank-v2

📊 Changes

13 files changed (+267 additions, -28 deletions)

View changed files

📝 models/tongyi/manifest.yaml (+1 -1)
📝 models/tongyi/models/llm/_position.yaml (+2 -0)
📝 models/tongyi/models/llm/llm.py (+43 -16)
models/tongyi/models/llm/qwq-max-latest.yaml (+49 -0)
models/tongyi/models/llm/qwq-max.yaml (+49 -0)
📝 models/tongyi/models/rerank/_position.yaml (+1 -0)
models/tongyi/models/rerank/gte-rerank-v2.yaml (+4 -0)
models/tongyi/models/speech2text/__init__.py (+0 -0)
models/tongyi/models/speech2text/paraformer-v1.yaml (+9 -0)
models/tongyi/models/speech2text/paraformer-v2.yaml (+9 -0)
models/tongyi/models/speech2text/speech2text.py (+83 -0)
📝 models/tongyi/provider/tongyi.yaml (+13 -8)
📝 models/tongyi/requirements.txt (+4 -3)

📄 Description

Related Issue or Context

Support Tongyi QwQ-Max model and speech-to-text model

Type of Change

  • Bug Fix (non-breaking change which fixes an Issue)
  • New Feature (non-breaking change which adds Functionality)
  • Breaking Change (fix or feature that may cause existing Functionality to not work as expected)
  • Documentation Update
  • Code Refactoring
  • Other

Version Control (if applicable)

  • Version bumped in Manifest.yaml (top-level Version field, not in Meta section)

Test Evidence (if applicable)

Important

Visual Proof is required for Bug Fixes, New Features, and Breaking Changes:

Screenshots or Video/GIF:

image image image

Note

For Non-LLM Models Changes:

  • Bug Fixes:
    • Show the Fix working
  • New Features:
    • Demonstrate the Functionality
  • Breaking Changes:
    • Show both Old and New Behavior

For LLM Models Changes:

  • Bug Fixes:
    • Show the Fix working with Example Inputs/Outputs
  • New Features:
    • Demonstrate the Functionality with Example Inputs/Outputs
  • Breaking Changes (requires comprehensive Testing):
    • Conversation & Interaction:
      • Message Flow Handling (System Messages and User→Assistant Turn-taking)
      • Tool Interaction Flow (Multi-round Usage and Output Handling if applicable)
    • Input/Output Handling:
      • Multimodal Input Handling (Images, PDFs, Audio, Video if applicable)
      • Multimodal Output Generation (Images, Audio, Video if applicable)
      • Structured Output Format (if applicable)
    • Metrics:
      • Token Consumption Metrics
    • Others:
      • e.g., Reasoning Process for Claude 3.7 Sonnet, Grounding for Gemini (if applicable)

Environment Verification

Important

At least one environment must be tested.

Local Deployment Environment

Local Deployment Dify Version:

  • Changes tested in a Clean Environment that matches Production Configuration

SaaS Environment

  • Testing performed on cloud.dify.ai
  • Changes tested in a Clean Environment that matches Production Configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/641 **Author:** [@xuegao-tzx](https://github.com/xuegao-tzx) **Created:** 4/2/2025 **Status:** ✅ Merged **Merged:** 4/3/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `feature/add_tongyi_model` --- ### 📝 Commits (3) - [`955f3b0`](https://github.com/langgenius/dify-official-plugins/commit/955f3b0ebc062c4db733acd6b40da6d064757877) feat: add tongyi speech2text model and qwq-max model - [`d09f0a5`](https://github.com/langgenius/dify-official-plugins/commit/d09f0a563151abf1640b27ed2df0cad5f7079355) Merge branch 'langgenius:main' into feature/add_tongyi_model - [`ec16401`](https://github.com/langgenius/dify-official-plugins/commit/ec16401617529d666356a6902bea383212598b62) feat: add gte-rerank-v2 ### 📊 Changes **13 files changed** (+267 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `models/tongyi/manifest.yaml` (+1 -1) 📝 `models/tongyi/models/llm/_position.yaml` (+2 -0) 📝 `models/tongyi/models/llm/llm.py` (+43 -16) ➕ `models/tongyi/models/llm/qwq-max-latest.yaml` (+49 -0) ➕ `models/tongyi/models/llm/qwq-max.yaml` (+49 -0) 📝 `models/tongyi/models/rerank/_position.yaml` (+1 -0) ➕ `models/tongyi/models/rerank/gte-rerank-v2.yaml` (+4 -0) ➕ `models/tongyi/models/speech2text/__init__.py` (+0 -0) ➕ `models/tongyi/models/speech2text/paraformer-v1.yaml` (+9 -0) ➕ `models/tongyi/models/speech2text/paraformer-v2.yaml` (+9 -0) ➕ `models/tongyi/models/speech2text/speech2text.py` (+83 -0) 📝 `models/tongyi/provider/tongyi.yaml` (+13 -8) 📝 `models/tongyi/requirements.txt` (+4 -3) </details> ### 📄 Description ## Related Issue or Context <!-- - Link related Issues if applicable: #issue_number - Or provide Context about why this Change is needed --> Support Tongyi QwQ-Max model and speech-to-text model ## Type of Change <!-- Put an `x` in all the boxes that apply --> - [ ] Bug Fix (non-breaking change which fixes an Issue) - [x] New Feature (non-breaking change which adds Functionality) - [ ] Breaking Change (fix or feature that may cause existing Functionality to not work as expected) - [ ] Documentation Update - [ ] Code Refactoring - [ ] Other ## Version Control (if applicable) - [x] Version bumped in Manifest.yaml (top-level `Version` field, not in Meta section) <!-- Version format: MAJOR.MINOR.PATCH - MAJOR (0.x.x): Reserved for Major Releases with widespread Breaking Changes - MINOR (x.0.x): For New Features or limited Breaking Changes - PATCH (x.x.0): For backwards-compatible Bug Fixes and minor Improvements - Note: Each version component (MAJOR, MINOR, PATCH) can be 2 digits, e.g., 10.11.22 --> ## Test Evidence (if applicable) > [!IMPORTANT] > Visual Proof is required for Bug Fixes, New Features, and Breaking Changes: ### Screenshots or Video/GIF: <!-- Provide your evidence here --> <img width="1227" alt="image" src="https://github.com/user-attachments/assets/a754aef6-002e-46dd-83a9-9bab216d1827" /> <img width="693" alt="image" src="https://github.com/user-attachments/assets/92cfde99-c641-4462-80f4-2d717d1e4b86" /> <img width="352" alt="image" src="https://github.com/user-attachments/assets/74d8bd7d-1da4-41a7-9677-0a441ece1914" /> > [!NOTE] > For Non-LLM Models Changes: > - **Bug Fixes**: > - [ ] Show the Fix working > - **New Features**: > - [x] Demonstrate the Functionality > - **Breaking Changes**: > - [ ] Show both Old and New Behavior > > For LLM Models Changes: > - **Bug Fixes**: > - [ ] Show the Fix working with Example Inputs/Outputs > - **New Features**: > - [x] Demonstrate the Functionality with Example Inputs/Outputs > - **Breaking Changes** (requires comprehensive Testing): > - **Conversation & Interaction**: > - [ ] Message Flow Handling (System Messages and User→Assistant Turn-taking) > - [ ] Tool Interaction Flow (Multi-round Usage and Output Handling if applicable) > - **Input/Output Handling**: > - [x] Multimodal Input Handling (Images, PDFs, Audio, Video if applicable) > - [ ] Multimodal Output Generation (Images, Audio, Video if applicable) > - [ ] Structured Output Format (if applicable) > - **Metrics**: > - [ ] Token Consumption Metrics > - **Others**: > - [ ] e.g., Reasoning Process for Claude 3.7 Sonnet, Grounding for Gemini (if applicable) <!-- LLM Models Test Example: --> <!-- https://github.com/langgenius/dify-official-plugins/blob/main/.assets/test-examples/llm-plugin-tests/llm_test_example.md --> ### Environment Verification > [!IMPORTANT] > At least one environment must be tested. #### Local Deployment Environment Local Deployment Dify Version: <!-- Specify your version (e.g., 1.1.3) --> - [x] Changes tested in a Clean Environment that matches Production Configuration <!-- - Python virtual env matching Manifest.yaml & requirements.txt - No breaking changes in Dify that may affect the testing result --> #### SaaS Environment - [x] Testing performed on cloud.dify.ai - [x] Changes tested in a Clean Environment that matches Production Configuration <!-- - Python virtual env matching Manifest.yaml & requirements.txt --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:23:02 -05:00
yindo closed this issue 2026-02-16 10:23:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1471