[PR #24] [MERGED] add endpoint model name in credentials for openai compatible interface #91

Closed
opened 2026-02-15 21:15:43 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: self


📝 Commits (7)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/24 **Author:** [@cyflhn](https://github.com/cyflhn) **Created:** 2/24/2025 **Status:** ✅ Merged **Merged:** 6/27/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `self` --- ### 📝 Commits (7) - [`dc22011`](https://github.com/langgenius/dify-plugin-sdks/commit/dc2201124ccaec1ef3670d61dd3b2895f45e50f5) update - [`5871a68`](https://github.com/langgenius/dify-plugin-sdks/commit/5871a680a025a74ff3bf759f7a96670c321bd628) add endpoint model name - [`0610b61`](https://github.com/langgenius/dify-plugin-sdks/commit/0610b61106d50c14da46b0509fb7d077d50de327) remove files - [`ff0e8c7`](https://github.com/langgenius/dify-plugin-sdks/commit/ff0e8c7b97e9da3a6671de767baacc59c4edcfe3) fix conflict - [`834149b`](https://github.com/langgenius/dify-plugin-sdks/commit/834149bb3749ac07bca79edc3b52f7e5679f73ba) simplify code - [`9551f89`](https://github.com/langgenius/dify-plugin-sdks/commit/9551f89bc292f54d17ce7503a055bcfe669f45bb) fix conflict - [`6b4fbf0`](https://github.com/langgenius/dify-plugin-sdks/commit/6b4fbf09d715d144e12d91b32f5a45f4b9881489) remove unnecessary files ### 📊 Changes **6 files changed** (+9 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:43 -05:00
yindo closed this issue 2026-02-15 21:15:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#91