mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #24] [MERGED] add endpoint model name in credentials for openai compatible interface #91
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/24
Author: @cyflhn
Created: 2/24/2025
Status: ✅ Merged
Merged: 6/27/2025
Merged by: @Yeuoly
Base:
main← Head:self📝 Commits (7)
dc22011update5871a68add endpoint model name0610b61remove filesff0e8c7fix conflict834149bsimplify code9551f89fix conflict6b4fbf0remove unnecessary files📊 Changes
6 files changed (+9 additions, -7 deletions)
View changed files
📝
python/.gitignore(+2 -0)📝
python/dify_plugin/interfaces/model/openai_compatible/llm.py(+2 -2)📝
python/dify_plugin/interfaces/model/openai_compatible/rerank.py(+1 -1)📝
python/dify_plugin/interfaces/model/openai_compatible/speech2text.py(+1 -1)📝
python/dify_plugin/interfaces/model/openai_compatible/text_embedding.py(+2 -2)📝
python/dify_plugin/interfaces/model/openai_compatible/tts.py(+1 -1)📄 Description
I think endpoint model name should be added in credentials in openai compatible interface. For example, I want to add models with same name but with different endpoints for openai compatible model provider, but currently, dify does not support that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.