mirror of
https://github.com/langchain-ai/langgraphjs-api.git
synced 2026-07-19 13:25:54 -04:00
[PR #13] [MERGED] feat(api): add create thread from batch of update state #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langgraphjs-api/pull/13
Author: @dqbd
Created: 2/25/2025
Status: ✅ Merged
Merged: 3/20/2025
Merged by: @dqbd
Base:
main← Head:dqbd/batch-state📝 Commits (10+)
fc1e49ffeat(api): add create thread from batch of update state3cdef97Update to usebatchUpdateState6e23115Update to latest API22944c2Bump packages77981bfFix snake case to pascal case conversion874ed10Add support for sending command as update4b7ce65Update tests07a931cUse latest version, update test0f6ea90Remove only flag509c2d6Rename to /bulk📊 Changes
10 files changed (+258 additions, -113 deletions)
View changed files
📝
libs/langgraph-api/package.json(+4 -4)📝
libs/langgraph-api/src/api/threads.mts(+7 -0)➕
libs/langgraph-api/src/command.mts(+28 -0)📝
libs/langgraph-api/src/schemas.mts(+36 -25)📝
libs/langgraph-api/src/storage/ops.mts(+61 -11)📝
libs/langgraph-api/src/stream.mts(+2 -25)📝
libs/langgraph-api/tests/api.test.mts(+78 -18)📝
libs/langgraph-api/tests/graphs/package.json(+2 -2)📝
libs/langgraph-api/tests/utils.mts(+4 -4)📝
pnpm-lock.yaml(+36 -24)📄 Description
Adds a new
superstepsargument toPOST /thread, that will apply updates in bulk🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.