You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@liuw518 Hello there! I'm here to help you with any bugs, questions, or contributions you have for the project. Let's tackle this issue together!
A 400 error when adding a rerank model in Dify can often be caused by using the 'raw' body format in the HTTP request node when the query contains special characters like newlines ('\n'). To resolve this, ensure that the body format is set to 'JSON' in the HTTP request node configuration to properly escape special characters in the query string. Additionally, since you are using Dify version 0.15.1, make sure that your setup is compatible with GPUStack, as there might be specific configurations required for this integration that are not detailed in the available documentation [1][2].
Self Checks
Dify version
0.15.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
when add rerank model under GPUStack,occur 400 error.

In GPUStack, test rerank service and api is OK
✔️ Expected Behavior
can add rerank models normally
❌ Actual Behavior
http 400 error
The text was updated successfully, but these errors were encountered: