[PR #483] [CLOSED] feat(deepagents): expose summarization options on createDeepAgent #501

Closed
opened 2026-06-05 17:23:28 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/483
Author: @ariran5
Created: 4/22/2026
Status: Closed

Base: mainHead: feat/deepagents-summarization-options


📝 Commits (1)

  • cd26803 feat(deepagents): expose summarization options on createDeepAgent

📊 Changes

3 files changed (+26 additions, -4 deletions)

View changed files

📝 libs/deepagents/src/agent.ts (+5 -3)
📝 libs/deepagents/src/index.ts (+1 -0)
📝 libs/deepagents/src/types.ts (+20 -1)

📄 Description

Add optional summarization parameter (DeepAgentSummarizationOptions) so callers can pass trigger, keep, trimTokensToSummarize, and other SummarizationMiddleware settings without duplicating middleware wiring. Options are forwarded to createSummarizationMiddleware for the root agent and all built-in subagent stacks; backend always comes from the agent.


🔄 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/langchain-ai/deepagentsjs/pull/483 **Author:** [@ariran5](https://github.com/ariran5) **Created:** 4/22/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/deepagents-summarization-options` --- ### 📝 Commits (1) - [`cd26803`](https://github.com/langchain-ai/deepagentsjs/commit/cd26803f72ca36e9aad659ae0a3b66c31aef87dc) feat(deepagents): expose summarization options on createDeepAgent ### 📊 Changes **3 files changed** (+26 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `libs/deepagents/src/agent.ts` (+5 -3) 📝 `libs/deepagents/src/index.ts` (+1 -0) 📝 `libs/deepagents/src/types.ts` (+20 -1) </details> ### 📄 Description Add optional `summarization` parameter (DeepAgentSummarizationOptions) so callers can pass trigger, keep, trimTokensToSummarize, and other SummarizationMiddleware settings without duplicating middleware wiring. Options are forwarded to createSummarizationMiddleware for the root agent and all built-in subagent stacks; backend always comes from the agent. --- <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-06-05 17:23:28 -04:00
yindo closed this issue 2026-06-05 17:23:28 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#501