[PR #245] [MERGED] fix: update request timeout to use environment configuration #255

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/245
Author: @ZhouhaoJiang
Created: 11/21/2025
Status: Merged
Merged: 11/24/2025
Merged by: @Yeuoly

Base: mainHead: fix/oai-pydantic-error


📝 Commits (3)

  • 92da7f4 fix: update request timeout to use environment configuration
  • 189f995 fix: lint
  • 17ab9b3 feat: introduce _plugin_config for environment-based configuration

📊 Changes

2 files changed (+73 additions, -1 deletions)

View changed files

📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+3 -1)
python/tests/interfaces/model/openai_compatible/test_plugin_config.py (+70 -0)

📄 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/245 **Author:** [@ZhouhaoJiang](https://github.com/ZhouhaoJiang) **Created:** 11/21/2025 **Status:** ✅ Merged **Merged:** 11/24/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/oai-pydantic-error` --- ### 📝 Commits (3) - [`92da7f4`](https://github.com/langgenius/dify-plugin-sdks/commit/92da7f4568eff51850cc8f3d70755f6c9808bbd4) fix: update request timeout to use environment configuration - [`189f995`](https://github.com/langgenius/dify-plugin-sdks/commit/189f995d43c7fb50596510af92725155362d31b8) fix: lint - [`17ab9b3`](https://github.com/langgenius/dify-plugin-sdks/commit/17ab9b3abc2c05c395e2b604ecd53ad07d6ea6f2) feat: introduce _plugin_config for environment-based configuration ### 📊 Changes **2 files changed** (+73 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+3 -1) ➕ `python/tests/interfaces/model/openai_compatible/test_plugin_config.py` (+70 -0) </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 - [x] Code has passed local tests - [x] 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:27 -05:00
yindo closed this issue 2026-02-15 21:16:27 -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#255