[PR #310] #fix llm response is too long,the scanner.Scan can't read #437

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/310
Author: @sunli1223
Created: 5/25/2025
Status: 🔄 Open

Base: mainHead: fix_http_request_parse


📝 Commits (2)

  • 2480864 #fix llm response is too long,the scanner.Scan can't read
  • 13855c7 feat(http): Add readBodyStream function for improved response handling

📊 Changes

2 files changed (+192 additions, -25 deletions)

View changed files

📝 internal/utils/http_requests/http_warpper.go (+42 -25)
internal/utils/http_requests/http_wrapper_reader_test.go (+150 -0)

📄 Description

this is for issue https://github.com/langgenius/dify-plugin-daemon/issues/309


🔄 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/310 **Author:** [@sunli1223](https://github.com/sunli1223) **Created:** 5/25/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix_http_request_parse` --- ### 📝 Commits (2) - [`2480864`](https://github.com/langgenius/dify-plugin-daemon/commit/2480864508e2515961870f6c0ce8c3a15bcdad37) #fix llm response is too long,the scanner.Scan can't read - [`13855c7`](https://github.com/langgenius/dify-plugin-daemon/commit/13855c74999908b9e2343a6ccaff8a8322af0257) feat(http): Add readBodyStream function for improved response handling ### 📊 Changes **2 files changed** (+192 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `internal/utils/http_requests/http_warpper.go` (+42 -25) ➕ `internal/utils/http_requests/http_wrapper_reader_test.go` (+150 -0) </details> ### 📄 Description this is for issue https://github.com/langgenius/dify-plugin-daemon/issues/309 --- <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:57 -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#437