[PR #168] [MERGED] Refactor: standardize string quotes for model name retrieval in OpenAI compatible interfaces #198

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/168
Author: @Yeuoly
Created: 6/27/2025
Status: Merged
Merged: 6/27/2025
Merged by: @Yeuoly

Base: mainHead: fix/main-linter


📝 Commits (1)

  • 12fd11c Refactor: standardize string quotes for model name retrieval in OpenAI compatible interfaces

📊 Changes

5 files changed (+7 additions, -7 deletions)

View changed files

📝 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

Pull Request Checklist

Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks:

Compatibility Check

  • I have checked whether this change affects the backward compatibility of the plugin declared in README.md
  • I have checked whether this change affects the forward compatibility of the plugin declared in README.md
  • If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the README.md
  • I have described the compatibility impact and the corresponding version number in the PR description
  • I have checked whether the plugin version is updated in the README.md

Available Checks

  • Code has passed local tests
  • Relevant documentation has been updated (if necessary)

🔄 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/168 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 6/27/2025 **Status:** ✅ Merged **Merged:** 6/27/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/main-linter` --- ### 📝 Commits (1) - [`12fd11c`](https://github.com/langgenius/dify-plugin-sdks/commit/12fd11c22dd2d8481e06ce2f6aed17d43a1238cc) Refactor: standardize string quotes for model name retrieval in OpenAI compatible interfaces ### 📊 Changes **5 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `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 # Pull Request Checklist Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks: ## Compatibility Check - [x] I have checked whether this change affects the **backward compatibility** of the plugin declared in `README.md` - [x] I have checked whether this change affects the **forward compatibility** of the plugin declared in `README.md` - [x] If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the `README.md` - [x] I have described the compatibility impact and the corresponding version number in the PR description - [x] I have checked whether the plugin version is updated in the `README.md` ## Available Checks - [ ] Code has passed local tests - [ ] Relevant documentation has been updated (if necessary) --- <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:16:11 -05:00
yindo closed this issue 2026-02-15 21:16:11 -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#198