[PR #6927] compatible xinference reranker server #25500

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

Original Pull Request: https://github.com/langgenius/dify/pull/6927

State: closed
Merged: Yes


Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

error:

{
    "code": "invalid_param",
    "message": "[xinference] Server Unavailable Error, Failed to rerank documents, detail: [address=0.0.0.0:35815, pid=74] rerank hasn't support extra parameter.",
    "status": 400
}

throw error after commit https://github.com/xorbitsai/inference/commit/6ef2815e1b3e58485528146eafe0190b41b4aedb#diff-8836e2c94d14cb4a5c30cca682e04289976b198470dd4ad3ca0e58efe5543d13

this error will be occurred at xinference server v0.10.1 -> v0.12.1

xinference

344d7892edadee8ac394df095493a5f2

image

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 would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

I test xinference rerank at v0.12.0 server and v0.14.0 server

**Original Pull Request:** https://github.com/langgenius/dify/pull/6927 **State:** closed **Merged:** Yes --- # Checklist: > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] Please open an issue before creating a PR or link to an existing issue - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods # Description error: ```json { "code": "invalid_param", "message": "[xinference] Server Unavailable Error, Failed to rerank documents, detail: [address=0.0.0.0:35815, pid=74] rerank hasn't support extra parameter.", "status": 400 } ``` throw error after commit https://github.com/xorbitsai/inference/commit/6ef2815e1b3e58485528146eafe0190b41b4aedb#diff-8836e2c94d14cb4a5c30cca682e04289976b198470dd4ad3ca0e58efe5543d13 this error will be occurred at xinference server v0.10.1 -> v0.12.1 xinference ![344d7892edadee8ac394df095493a5f2](https://github.com/user-attachments/assets/cd2df382-8177-46df-8049-f8f3378ae521) ![image](https://github.com/user-attachments/assets/715f16cb-bced-4e65-bf31-21c31b7ea3ca) ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement - [ ] Dependency upgrade # Testing Instructions Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B I test xinference rerank at v0.12.0 server and v0.14.0 server
yindo added the pull-request label 2026-02-21 20:25:03 -05:00
yindo closed this issue 2026-02-21 20:25:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#25500