mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
When the API key for the rerank model in the openai_api_compatible module configuration is empty, a 401 error is returned. #654
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1018053166 on GitHub (Sep 16, 2025).
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When configuring the rerank model API key as empty in the openai_api_compatible module, the configuration is intercepted by the large model gateway and fails to complete successfully.
The re-ranking model cannot be configured due to an empty API key.
After troubleshooting the code, the rerank model couldn't be configured because the API key was empty. The request header sent by dify with
Authorization: Bearercontaining an empty string was intercepted by the large model platform's gateway, resulting in a 401 error.2. Additional context or comments
No response
3. Can you help us with this feature?
@dosubot[bot] commented on GitHub (Oct 3, 2025):
Hi, @1018053166. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thanks for your understanding and contribution!