[PR #231] [CLOSED] feat: Add LLM reasoning option for OpenAI compatible #242

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/231
Author: @chupark
Created: 10/29/2025
Status: Closed

Base: mainHead: main


📝 Commits (5)

  • d730687 Openai Compatible api for Reasoning LLM models
  • 4146597 update python/README.md for version update
  • 791d29f editing critical code
  • b1fe889 fix: apply reviewer feedback
  • 919d3dc fix: add MAX_COMPLETION_TOKEN into PARAMETER_RULE_TEMPLATE

📊 Changes

2 files changed (+33 additions, -3 deletions)

View changed files

📝 python/dify_plugin/entities/model/__init__.py (+18 -0)
📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+15 -3)

📄 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

    • No changes
  • I have checked whether this change affects the forward compatibility of the plugin declared in README.md

    • Compatible with older Dify versions
  • If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the README.md

    • N/A (no breaking changes)
  • 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

    • Version bumped from 0.5.1 → 0.6.1

Available Checks

  • Code has passed local tests

[ Authentication ]
Before
image

After
image

[Inference]
Before
image

After
image

  • 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/231 **Author:** [@chupark](https://github.com/chupark) **Created:** 10/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`d730687`](https://github.com/langgenius/dify-plugin-sdks/commit/d730687fc8ea099aaa91aa58b6f454e84f23a831) Openai Compatible api for Reasoning LLM models - [`4146597`](https://github.com/langgenius/dify-plugin-sdks/commit/414659737fa1d0a1323803a1b94979678ecf98d5) update python/README.md for version update - [`791d29f`](https://github.com/langgenius/dify-plugin-sdks/commit/791d29f3e0b207774560dcc80bd24ea56645be76) editing critical code - [`b1fe889`](https://github.com/langgenius/dify-plugin-sdks/commit/b1fe8896589dd0cb86da37bccb59d429bdb4e45a) fix: apply reviewer feedback - [`919d3dc`](https://github.com/langgenius/dify-plugin-sdks/commit/919d3dc2a2552c52a181d0ed40bd30b5009fb208) fix: add MAX_COMPLETION_TOKEN into PARAMETER_RULE_TEMPLATE ### 📊 Changes **2 files changed** (+33 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/entities/model/__init__.py` (+18 -0) 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+15 -3) </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` - ✅ No changes - [x] I have checked whether this change affects the **forward compatibility** of the plugin declared in `README.md` - ✅ Compatible with older Dify versions - [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` - N/A (no breaking changes) - [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` - Version bumped from 0.5.1 → 0.6.1 ## Available Checks - [x] Code has passed local tests **[ Authentication ]** **Before** <img width="1047" height="469" alt="image" src="https://github.com/user-attachments/assets/f94b6d24-6f0c-41ea-8a5d-b9d5fb1eab7d" /> **After** <img width="1043" height="484" alt="image" src="https://github.com/user-attachments/assets/e8a54a56-fbd7-42e9-9b64-c945f1774722" /> **[Inference]** **Before** <img width="1335" height="624" alt="image" src="https://github.com/user-attachments/assets/53bf68d3-a7c0-4bd3-9cf1-719cc31cdfc3" /> **After** <img width="1297" height="580" alt="image" src="https://github.com/user-attachments/assets/24021251-0ead-44c6-8636-c8cbf57c09ad" /> - [ ] 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:23 -05:00
yindo closed this issue 2026-02-15 21:16:23 -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#242