mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-21 18:05:30 -04:00
[PR #206] fix(openai_compatible_rerank): Handle empty API keys consistently with text_embedding #223
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?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/206
Author: @1018053166
Created: 9/17/2025
Status: 🔄 Open
Base:
main← Head:fix/rerank-auth-handling📝 Commits (7)
98273d6fix(openai_rerank): Handle empty API keys consistently with authorization header73edcb0docs: translate comments to English in rerank.py1e71b45Remove whitespace from blank line283678bRemove whitespace from blank line26b8b77Merge and resolve conflict: Remove whitespace from blank line5d65d4aFix merge conflicts and remove trailing whitespace in rerank.pyeb3ac2cstyle: standardize quote style and ensure newline at end of file in rerank.py📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
python/dify_plugin/interfaces/model/openai_compatible/rerank.py(+4 -1)📄 Description
Description
Fixes https://github.com/langgenius/dify-official-plugins/issues/1724 by making authorization header handling in OpenAI-compatible rerank model consistent with text_embedding implementation:
Changes
rerank.py🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.