Commit Graph

2778 Commits

Author SHA1 Message Date
Brace Sproul 090ce16abd feat(docs): Add create-agent-chat-app to readme quickstart (#1069) 2025-04-01 15:43:36 -07:00
Tat Dat Duong 020a70f1c8 Consolidate context 2025-04-02 00:38:47 +02:00
Tat Dat Duong 2e1c7fb1fa Use more sane filenames 2025-04-02 00:34:24 +02:00
Brace Sproul 45f9347cfc fix(docs): Add missing prebuilt packages (#1070) 2025-04-01 15:28:43 -07:00
Tat Dat Duong 7a62f0231e Bump to 0.0.20-dev.0 2025-04-01 22:11:55 +02:00
Ben Burns ae74785559 chore(langgraph): add tests to verify initial state for invocations after abort (#1067) 2025-04-01 14:13:13 +13:00
Tat Dat Duong c93c9c9c1e fix(sdk-js): send accepts any input 2025-04-01 00:15:32 +02:00
Tat Dat Duong 4489592b52 feat(ui): further splitting of gen ui code 2025-03-31 22:39:32 +02:00
David Duong 84aea8c3f4 Merge pull request #39 from langchain-ai/dqbd/ui-separate-pkg
feat(ui): separate as standalone package
2025-03-31 19:01:19 +02:00
Tat Dat Duong 2727315588 Add missing working-dir 2025-03-31 18:56:27 +02:00
Tat Dat Duong 987044196f Maybe? 2025-03-31 18:51:54 +02:00
Tat Dat Duong 05d56aaf22 Double the wait port timeout... 2025-03-31 18:44:18 +02:00
Tat Dat Duong 16d0ed6e0f Add ts-ignore 2025-03-31 18:27:00 +02:00
Tat Dat Duong a182ddf8a6 Do not rebuild the server twice when testing, make sure that we're running the tests on built artifacts 2025-03-31 18:25:08 +02:00
Tat Dat Duong 8255e2992a Update lock 2025-03-31 18:15:44 +02:00
Tat Dat Duong c99641c6fa Add ts as devdep 2025-03-31 18:13:31 +02:00
Tat Dat Duong 326be555e0 Make sure to build in proper order 2025-03-31 18:05:38 +02:00
Tat Dat Duong 0de1f26555 Add .prettierignore 2025-03-31 17:56:55 +02:00
David Duong 9f57892c45 Merge pull request #38 from langchain-ai/dqbd/gen-ui-cli
feat(cli): pass LANGGRAPH_UI env vars
2025-03-31 17:44:49 +02:00
Tat Dat Duong 83b26d60ec Fix build script 2025-03-31 17:38:24 +02:00
Tat Dat Duong c2fb406ccc Add behind dev subcommand 2025-03-31 17:02:07 +02:00
Tat Dat Duong fd41130e47 Format, add simple integration test 2025-03-31 16:59:44 +02:00
Tat Dat Duong 36b664bb91 feat(ui): separate as standalone package 2025-03-31 16:48:34 +02:00
Tat Dat Duong 77a2457774 feat(cli): pass LANGGRAPH_UI env vars 2025-03-31 11:54:54 +02:00
Ben Burns 1b865a16ca Add tests (w claude) for pregel/messages, pregel/runner, pregel/validate (#968) 2025-03-31 15:59:14 +13:00
Nuno Campos 9388fd2bb3 Add tests (w claude) for pregel/messages, pregel/runner, pregel/validate 2025-03-31 15:56:25 +13:00
Ben Burns 7c19cdd464 Add tests for pregel/config, pregel/subgraph, pregel/debug, pregel/io (#967) 2025-03-31 15:48:27 +13:00
Ben Burns c62cbe4c21 Merge branch 'main' into nc/6mar/claude-tests 2025-03-31 14:51:31 +13:00
Ben Burns 26964ad1ef release(langgraph): 0.2.62 (#1063) 2025-03-31 14:15:38 +13:00
Ben Burns 2f54bfcec7 release(langgraph): 0.2.62 0.2.62 2025-03-31 14:13:00 +13:00
Ben Burns d03c22d080 fix(langgraph): compose & propagate AbortSignal correctly, trigger on more early termination cases (#1022)
The `AbortSignal` passed to each node via the `signal` field on the node's `config` argument now aborts when:

- The `AbortSignal` passed into `Pregel.invoke`, `Pregel.stream`, or `Pregel.streamEvents` via `config.signal` is aborted.
- The currently executing graph super-step times out.
- Any other node executing concurrently within the same superstep throws an `Error`.
  - Note: "bubble-up" errors (e.g. `NodeInterrupt` and `CommandParent`) will _not_ trigger an abort.
- The `cancel` method is called on the stream returned by `Pregel.stream` or `Pregel.streamEvents`.

Importantly, `AbortSignal` are also now composed intelligently throughout the graph execution, allowing for a node in a parent graph to call a subgraph with an `AbortSignal` that originates in the node, and the signal received by the subgraph nodes will abort when `abort()` is called on the associated `AbortController`, as well as in any of the cases mentioned above, including when the parent graph's external `AbortSignal` is aborted.

fixes #319
2025-03-31 14:04:39 +13:00
Ben Burns 46d95d25f9 fix(langgraph): propagate AbortSignals correctly to subgraphs 2025-03-31 13:51:56 +13:00
Ben Burns adeeb2ebc6 fix(langgraph): propagate abort signal when stream.cancel called 2025-03-31 13:51:56 +13:00
Ben Burns fb346dfe46 fix(langgraph): plumb augmented AbortSignal through to node config 2025-03-31 13:51:56 +13:00
David Duong 260c25cf7a release(langgraph): 0.2.61 (#1061) 2025-03-28 22:32:07 +01:00
Tat Dat Duong 529eed35a0 release(langgraph): 0.2.61 0.2.61 2025-03-28 22:29:50 +01:00
David Duong c048bec03e feat(sdk-js): run optimistic values mutator before any network request (#4070) 2025-03-28 21:57:33 +01:00
Brace Sproul a6cb505402 release(cua): 0.0.4 (#1060) 2025-03-28 13:49:09 -07:00
Tat Dat Duong 5d972b9ff8 Bump to 0.0.62 2025-03-28 21:39:44 +01:00
Tat Dat Duong 2d00df0c5c feat(sdk-js): run optimistic values mutator before any network request 2025-03-28 21:39:35 +01:00
Tat Dat Duong 5c85f64253 Bump to 0.0.19 2025-03-28 21:27:30 +01:00
Brace Sproul 72192495c6 fix(cua): Bump min version for OpenAI peer dep (#1059) 2025-03-28 20:19:41 +00:00
David Duong 95f4fbdbb8 fix(state): fix types for overlapping schemas (#1057) 2025-03-28 18:49:27 +01:00
David Duong 61c1b95499 fix(prebuilt): make sure the AIMessage mutation occurs within lc_kwargs as well (#1058) 2025-03-28 18:49:04 +01:00
Tat Dat Duong ca62878ec6 fix(prebuilt): make sure the AIMessage mutation occurs within lc_kwargs as well
Fixes https://github.com/langchain-ai/langgraphjs/issues/993
2025-03-28 18:12:38 +01:00
Tat Dat Duong 6e438d3fc0 fix(state): fix types for overlapping schemas 2025-03-28 16:18:39 +01:00
David Duong e3d39bacba release(sdk-js): 0.0.61 (#4069) 2025-03-28 15:24:38 +01:00
Tat Dat Duong 7456004b5f release(sdk-js): 0.0.61 2025-03-28 15:23:25 +01:00
David Duong f527e9c69c fix(sdk-js): do not await for client.runs.stream, as it is already async generator (#4068) 2025-03-28 15:22:20 +01:00
Tat Dat Duong 3af194d317 fix(sdk-js): do not await for client.runs.stream, as it is already async generator 2025-03-28 15:15:54 +01:00