Adding the reranking model service for VLLM deployment via localapi results in an error. #75

Closed
opened 2026-02-16 10:17:59 -05:00 by yindo · 2 comments
Owner

Originally created by @djk9413 on GitHub (Mar 13, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Plugin version

localapi:0.0.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Error log

Image

Image
The default value of top_n is None, which will cause the interface to error.

Image

Originally created by @djk9413 on GitHub (Mar 13, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.1 ### Plugin version localapi:0.0.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/f899a796-30c2-40bd-b3ef-a9b649b47acf) ### ✔️ Error log ![Image](https://github.com/user-attachments/assets/a4ed65a0-d126-45be-b9d2-e3b527bcc345) ![Image](https://github.com/user-attachments/assets/04e1c000-0806-4554-a8ce-650e98af3f9d) The default value of top_n is None, which will cause the interface to error. ![Image](https://github.com/user-attachments/assets/74caab72-16c3-438b-aae1-71fe4c1b6c4f)
yindo added the bug label 2026-02-16 10:17:59 -05:00
yindo closed this issue 2026-02-16 10:17:59 -05:00
Author
Owner

@DavideDelbianco commented on GitHub (Mar 16, 2025):

Related to #454
They both need the same fix

@DavideDelbianco commented on GitHub (Mar 16, 2025): Related to #454 They both need the same fix
Author
Owner

@dosubot[bot] commented on GitHub (Aug 16, 2025):

Hi, @djk9413. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an error in Dify v1.0.1 self-hosted with Docker when adding the reranking model service via the localapi plugin (v0.0.3).
  • The error is caused by the parameter top_n defaulting to None, leading to an interface error.
  • Maintainer DavideDelbianco identified this issue as related to issue #454, with both requiring the same fix.
  • No further updates or solutions have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 16, 2025): Hi, @djk9413. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported an error in Dify v1.0.1 self-hosted with Docker when adding the reranking model service via the localapi plugin (v0.0.3). - The error is caused by the parameter `top_n` defaulting to `None`, leading to an interface error. - Maintainer DavideDelbianco identified this issue as related to issue #454, with both requiring the same fix. - No further updates or solutions have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#75