Commit Graph
3338 Commits
Author SHA1 Message Date
William Fu-Hinthorn 4aa28fb55f Merge 2024-09-06 13:46:16 -07:00
William Fu-Hinthorn 822bdea146 update ye ol' snapshots 2024-09-06 13:40:45 -07:00
vbarda 6fd6ef43f6 lint 2024-09-06 16:28:05 -04:00
vbarda 7f3c6e3d2f Merge branch 'main' into vb/add-sync-client 2024-09-06 16:24:28 -04:00
Vadym BardaandGitHub b4fe54623d sdk-js: add missing methods (#1640) 2024-09-06 16:23:47 -04:00
vbarda 7233b06c2b update sync 2024-09-06 16:23:17 -04:00
William Fu-Hinthorn cc55adac46 icanspell 2024-09-06 12:50:53 -07:00
William Fu-Hinthorn 1832ed46ef Assert input/output channels aren't managed 2024-09-06 12:46:12 -07:00
vbarda a73484d336 rename back 2024-09-06 15:33:29 -04:00
William Fu-Hinthorn e86330ab05 Exclude shared 2024-09-06 12:28:33 -07:00
vbarda a52f397db8 Merge branch 'main' into vb/add-sync-client 2024-09-06 15:28:24 -04:00
William Fu-Hinthorn 093dab1035 Update test 2024-09-06 12:09:37 -07:00
William Fu-Hinthorn fd36ed794c Merge branch 'main' into wfh/output_schema 2024-09-06 12:04:16 -07:00
William FHandGitHub ec4e92792d Optional types for dataclass state defs (#1557) 2024-09-06 11:50:45 -07:00
William Fu-Hinthorn 587335bfe6 Support optional output schema 2024-09-06 11:29:43 -07:00
Nuno Campos a9ccd0fd79 langgraph 0.2.19 2024-09-06 09:29:24 -07:00
Nuno Campos 61ca2444c0 Fix timing of debug task events 2024-09-06 09:17:36 -07:00
28581e047a Support pydantic & dataclasses in ToolNode (#1625)
Co-authored-by: Abinash Panda <abinashpanda205@gmail.com>
2024-09-06 07:39:49 -07:00
Nuno Campos fb9f67c158 Fix copy 2024-09-05 17:19:42 -07:00
Nuno Campos f13dd00b62 Fix import 2024-09-05 17:04:56 -07:00
Nuno Campos b229c08027 langgraph 0.2.18 2024-09-05 17:02:07 -07:00
Nuno Campos 7cbad36956 Add back Pregel.copy() 2024-09-05 17:01:20 -07:00
Vadym BardaandGitHub 46b6cd45e2 checkpoint: release 1.0.9 (#1628) 2024-09-05 17:24:18 -04:00
Vadym BardaandGitHub 8c05502e97 langgraph: update mermaid snapshots (#1627) 2024-09-05 17:11:05 -04:00
Nuno Campos 72e73e47c9 langgraph 0.2.17 2024-09-05 12:37:17 -07:00
Vadym BardaandGitHub 7bf99a5d2f langgraph: changes for compatibility pydantic v2 / langchain-core==0.3 (#1594) 2024-09-05 15:26:35 -04:00
Nuno Campos 4f89cfc81d Remove legacy id 2024-09-05 09:21:07 -07:00
Nuno Campos ca3715b809 Split out prepare_single_task from prepare_next_tasks 2024-09-04 18:09:42 -07:00
Nuno CamposandGitHub 6727277f8f Merge pull request #1610 from langchain-ai/an/04sept/metadata-interrupts
Return `before,after` for `__interrupt` metadata if both interrupts are configured for a node
2024-09-04 17:29:07 -07:00
Andrew Nguonly d89fb9eef0 Add before and after values to __interrupt metadata. 2024-09-04 15:36:05 -07:00
Nuno Campos f66493f6db Lint 2024-09-04 14:37:31 -07:00
Nuno Campos eb88dfefa3 Speed improvements to local_read, emit output 2024-09-04 14:31:42 -07:00
Nuno Campos b8d8a879d8 Fix ids in debug task events 2024-09-04 14:31:20 -07:00
Nuno Campos dc10b3aa8e Add test to confirm only one root run is produced 2024-09-04 12:56:32 -07:00
Nuno Campos 3a1b90c882 Fix 2024-09-04 12:34:42 -07:00
Nuno Campos b9361d69b4 Try to fix test 2024-09-04 12:30:27 -07:00
Nuno Campos 26b4d9139e Avoid using json encoding when generating task ids 2024-09-04 12:19:14 -07:00
Nuno Campos 67a164ca2d Run loop tick in bg thread
- prepare_next_tasks, apply_writes do some cpu-heavy work
2024-09-04 12:18:42 -07:00
Nuno Campos b68f9211c2 Run branch.reader in bg thread 2024-09-04 12:13:38 -07:00
Nuno Campos 4efab93e2f Use pseudo rng for uuid6 generation 2024-09-04 12:07:19 -07:00
Nuno Campos cf345ef716 Store loop in async bg exec init 2024-09-04 12:07:02 -07:00
Nuno Campos 535dbd5b06 Reduce from 9s to 4s on benchmark graph
- Use a simpler version of RunnableSequence without tracing serialization
- Remove accepts_run_manager check in RunnableCallable
- Remove creation of ChannelWrite dynamically every time conditional edge runs
2024-09-04 11:02:33 -07:00
Nuno Campos f2e0dc1042 Reduce cpu time spent on langchain-core utilities
- shaves off 2s of 11s runtime of a simple graph with 1,000 subgraphs
2024-09-04 11:02:33 -07:00
Nuno Campos e42e1a9f6b Fix test 2024-09-04 10:56:41 -07:00
Nuno Campos 0d51c8614d Move runner code to standalone class, use in Pregel.stream/astream 2024-09-04 10:50:46 -07:00
Nuno Campos b99a101b2c Add large parallel graph test 2024-09-04 10:50:05 -07:00
Nuno Campos e150193491 Avoid deepcopy 2024-09-04 10:50:05 -07:00
isaac hershenson ec51760f57 x 2024-09-03 13:45:22 -07:00
Isaac FranciscoandGitHub 32d07df7a4 Merge branch 'main' into isaac/nodelogging 2024-09-03 13:39:05 -07:00
Isaac FranciscoandGitHub 1ae60dccc5 test (#1592) 2024-09-03 10:12:36 -07:00