[PR #364] [CLOSED] feat:make response buffer size configurable #469

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/364
Author: @kinoooolu
Created: 6/25/2025
Status: Closed

Base: mainHead: feat/response-buffer-size-configurable


📝 Commits (1)

  • 95120f1 feat:make response buffer size configurable

📊 Changes

11 files changed (+36 additions, -15 deletions)

View changed files

📝 internal/core/plugin_daemon/agent_service.go (+3 -1)
📝 internal/core/plugin_daemon/model.gen.go (+3 -1)
📝 internal/core/plugin_daemon/tool_service.go (+3 -1)
📝 internal/server/controllers/agent_strategy.gen.go (+1 -1)
📝 internal/server/controllers/model.gen.go (+1 -1)
📝 internal/server/controllers/tool.go (+1 -1)
📝 internal/service/invoke_agent.go (+4 -3)
📝 internal/service/invoke_tool.go (+4 -3)
📝 internal/service/model.gen.go (+4 -3)
📝 internal/types/app/config.go (+9 -0)
📝 internal/types/app/default.go (+3 -0)

📄 Description

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

Make the response buffer size of invoking tools/llm/agent strategy configurable instead of hard code a magic number.

Checklist

  • This change requires a documentation update
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I have tested the new feature in local

🔄 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/364 **Author:** [@kinoooolu](https://github.com/kinoooolu) **Created:** 6/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/response-buffer-size-configurable` --- ### 📝 Commits (1) - [`95120f1`](https://github.com/langgenius/dify-plugin-daemon/commit/95120f1f2abde4f6bc71ffd37a62b2ed6e1c5163) feat:make response buffer size configurable ### 📊 Changes **11 files changed** (+36 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_daemon/agent_service.go` (+3 -1) 📝 `internal/core/plugin_daemon/model.gen.go` (+3 -1) 📝 `internal/core/plugin_daemon/tool_service.go` (+3 -1) 📝 `internal/server/controllers/agent_strategy.gen.go` (+1 -1) 📝 `internal/server/controllers/model.gen.go` (+1 -1) 📝 `internal/server/controllers/tool.go` (+1 -1) 📝 `internal/service/invoke_agent.go` (+4 -3) 📝 `internal/service/invoke_tool.go` (+4 -3) 📝 `internal/service/model.gen.go` (+4 -3) 📝 `internal/types/app/config.go` (+9 -0) 📝 `internal/types/app/default.go` (+3 -0) </details> ### 📄 Description > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 2. Ensure there is an associated issue and you have been assigned to it > 3. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary Make the response buffer size of invoking tools/llm/agent strategy configurable instead of hard code a magic number. ## Checklist - [ ] This change requires a documentation update - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [ ] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [ ] I've updated the documentation accordingly. - [x] I have tested the new feature in local --- <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:16:03 -05:00
yindo closed this issue 2026-02-16 01:16:03 -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#469