mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-21 18:05:30 -04:00
[PR #279] fix(sdk): pass extra_headers to validate_credentials in OAICompatLarg… #282
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/279
Author: @TeemoSun
Created: 1/8/2026
Status: 🔄 Open
Base:
main← Head:fix/validate-credentials-extra-headers📝 Commits (1)
489540efix(sdk): pass extra_headers to validate_credentials in OAICompatLargeLanguageModel📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
python/dify_plugin/interfaces/model/openai_compatible/llm.py(+6 -0)📄 Description
…eLanguageModel
Ensure extra_headers are accepted by validate_credentials to support custom Host and providers requiring special headers.
Pull Request Checklist
Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks:
Compatibility Check
README.mdREADME.mdREADME.mdREADME.mdAvailable Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.