Commit Graph
86 Commits
Author SHA1 Message Date
Nuno Campos 515a512f7e Expose additional kwargs 2024-02-24 19:56:00 -08:00
Nuno Campos 28aee50a9f Lint 2024-02-24 19:52:43 -08:00
Nuno Campos 60097c5f1d Remove class 2024-02-24 19:47:06 -08:00
Nuno Campos 27cf03a444 Lint 2024-02-24 19:46:29 -08:00
Nuno Campos 5c2afc9418 Fix behaviour of interrupt_before
- checkpoints are now copied before being mutated
- compiled graph and compiled state graph no longer need to override get_state/update_state
- pregel class now natively supports interrupt before/after
2024-02-24 19:43:30 -08:00
Nuno Campos 82c704e57e Lint 2024-02-24 17:00:45 -08:00
Nuno CamposandNuno Campos 38cd934f38 Lint 2024-02-24 16:58:18 -08:00
Nuno CamposandNuno Campos fdb273b0f4 Add get_state() and update_state() methods to get and update checkpoint in between runs 2024-02-24 16:58:18 -08:00
Nuno Campos d90478b50c Remove unnecessary runs from StateGraph/MessageGraph run tree 2024-02-24 16:53:09 -08:00
Nuno Campos debd9a8d9c Add support for conditional entry points in Graph, StateGraph, MessageGraph 2024-02-22 15:19:03 -08:00
Nuno Campos 69c570f3d0 Remove print 2024-02-20 08:55:57 -08:00
Nuno Campos b27531e962 Lint 2024-02-19 13:19:49 -08:00
Nuno Campos 4f1980df7c Add missing input and output types for state graph 2024-02-19 13:14:24 -08:00
Nuno Campos 27464c0f46 Implement input_schema, output_schema, get_graph for Graph, StateGraph, MessageGraph 2024-02-19 13:07:34 -08:00
Nuno CamposandGitHub 50b1a455bd Merge pull request #41 from langchain-ai/nc/fan-out
StateGraph/MessageGraph: Add support for multiple incoming edges
2024-02-19 13:06:14 -08:00
Nuno CamposandGitHub 5358d0ab49 Merge pull request #109 from MidasKylix/tool_call
Add prebuilt "tool calling executor"
2024-02-19 09:22:25 -08:00
Nuno Campos e4bfa8603d Support multiple tool calls, Lint 2024-02-19 09:12:08 -08:00
Eugene Yurtsev c0e075c081 x 2024-02-16 11:54:57 -05:00
midas8181919 41ff4c8c43 fix some errors 2024-02-13 15:41:27 +00:00
Nuno Campos 0cc6ce3b50 Lint 2024-02-12 10:01:24 -08:00
midas8181919 88d4140174 Merge branch 'main' into tool_call 2024-02-10 23:25:32 +00:00
midas8181919 38ef3d5218 replace function_call with tool_call 2024-02-10 23:10:32 +00:00
Nuno Campos 29edaaead8 Warn if graph is mutated after being compiled 2024-02-10 13:39:46 -08:00
Nuno Campos 2535795f93 Comment 2024-02-10 13:17:26 -08:00
Nuno Campos 692d1ebe02 WIP 2024-02-10 12:02:50 -08:00
Nuno Campos 979b735256 Allow fan-in in stategraph 2024-02-10 12:01:52 -08:00
Nuno Campos f1523f3e8d Add interrupt_after arg to .compile() 2024-02-10 11:39:38 -08:00
Nuno CamposandGitHub 27207e7105 Merge pull request #92 from langchain-ai/nc/7feb/hintl
Add human in the loop notebook
2024-02-08 08:44:58 -08:00
Harrison ChaseandGitHub eb0bea2639 Merge pull request #88 from ldorigo/patch-1
Fix typing for _dict_getter
2024-02-07 22:09:02 -08:00
Nuno Campos 37bad4e30a Add human in the loop notebook 2024-02-07 20:05:05 -08:00
Nuno Campos 387eb0cedd Lint 2024-02-07 19:50:28 -08:00
Nuno Campos b0f0d6f3f7 Fix errors being swallowed 2024-02-07 19:49:35 -08:00
Nuno Campos f2ad930cd4 Add AsyncSqliteSaver 2024-02-07 19:31:24 -08:00
Luca DorigoandGitHub e4a1bf2376 Fix typing for _dict_getter 2024-02-07 13:15:31 +01:00
Nuno Campos afa9592f6a Only execute tasks leftover from previous checkpoint when resuming with no new input 2024-02-04 14:12:10 -08:00
Harrison Chase 944263285b persistence 2024-02-04 12:35:45 -08:00
Nuno Campos 083178d2a6 Add SqliteSaver 2024-02-01 18:12:52 -08:00
Nuno Campos f9c893c739 Remove double channelwrite
- this removes one unnamed run from langsmith trace for each node, and ensures that output is streamed from each node to folks listening to that w stream_events
2024-01-31 10:04:41 -08:00
Harrison ChaseandGitHub 28b1587ffd Merge pull request #62 from langchain-ai/bagatur/optional_conditional_edge_mapping
patch: make conditional_edge_mapping optional
2024-01-30 17:21:38 -08:00
Bagatur aed2844c20 fmt 2024-01-27 13:38:40 -08:00
Bagatur 21bcf33bc2 fix 2024-01-27 13:08:41 -08:00
Bagatur 40e4b10689 fmt 2024-01-26 18:47:54 -08:00
Bagatur d99debe61c Merge branch 'main' into bagatur/optional_conditional_edge_mapping 2024-01-26 18:40:53 -08:00
Nuno Campos 6f49703701 On stream interrupt cleanup any (potentially) pending tasks 2024-01-26 18:37:31 -08:00
Bagatur 936b2637ce fmt 2024-01-23 16:38:11 -08:00
Bagatur 333ad65cac patch: make conditional_edge_mapping optional 2024-01-23 13:29:23 -08:00
Bagatur d5dc5239c1 patch: Clarify node<>channel name collision error 2024-01-23 12:04:36 -08:00
Bagatur 18b2519356 patch: add config to ToolExecutor._execute 2024-01-23 11:33:19 -08:00
Nuno Campos 5967c94367 Add clearer error message on invalid state updates 2024-01-23 09:11:14 -08:00
Nuno Campos 60482b7adb export message graph 2024-01-21 09:07:24 -08:00