William FH and GitHub
e9162e2516
Update CLI pyproject.toml ( #2428 )
2024-11-15 11:00:32 -08:00
Eugene Yurtsev and GitHub
7f26325c87
cli: minor wording change in new command ( #2422 )
2024-11-15 03:13:53 +00:00
Nuno Campos
84ef939bf4
sdk-js 0.0.24
2024-11-14 18:17:22 -08:00
Nuno Campos
bdc22ea127
sdk-js: Accept command when creating run
2024-11-14 18:17:04 -08:00
Nuno Campos and GitHub
970e68edcc
Merge pull request #2417 from langchain-ai/vb/fix-debug-async
...
langgraph: add debug to AsyncPregelLoop
2024-11-14 06:53:18 -08:00
vbarda
da1a80e86d
lint
2024-11-14 09:37:39 -05:00
vbarda
c4b240e0c2
langgraph: add debug to AsyncPregelLoop
2024-11-14 09:36:33 -05:00
Nuno Campos
3a860ad537
0.2.48
2024-11-13 17:45:04 -08:00
Nuno Campos
7051bccc30
checkpoint 2.0.4
2024-11-13 17:37:01 -08:00
Nuno Campos
199e41b228
sdk py 0.1.36
2024-11-13 17:07:07 -08:00
Nuno Campos
229a9e19a8
sdk-py: Add command arg for creating runs
2024-11-13 17:06:56 -08:00
Nuno Campos
3c3a1a1f35
0.2.47
2024-11-13 14:02:25 -08:00
Nuno Campos and GitHub
f11127648e
Merge pull request #2346 from langchain-ai/nc/4nov/send-eager
...
lib: Execute Sends in the superstep that originated them (feature-flagged)
2024-11-13 13:39:50 -08:00
Nuno Campos
a94902db8a
Lint
2024-11-13 13:17:02 -08:00
Nuno Campos
9fd152ef3a
format
2024-11-13 13:14:03 -08:00
Nuno Campos
03bc9ba6e6
Make Command a dataclass
2024-11-13 13:11:28 -08:00
Nuno Campos
7fe6f88876
Add resumeable/ns properties to Interrupt
2024-11-13 12:51:55 -08:00
Eugene Yurtsev and GitHub
6906e12edb
cli: add ability to output docker compose file ( #2379 )
...
* Add ability to output docker compose file `langgraph dockerfile
Dockerfile --add-docker-compose`
* Add emoji in places
2024-11-13 12:42:58 -05:00
William FH and GitHub
7b4c29a20d
[Checkpointers] MemorySaver: refrain from overwriting writes ( #2399 )
2024-11-13 00:20:38 +00:00
Nuno Campos
16bfa80b58
Make Command accept generic arg for destinations
2024-11-12 16:18:23 -08:00
Eugene Yurtsev and GitHub
cb10437c3f
cli: Add default to interactive flow in new command ( #2398 )
2024-11-12 16:38:15 -05:00
Eugene Yurtsev and GitHub
2bcf1c0a20
cli[minor]: Add langgraph new command ( #2369 )
...
Adds a "new" command to create langgraph application from a template.
2024-11-12 14:30:51 -05:00
Nuno Campos
00964b18f6
Undo
2024-11-11 18:12:25 -08:00
Nuno Campos
0d5c6201d3
Disable in py 3.10 or below for async
2024-11-11 18:09:58 -08:00
Nuno Campos
86d2847dab
Use neg idx
2024-11-11 17:57:45 -08:00
Nuno Campos
b3a4eaa967
Remove print
2024-11-11 17:56:10 -08:00
Nuno Campos
87fc519ce7
Remove print
2024-11-11 17:54:56 -08:00
Nuno Campos
ef3a1ee997
Undo
2024-11-11 17:54:04 -08:00
Nuno Campos
311e16dffd
Remove prints
2024-11-11 17:52:18 -08:00
Nuno Campos
c83b8f6d04
Update
2024-11-11 17:49:58 -08:00
Nuno Campos
62d3a85b07
Add sync test
2024-11-11 17:46:54 -08:00
Nuno Campos
810ae0ef51
lib: Add interrupt() function
...
- This works similarly to the input() function from stdlib
- calling it in a node interrupts execution
- invoking the graph with Command(resume=...) will set ... as the return value of interrupt() so that the node can access the "answer" to the "question"
- This PR also starts the work to control the graph on invoke/stream with Command() input, to be continued in a future PR
2024-11-11 17:44:03 -08:00
Nuno Campos
2ff49d2200
Update
2024-11-11 15:43:20 -08:00
Nuno Campos
d0567dc7be
Add feature flag (default off) so we can merge this before releasing
...
- Add additional ci job to test with FF on
2024-11-11 15:38:48 -08:00
Nuno Campos
ea64ac5c07
Update
2024-11-11 14:18:14 -08:00
Nuno Campos
090b53ccc1
Lint
2024-11-11 14:14:23 -08:00
Nuno Campos
0e872e7482
Lin t
2024-11-11 14:12:33 -08:00
Nuno Campos
3ad966e057
Update
2024-11-11 14:08:59 -08:00
Nuno Campos
89a0859928
Execute Sends in same super step that triggered them
...
- Keep old code path for compatibility with existing checkpoints
- Keep a similar order of application of updates, in some cases there will be no visible change
- Update task path for Sends to contain the path of all the parent tasks (multiple parents when a Send task creates another Send)
- That lineage path is used to ensure order of application of updates respects their logical lineage (ie updates from parents always applied before their child tasks)
- Move Interrupt writes to use negative indexes, which allow replacing/shadowing (when task is re-run it may interrupt again, or succeed)
- Runner will now attempt to schedule new Send tasks as soon as the write is received (ie while the originating node is still running)
- Update kafka scheduler to support new Send behavior
2024-11-11 14:01:16 -08:00
Nuno Campos
75c502cd93
Lint
2024-11-11 13:59:18 -08:00
Nuno Campos
0cc45f7a35
Lint
2024-11-11 13:04:23 -08:00
Nuno Campos
efb1dd6a10
lib: Rename Control to GraphCommand
2024-11-11 13:01:04 -08:00
Nuno Campos
c0513076a2
Lint
2024-11-11 11:07:36 -08:00
Nuno Campos
c043f148a6
lib: update_state(values=None) should clear all tasks
2024-11-11 10:48:34 -08:00
Tat Dat Duong
72239d2228
Bump to 0.0.23, use @langchain/scripts 0.1.4
2024-11-11 15:01:12 +01:00
Tat Dat Duong
a3c45141ee
Make sure we actually build the CJS
2024-11-08 20:52:44 +01:00
Tat Dat Duong
f7b899a54d
fix(sdk-js): move to @langchain/scripts for building
2024-11-08 20:08:38 +01:00
David Duong and GitHub
c2d2e44794
Merge pull request #2372 from langchain-ai/dqbd/0.0.22-sdk-js
...
feat(sdk-js): bump to 0.0.22
2024-11-08 16:17:45 +01:00
Eugene Yurtsev and GitHub
f60b9f3b43
cli: add --version option ( #2373 )
...
- add version option
- add unit test
2024-11-08 02:49:30 +00:00
Tat Dat Duong
e3acfa3435
feat(sdk-js): bump to 0.0.22
2024-11-08 03:19:27 +01:00