William FH and GitHub
e9162e2516
Update CLI pyproject.toml ( #2428 )
cli==0.1.54
2024-11-15 11:00:32 -08:00
Vadym Barda and GitHub
0f6c001c25
docs: update replay in persistence concepts ( #2427 )
2024-11-15 18:49:20 +00:00
Eugene Yurtsev and GitHub
7f26325c87
cli: minor wording change in new command ( #2422 )
2024-11-15 03:13:53 +00:00
Nuno Campos and GitHub
3c4ce3f945
Merge pull request #2420 from langchain-ai/nc/14nov/js-sdk-command
...
Nc/14nov/js sdk command
2024-11-14 18:21:38 -08: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
Vadym Barda and GitHub
dc0281b99c
docs: update rollback in double-texting concepts ( #2412 )
2024-11-13 21:21:12 -05:00
Nuno Campos
3a860ad537
0.2.48
0.2.48
2024-11-13 17:45:04 -08:00
Nuno Campos
7051bccc30
checkpoint 2.0.4
checkpoint==2.0.4
2024-11-13 17:37:01 -08:00
Nuno Campos
199e41b228
sdk py 0.1.36
sdk==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
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 and GitHub
29f833b1a7
Merge pull request #2393 from langchain-ai/nc/11nov/command-resume
...
lib: Add interrupt() function
2024-11-13 13:34:19 -08:00
Nuno Campos and GitHub
7a3ea42743
Merge pull request #2410 from langchain-ai/nc/13nov/command-dataclass
...
Nc/13nov/command dataclass
2024-11-13 13:28:13 -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
Nuno Campos and GitHub
1d88affd29
Merge pull request #2400 from langchain-ai/nc/12nov/command
...
Make Command accept generic arg for destinations
2024-11-13 10:03:27 -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 )
checkpoint==2.0.3
0.2.46
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 and GitHub
a73f9affab
Merge pull request #2391 from langchain-ai/nc/11nov/control-to-command
...
lib: Rename Control to GraphCommand
2024-11-11 14:06:17 -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 and GitHub
6edb213fe7
Merge pull request #2388 from langchain-ai/nc/11nov/update-none-clear-all-tasks
...
lib: update_state(values=None) should clear all tasks
2024-11-11 12:07:51 -08:00