[PR #565] [MERGED] feat: add history-message to agent plugin #1444

Closed
opened 2026-02-16 10:22:57 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/565
Author: @Nov1c444
Created: 3/26/2025
Status: Merged
Merged: 3/27/2025
Merged by: @Nov1c444

Base: mainHead: fix/agent-support-memory


📝 Commits (3)

  • cc936a5 feat: add memory to agent plugin
  • 36fc793 fixed ReAct strategy doesn't compact with Dify. (#267)
  • 033b3cb chore(agent): remove the unused class

📊 Changes

8 files changed (+161 additions, -355 deletions)

View changed files

📝 agent-strategies/cot_agent/manifest.yaml (+1 -1)
📝 agent-strategies/cot_agent/output_parser/cot_output_parser.py (+1 -1)
📝 agent-strategies/cot_agent/prompt/template.py (+2 -2)
📝 agent-strategies/cot_agent/requirements.txt (+1 -1)
📝 agent-strategies/cot_agent/strategies/ReAct.py (+74 -190)
📝 agent-strategies/cot_agent/strategies/ReAct.yaml (+2 -0)
📝 agent-strategies/cot_agent/strategies/function_calling.py (+78 -160)
📝 agent-strategies/cot_agent/strategies/function_calling.yaml (+2 -0)

📄 Description

Features:

  1. Added history-message tag in Agent plugin to allow Agent plugin to get chat context
  2. Fixed to support non-streaming function calls for certain models (doubao, deepseek)
  3. Fixed type errors for non-built-in models (those requiring manual addition)

Fixes:
#533
https://github.com/langgenius/dify/issues/16536


🔄 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-official-plugins/pull/565 **Author:** [@Nov1c444](https://github.com/Nov1c444) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/27/2025 **Merged by:** [@Nov1c444](https://github.com/Nov1c444) **Base:** `main` ← **Head:** `fix/agent-support-memory` --- ### 📝 Commits (3) - [`cc936a5`](https://github.com/langgenius/dify-official-plugins/commit/cc936a5ca06ce7f54d2400b1b12cb3c7458c1847) feat: add memory to agent plugin - [`36fc793`](https://github.com/langgenius/dify-official-plugins/commit/36fc793fb58425649bf95d23e4818a4174294447) fixed ReAct strategy doesn't compact with Dify. (#267) - [`033b3cb`](https://github.com/langgenius/dify-official-plugins/commit/033b3cbdf774d58d0cf303477e501b5fed7f0ebf) chore(agent): remove the unused class ### 📊 Changes **8 files changed** (+161 additions, -355 deletions) <details> <summary>View changed files</summary> 📝 `agent-strategies/cot_agent/manifest.yaml` (+1 -1) 📝 `agent-strategies/cot_agent/output_parser/cot_output_parser.py` (+1 -1) 📝 `agent-strategies/cot_agent/prompt/template.py` (+2 -2) 📝 `agent-strategies/cot_agent/requirements.txt` (+1 -1) 📝 `agent-strategies/cot_agent/strategies/ReAct.py` (+74 -190) 📝 `agent-strategies/cot_agent/strategies/ReAct.yaml` (+2 -0) 📝 `agent-strategies/cot_agent/strategies/function_calling.py` (+78 -160) 📝 `agent-strategies/cot_agent/strategies/function_calling.yaml` (+2 -0) </details> ### 📄 Description Features: 1. Added history-message tag in Agent plugin to allow Agent plugin to get chat context 2. Fixed to support non-streaming function calls for certain models (doubao, deepseek) 3. Fixed type errors for non-built-in models (those requiring manual addition) Fixes: #533 https://github.com/langgenius/dify/issues/16536 --- <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 10:22:57 -05:00
yindo closed this issue 2026-02-16 10:22: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-official-plugins#1444