[PR #139] [MERGED] Support conditional edge from START node #520

Closed
opened 2026-02-15 18:17:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/139
Author: @nfcampos
Created: 5/14/2024
Status: Merged
Merged: 5/15/2024
Merged by: @nfcampos

Base: mainHead: nc/14may/conditional-entry


📝 Commits (9)

  • 42ec420 Support conditional edge from START node
  • c93b41b Rename thread_ts to checkpoint_id
  • 3da0996 Use uuid6 for checkpoint id
  • 635f5c6 Compat w node 18
  • 988b66a Merge pull request #144 from langchain-ai/nc/15may/checkpoint-id-uuid6
  • 514d09b Merge pull request #142 from langchain-ai/nc/15may/checkpoint-id
  • c6f86e1 Add conditional edge "then" arg
  • 8ea764f Lint
  • afd81cd Merge pull request #146 from langchain-ai/nc/15may/branch-then

📊 Changes

24 files changed (+757 additions, -374 deletions)

View changed files

📝 CONTRIBUTING.md (+58 -51)
📝 langgraph/package.json (+3 -1)
📝 langgraph/src/channels/base.ts (+8 -5)
langgraph/src/channels/dynamic_barrier_value.ts (+91 -0)
📝 langgraph/src/channels/named_barrier_value.ts (+12 -11)
📝 langgraph/src/channels/topic.ts (+7 -5)
📝 langgraph/src/checkpoint/base.ts (+16 -50)
langgraph/src/checkpoint/id.ts (+44 -0)
📝 langgraph/src/checkpoint/index.ts (+0 -1)
📝 langgraph/src/checkpoint/memory.ts (+17 -17)
📝 langgraph/src/checkpoint/sqlite.ts (+34 -34)
📝 langgraph/src/graph/graph.ts (+67 -35)
📝 langgraph/src/graph/state.ts (+31 -8)
📝 langgraph/src/index.ts (+0 -1)
📝 langgraph/src/prebuilt/agent_executor.ts (+2 -2)
📝 langgraph/src/prebuilt/chat_agent_executor.ts (+1 -1)
📝 langgraph/src/pregel/index.ts (+25 -20)
📝 langgraph/src/pregel/read.ts (+0 -16)
📝 langgraph/src/pregel/write.ts (+0 -15)
📝 langgraph/src/tests/chatbot.int.test.ts (+2 -2)

...and 4 more files

📄 Description

  • ie. conditional entrypoint

Fixes # (issue)


🔄 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/139 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/14/2024 **Status:** ✅ Merged **Merged:** 5/15/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/14may/conditional-entry` --- ### 📝 Commits (9) - [`42ec420`](https://github.com/langchain-ai/langgraphjs/commit/42ec420797629225d7b69cea866f2711114eecf3) Support conditional edge from START node - [`c93b41b`](https://github.com/langchain-ai/langgraphjs/commit/c93b41bef0afcf0911a2364d9dbcc438eac784dd) Rename thread_ts to checkpoint_id - [`3da0996`](https://github.com/langchain-ai/langgraphjs/commit/3da0996f45aef6cb1d32c50af40a1f219181470b) Use uuid6 for checkpoint id - [`635f5c6`](https://github.com/langchain-ai/langgraphjs/commit/635f5c6d74ab6eaaa6cb773845549ad2b59346e6) Compat w node 18 - [`988b66a`](https://github.com/langchain-ai/langgraphjs/commit/988b66a88df15637e7bbc8979006be7d8aa86ce0) Merge pull request #144 from langchain-ai/nc/15may/checkpoint-id-uuid6 - [`514d09b`](https://github.com/langchain-ai/langgraphjs/commit/514d09b1553b84537f1a2a10833971b80128760d) Merge pull request #142 from langchain-ai/nc/15may/checkpoint-id - [`c6f86e1`](https://github.com/langchain-ai/langgraphjs/commit/c6f86e191d503cfaf1e66ca49474102dd8f94a47) Add conditional edge "then" arg - [`8ea764f`](https://github.com/langchain-ai/langgraphjs/commit/8ea764f57f918f5ff008cd77d450cfb8a2fb8761) Lint - [`afd81cd`](https://github.com/langchain-ai/langgraphjs/commit/afd81cda7e83020d6ba6d97967111004ab8ac451) Merge pull request #146 from langchain-ai/nc/15may/branch-then ### 📊 Changes **24 files changed** (+757 additions, -374 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+58 -51) 📝 `langgraph/package.json` (+3 -1) 📝 `langgraph/src/channels/base.ts` (+8 -5) ➕ `langgraph/src/channels/dynamic_barrier_value.ts` (+91 -0) 📝 `langgraph/src/channels/named_barrier_value.ts` (+12 -11) 📝 `langgraph/src/channels/topic.ts` (+7 -5) 📝 `langgraph/src/checkpoint/base.ts` (+16 -50) ➕ `langgraph/src/checkpoint/id.ts` (+44 -0) 📝 `langgraph/src/checkpoint/index.ts` (+0 -1) 📝 `langgraph/src/checkpoint/memory.ts` (+17 -17) 📝 `langgraph/src/checkpoint/sqlite.ts` (+34 -34) 📝 `langgraph/src/graph/graph.ts` (+67 -35) 📝 `langgraph/src/graph/state.ts` (+31 -8) 📝 `langgraph/src/index.ts` (+0 -1) 📝 `langgraph/src/prebuilt/agent_executor.ts` (+2 -2) 📝 `langgraph/src/prebuilt/chat_agent_executor.ts` (+1 -1) 📝 `langgraph/src/pregel/index.ts` (+25 -20) 📝 `langgraph/src/pregel/read.ts` (+0 -16) 📝 `langgraph/src/pregel/write.ts` (+0 -15) 📝 `langgraph/src/tests/chatbot.int.test.ts` (+2 -2) _...and 4 more files_ </details> ### 📄 Description - ie. conditional entrypoint <!-- Thank you for contributing to LangGraph.js! Your PR will appear in our next release under the title you set above. Please make sure it highlights your valuable contribution. To help streamline the review process, please make sure you read our contribution guidelines: https://github.com/langchain-ai/langgraphjs/blob/main/CONTRIBUTING.md Replace this block with a description of the change, the issue it fixes (if applicable), and relevant context. Finally, we'd love to show appreciation for your contribution - if you'd like us to shout you out on Twitter, please also include your handle below! --> <!-- Remove if not applicable --> Fixes # (issue) --- <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 18:17:15 -05:00
yindo closed this issue 2026-02-15 18:17:15 -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#520