[PR #927] [MERGED] feat: server xinference support #22774

Closed
opened 2026-02-21 20:19:43 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/927
Author: @takatost
Created: 8/20/2023
Status: Merged
Merged: 8/20/2023
Merged by: @takatost

Base: mainHead: feat/xinference-support


📝 Commits (2)

📊 Changes

18 files changed (+456 additions, -17 deletions)

View changed files

📝 api/core/model_providers/model_provider_factory.py (+3 -0)
api/core/model_providers/models/llm/xinference_model.py (+69 -0)
api/core/model_providers/providers/xinference_provider.py (+141 -0)
📝 api/core/model_providers/rules/_providers.json (+2 -1)
api/core/model_providers/rules/xinference.json (+7 -0)
📝 api/requirements.txt (+2 -1)
📝 api/tests/integration_tests/.env.example (+5 -1)
📝 api/tests/integration_tests/models/llm/test_anthropic_model.py (+3 -2)
📝 api/tests/integration_tests/models/llm/test_azure_openai_model.py (+2 -1)
📝 api/tests/integration_tests/models/llm/test_huggingface_hub_model.py (+4 -1)
📝 api/tests/integration_tests/models/llm/test_minimax_model.py (+3 -2)
📝 api/tests/integration_tests/models/llm/test_openai_model.py (+6 -3)
📝 api/tests/integration_tests/models/llm/test_replicate_model.py (+2 -0)
📝 api/tests/integration_tests/models/llm/test_spark_model.py (+3 -2)
📝 api/tests/integration_tests/models/llm/test_tongyi_model.py (+3 -1)
📝 api/tests/integration_tests/models/llm/test_wenxin_model.py (+3 -2)
api/tests/integration_tests/models/llm/test_xinference_model.py (+74 -0)
api/tests/unit_tests/model_providers/test_xinference_provider.py (+124 -0)

📄 Description

No description provided


🔄 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/pull/927 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/20/2023 **Status:** ✅ Merged **Merged:** 8/20/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/xinference-support` --- ### 📝 Commits (2) - [`18e9301`](https://github.com/langgenius/dify/commit/18e93015eb644ba5f98445f3ef49569589ea4980) feat: xinference support - [`ff4f021`](https://github.com/langgenius/dify/commit/ff4f021b9c7454bb976b94060a007a94d501ad86) feat: add xinference tests ### 📊 Changes **18 files changed** (+456 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `api/core/model_providers/model_provider_factory.py` (+3 -0) ➕ `api/core/model_providers/models/llm/xinference_model.py` (+69 -0) ➕ `api/core/model_providers/providers/xinference_provider.py` (+141 -0) 📝 `api/core/model_providers/rules/_providers.json` (+2 -1) ➕ `api/core/model_providers/rules/xinference.json` (+7 -0) 📝 `api/requirements.txt` (+2 -1) 📝 `api/tests/integration_tests/.env.example` (+5 -1) 📝 `api/tests/integration_tests/models/llm/test_anthropic_model.py` (+3 -2) 📝 `api/tests/integration_tests/models/llm/test_azure_openai_model.py` (+2 -1) 📝 `api/tests/integration_tests/models/llm/test_huggingface_hub_model.py` (+4 -1) 📝 `api/tests/integration_tests/models/llm/test_minimax_model.py` (+3 -2) 📝 `api/tests/integration_tests/models/llm/test_openai_model.py` (+6 -3) 📝 `api/tests/integration_tests/models/llm/test_replicate_model.py` (+2 -0) 📝 `api/tests/integration_tests/models/llm/test_spark_model.py` (+3 -2) 📝 `api/tests/integration_tests/models/llm/test_tongyi_model.py` (+3 -1) 📝 `api/tests/integration_tests/models/llm/test_wenxin_model.py` (+3 -2) ➕ `api/tests/integration_tests/models/llm/test_xinference_model.py` (+74 -0) ➕ `api/tests/unit_tests/model_providers/test_xinference_provider.py` (+124 -0) </details> ### 📄 Description _No description provided_ --- <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-21 20:19:43 -05:00
yindo closed this issue 2026-02-21 20:19:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22774