[PR #362] [MERGED] Fix failed to create rerank model when use vllm rerank #1317

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/362
Author: @jcvv0n
Created: 3/3/2025
Status: Merged
Merged: 3/3/2025
Merged by: @crazywoola

Base: mainHead: fix/openai_api_compatible


📝 Commits (2)

  • 55d9e3e Fix failed to create rerank model when use vllm rerank
  • a66554b Update plugin version

📊 Changes

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

View changed files

📝 models/openai_api_compatible/manifest.yaml (+1 -1)
📝 models/openai_api_compatible/models/rerank/rerank.py (+24 -1)

📄 Description

#14140
rewrite the validate_credentials method of the parent class and add the parameter top_n when calling the _invoke method


🔄 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/362 **Author:** [@jcvv0n](https://github.com/jcvv0n) **Created:** 3/3/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `fix/openai_api_compatible` --- ### 📝 Commits (2) - [`55d9e3e`](https://github.com/langgenius/dify-official-plugins/commit/55d9e3e07b2e549ef04e0ed3a332372471d108bc) Fix failed to create rerank model when use vllm rerank - [`a66554b`](https://github.com/langgenius/dify-official-plugins/commit/a66554b0136be1c7bc7368e6168a17bff56e535b) Update plugin version ### 📊 Changes **2 files changed** (+25 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `models/openai_api_compatible/manifest.yaml` (+1 -1) 📝 `models/openai_api_compatible/models/rerank/rerank.py` (+24 -1) </details> ### 📄 Description [#14140](https://github.com/langgenius/dify/issues/14140) rewrite the validate_credentials method of the parent class and add the parameter top_n when calling the _invoke method --- <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:37 -05:00
yindo closed this issue 2026-02-16 10:22:37 -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#1317