[PR #580] [MERGED] fix xinference error when agent function call #1447

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/580
Author: @lordk911
Created: 3/27/2025
Status: Merged
Merged: 4/3/2025
Merged by: @crazywoola

Base: mainHead: fix-xinference


📝 Commits (2)

  • 50ab6b8 fix xinference error when agent function call
  • 9e253fd bump version to 0.0.3

📊 Changes

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

View changed files

📝 models/xinference/manifest.yaml (+1 -1)
📝 models/xinference/models/llm/llm.py (+8 -5)

📄 Description

fix agent function call error when use xinference as model provider:

Related Issue or Context

https://github.com/langgenius/dify/issues/14904#issuecomment-2724775300

before this fix:

image

after fixing it on local plugin installation,I can use agent function call when use xinference as model provider

image


🔄 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/580 **Author:** [@lordk911](https://github.com/lordk911) **Created:** 3/27/2025 **Status:** ✅ Merged **Merged:** 4/3/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `fix-xinference` --- ### 📝 Commits (2) - [`50ab6b8`](https://github.com/langgenius/dify-official-plugins/commit/50ab6b86e19f315f0fcf6b06bc347c9b548b13b4) fix xinference error when agent function call - [`9e253fd`](https://github.com/langgenius/dify-official-plugins/commit/9e253fdd9570dbaecf80583813e2efd296317c20) bump version to 0.0.3 ### 📊 Changes **2 files changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `models/xinference/manifest.yaml` (+1 -1) 📝 `models/xinference/models/llm/llm.py` (+8 -5) </details> ### 📄 Description fix agent function call error when use xinference as model provider: ## Related Issue or Context https://github.com/langgenius/dify/issues/14904#issuecomment-2724775300 **before this fix:** ![image](https://github.com/user-attachments/assets/9e45afb8-93c2-44c9-a804-6ac000bf483e) **after fixing it on local plugin installation,I can use agent function call when use xinference as model provider** ![image](https://github.com/user-attachments/assets/9c0aa228-0d35-47a5-b9c7-7ac2e60b1d02) --- <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:22:58 -05:00
yindo closed this issue 2026-02-16 10:22:58 -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#1447