[PR #2142] [MERGED] feat(xinference): set response_format to verbose_json #2283

Closed
opened 2026-02-16 11:16:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/2142
Author: @viereck-lan
Created: 11/27/2025
Status: Merged
Merged: 11/27/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (3)

  • 17269b2 feat(xinference): set response_format to verbose_json
  • 892be42 Update manifest.yaml
  • 52bfcd6 Apply suggestion from @gemini-code-assist[bot]

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 models/xinference/manifest.yaml (+1 -1)
📝 models/xinference/models/speech2text/speech2text.py (+1 -1)

📄 Description

Related Issues or Context

  • No related issue
  • fix https://github.com/xorbitsai/inference/issues/4291
  • Reason for modification: The Xinference speech-to-text function needs to return more detailed response information (such as timestamps, specific speakers, etc.), and the verbose_json format supports these extended fields to meet more complex use cases.

This PR contains Changes to Non-Plugin

  • Documentation
  • Other

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

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)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.6.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.10.0, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the 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/2142 **Author:** [@viereck-lan](https://github.com/viereck-lan) **Created:** 11/27/2025 **Status:** ✅ Merged **Merged:** 11/27/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`17269b2`](https://github.com/langgenius/dify-official-plugins/commit/17269b2140a37b09c13a6013994584ad1f6486c4) feat(xinference): set response_format to verbose_json - [`892be42`](https://github.com/langgenius/dify-official-plugins/commit/892be424cd73320cca9763a0888829dc30e11dea) Update manifest.yaml - [`52bfcd6`](https://github.com/langgenius/dify-official-plugins/commit/52bfcd6d5a0af44a00c502379de211faee1d291e) Apply suggestion from @gemini-code-assist[bot] ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `models/xinference/manifest.yaml` (+1 -1) 📝 `models/xinference/models/speech2text/speech2text.py` (+1 -1) </details> ### 📄 Description ## Related Issues or Context - No related issue - fix https://github.com/xorbitsai/inference/issues/4291 - Reason for modification: The Xinference speech-to-text function needs to return more detailed response information (such as timestamps, specific speakers, etc.), and the verbose_json format supports these extended fields to meet more complex use cases. ## This PR contains Changes to *Non-Plugin* - [ ] Documentation - [ ] Other ## This PR contains Changes to *Non-LLM Models Plugin* - [ ] I have Run Comprehensive Tests Relevant to My Changes ## 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) - [x] I have Bumped Up the Version in Manifest.yaml (Top-Level `Version` Field, Not in Meta Section) ## Dify Plugin SDK Version - [x] I have Ensured `dify_plugin>=0.3.0,<0.6.0` is in requirements.txt ([SDK docs](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) ### Local Deployment Environment - [x] Dify Version is: 1.10.0, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. ### SaaS Environment - [ ] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration --- <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 11:16:34 -05:00
yindo closed this issue 2026-02-16 11:16:34 -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#2283