[PR #13] [MERGED] feat(api): add create thread from batch of update state #18

Closed
opened 2026-02-16 04:16:59 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: dqbd/batch-state


📝 Commits (10+)

  • fc1e49f feat(api): add create thread from batch of update state
  • 3cdef97 Update to use batchUpdateState
  • 6e23115 Update to latest API
  • 22944c2 Bump packages
  • 77981bf Fix snake case to pascal case conversion
  • 874ed10 Add support for sending command as update
  • 4b7ce65 Update tests
  • 07a931c Use latest version, update test
  • 0f6ea90 Remove only flag
  • 509c2d6 Rename 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 supersteps argument to POST /thread, that will apply updates in bulk


🔄 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-api/pull/13 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 2/25/2025 **Status:** ✅ Merged **Merged:** 3/20/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/batch-state` --- ### 📝 Commits (10+) - [`fc1e49f`](https://github.com/langchain-ai/langgraphjs-api/commit/fc1e49f4595dcec3e44ff0d021cc5b82f2d8cea7) feat(api): add create thread from batch of update state - [`3cdef97`](https://github.com/langchain-ai/langgraphjs-api/commit/3cdef97b0c7cda3b41421de251546af01f617b4e) Update to use `batchUpdateState` - [`6e23115`](https://github.com/langchain-ai/langgraphjs-api/commit/6e2311540a73769856d6e538d7e62f0513c434ac) Update to latest API - [`22944c2`](https://github.com/langchain-ai/langgraphjs-api/commit/22944c233213961dcbc37d369a6afe9a381d2a4e) Bump packages - [`77981bf`](https://github.com/langchain-ai/langgraphjs-api/commit/77981bf10a924e767ee36f228053b882866c3404) Fix snake case to pascal case conversion - [`874ed10`](https://github.com/langchain-ai/langgraphjs-api/commit/874ed109b4eab14a04a5cd4e8a6f553d4ac5255b) Add support for sending command as update - [`4b7ce65`](https://github.com/langchain-ai/langgraphjs-api/commit/4b7ce65643d6054699d6b97244d7236ed50ce39a) Update tests - [`07a931c`](https://github.com/langchain-ai/langgraphjs-api/commit/07a931ca70ccf5975c75ec1178c4f16b0ab5b181) Use latest version, update test - [`0f6ea90`](https://github.com/langchain-ai/langgraphjs-api/commit/0f6ea9000bc5922ba452007725a7911e4004fa7a) Remove only flag - [`509c2d6`](https://github.com/langchain-ai/langgraphjs-api/commit/509c2d68acacc7e2f9f4ba9ea99aac7aa4a48cc0) Rename to /bulk ### 📊 Changes **10 files changed** (+258 additions, -113 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Adds a new `supersteps` argument to `POST /thread`, that will apply updates in bulk --- <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 04:16:59 -05:00
yindo closed this issue 2026-02-16 04:16:59 -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-api#18