Files
langgraphjs/libs/langgraph-api
Christian Bromann f99941f5fe fix(sdk): clear subgraph and subagent discovery on thread swap (#2430)
## Summary
- Add `reset()` to `SubgraphDiscovery` and `SubagentDiscovery` to clear
internal maps and committed store snapshots.
- Call both resets from `StreamController.#teardownThread()` alongside
existing per-thread resets (messages, tools, metadata).
- Add unit tests for discovery `reset()` and a controller test that
`hydrate(null)` clears subgraphs after lifecycle events.
2026-05-25 00:50:31 -07:00
..
2026-05-18 22:47:09 +00:00
2025-02-05 01:22:24 +01:00
2026-05-18 22:47:09 +00:00
2025-07-03 14:21:00 +02:00

LangGraph.js API

In-memory implementation of the LangGraph.js API.

Tests

  1. Build the latest code changes to test: pnpm build
  2. Start a local server: pnpm dev
  3. Run the tests: pnpm test