vbarda
c4b240e0c2
langgraph: add debug to AsyncPregelLoop
2024-11-14 09:36:33 -05:00
vbarda
c2052d11c2
checkpoint-postgres: remove pipeline flag in cursor
2024-11-13 21:42:51 -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
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
David Duong and GitHub
366b5e04c7
Merge pull request #2376 from langchain-ai/dqbd/js-0.0.23-lc_build
...
fix(sdk-js): move to `@langchain/scripts` for building, bump to 0.0.23
2024-11-11 15:33:53 +01:00
Tat Dat Duong
72239d2228
Bump to 0.0.23, use @langchain/scripts 0.1.4
2024-11-11 15:01:12 +01:00
Vadym Barda and GitHub
b7f238975a
docs: fix nav sidebar ( #2382 )
2024-11-10 16:32:14 -05: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