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: Bearer containing 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?