[PR #650] [MERGED] feat(graph): passthrough input types to invoke/stream #913

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/650
Author: @dqbd
Created: 11/1/2024
Status: Merged
Merged: 12/5/2024
Merged by: @dqbd

Base: mainHead: dqbd/io-types


📝 Commits (7)

  • d88d2c0 feat(graph): passthrough input and output types to invoke/stream
  • 3ba3f20 Fix lint
  • 6c9e2a4 Accept null as input as well (to continue)
  • f3089f7 Opt out of return value typing for now, swap StateType with UpdateType for correct semantics, use Annotation.Root for prebuilt agent executor
  • b90043a Fix types
  • 6af52b7 Add TODO
  • 21b25c6 Remove TODO?

📊 Changes

7 files changed (+61 additions, -49 deletions)

View changed files

📝 libs/langgraph/src/graph/graph.ts (+15 -13)
📝 libs/langgraph/src/prebuilt/react_agent_executor.ts (+6 -18)
📝 libs/langgraph/src/pregel/index.ts (+9 -7)
📝 libs/langgraph/src/tests/graph.test.ts (+15 -6)
📝 libs/langgraph/src/tests/prebuilt.int.test.ts (+3 -1)
📝 libs/langgraph/src/tests/pregel.test.ts (+3 -0)
📝 libs/langgraph/src/tests/tracing.int.test.ts (+10 -4)

📄 Description

Opting to fix output types in a different PR due to the complexity of streamMode

Closes #628


🔄 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/langgraphjs/pull/650 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 11/1/2024 **Status:** ✅ Merged **Merged:** 12/5/2024 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/io-types` --- ### 📝 Commits (7) - [`d88d2c0`](https://github.com/langchain-ai/langgraphjs/commit/d88d2c073ce1bf53d7db7ee4a80c02459bbcf1ae) feat(graph): passthrough input and output types to invoke/stream - [`3ba3f20`](https://github.com/langchain-ai/langgraphjs/commit/3ba3f20f3f9e7d3a18a1eee59e5dea902fb5c3ec) Fix lint - [`6c9e2a4`](https://github.com/langchain-ai/langgraphjs/commit/6c9e2a494ab6d01a3364deaf3fe686e410f0221d) Accept null as input as well (to continue) - [`f3089f7`](https://github.com/langchain-ai/langgraphjs/commit/f3089f7dacd8d1291d369288d494d36fbe7cdbf7) Opt out of return value typing for now, swap StateType with UpdateType for correct semantics, use Annotation.Root for prebuilt agent executor - [`b90043a`](https://github.com/langchain-ai/langgraphjs/commit/b90043a2ae1b6473876bdf16c39584c6c28c6c15) Fix types - [`6af52b7`](https://github.com/langchain-ai/langgraphjs/commit/6af52b7003ac4ba192cb52d54de6655b5ded85e7) Add TODO - [`21b25c6`](https://github.com/langchain-ai/langgraphjs/commit/21b25c638ab89f12c3221595434ab3586e6b066a) Remove TODO? ### 📊 Changes **7 files changed** (+61 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/graph/graph.ts` (+15 -13) 📝 `libs/langgraph/src/prebuilt/react_agent_executor.ts` (+6 -18) 📝 `libs/langgraph/src/pregel/index.ts` (+9 -7) 📝 `libs/langgraph/src/tests/graph.test.ts` (+15 -6) 📝 `libs/langgraph/src/tests/prebuilt.int.test.ts` (+3 -1) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+3 -0) 📝 `libs/langgraph/src/tests/tracing.int.test.ts` (+10 -4) </details> ### 📄 Description Opting to fix output types in a different PR due to the complexity of `streamMode` Closes #628 --- <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-15 19:16:23 -05:00
yindo closed this issue 2026-02-15 19:16:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#913