[PR #194] [MERGED] enhancement(llm): remove non-required PromptMessages field from LLMResultChunk #361

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/194
Author: @Yeuoly
Created: 4/11/2025
Status: Merged
Merged: 4/11/2025
Merged by: @Yeuoly

Base: mainHead: fix/remove-prompt_messages-from-llm-result-chunk


📝 Commits (1)

  • f603488 refactor(llm): remove non-required PromptMessages field from LLMResultChunk

📊 Changes

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

View changed files

📝 internal/core/dify_invocation/tester/mock.go (+0 -5)
📝 pkg/entities/model_entities/llm.go (+1 -2)

📄 Description

Solves high CPU usage of dify-api container caused by LLMResultChunk decoding

Related:


🔄 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/194 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/11/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/remove-prompt_messages-from-llm-result-chunk` --- ### 📝 Commits (1) - [`f603488`](https://github.com/langgenius/dify-plugin-daemon/commit/f6034880bea96dae9e7026e13d680781d71371d9) refactor(llm): remove non-required PromptMessages field from LLMResultChunk ### 📊 Changes **2 files changed** (+1 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/dify_invocation/tester/mock.go` (+0 -5) 📝 `pkg/entities/model_entities/llm.go` (+1 -2) </details> ### 📄 Description Solves high CPU usage of dify-api container caused by LLMResultChunk decoding Related: - https://github.com/langgenius/dify/issues/17799 - https://github.com/langgenius/dify-official-plugins/issues/648 --- <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:44 -05:00
yindo closed this issue 2026-02-16 01:15:44 -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#361