[PR #260] [MERGED] fix: improve line processing in StdioRequestReader #405

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/260
Author: @Yeuoly
Created: 5/6/2025
Status: Merged
Merged: 5/6/2025
Merged by: @Yeuoly

Base: mainHead: enhance/stdio


📝 Commits (2)

  • 3297edb fix: improve line processing in StdioRequestReader
  • 864640b feat: add asynchronous reading to StdioRequestReader

📊 Changes

1 file changed (+14 additions, -6 deletions)

View changed files

📝 internal/core/plugin_manager/local_runtime/patches/0.1.1.request_reader.py.patch (+14 -6)

📄 Description

  • Replaced synchronous stdin reading with asynchronous data retrieval.
  • Enhanced line processing to skip empty lines and handle incomplete data more effectively, improving overall robustness of the request reading mechanism.

Sync: https://github.com/langgenius/dify-plugin-sdks/pull/128


🔄 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-daemon/pull/260 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 5/6/2025 **Status:** ✅ Merged **Merged:** 5/6/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `enhance/stdio` --- ### 📝 Commits (2) - [`3297edb`](https://github.com/langgenius/dify-plugin-daemon/commit/3297edb63d95532761f19f865ca10cf41de54e7c) fix: improve line processing in StdioRequestReader - [`864640b`](https://github.com/langgenius/dify-plugin-daemon/commit/864640b9351c254bbbb1250c77abdc6a869b79a6) feat: add asynchronous reading to StdioRequestReader ### 📊 Changes **1 file changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/local_runtime/patches/0.1.1.request_reader.py.patch` (+14 -6) </details> ### 📄 Description - Replaced synchronous stdin reading with asynchronous data retrieval. - Enhanced line processing to skip empty lines and handle incomplete data more effectively, improving overall robustness of the request reading mechanism. Sync: https://github.com/langgenius/dify-plugin-sdks/pull/128 --- <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-16 01:15:52 -05:00
yindo closed this issue 2026-02-16 01:15:52 -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-daemon#405