Nuno Campos
80e442e13d
Stream output from subgraphs
...
- enabled by new argument stream(subgraphs=True)
- the same stream_mode requested for parent graph is applied to all subgraphs
2024-08-29 12:00:02 -07:00
Nuno Campos
9d68aac76f
Enable passing subgraph checkpoint config to get_state/aget_state
2024-08-29 10:47:50 -07:00
Nuno Campos and GitHub
e526674172
Merge pull request #1502 from langchain-ai/nc/27aug/subgraphs-cleanup
...
Nc/27aug/subgraphs cleanup
2024-08-29 10:17:04 -07:00
Nuno Campos
ca8614f873
Implement get_state and get_state_history for nested graphs
2024-08-29 09:45:45 -07:00
gbaian10 and GitHub
cd28799215
fix: ToolNode output isn't a str and contains non-ASCII characters ( #1505 )
2024-08-29 09:57:23 -04:00
Nuno Campos
c4010c03a6
Udpate async tests
2024-08-28 12:50:35 -07:00
Nuno Campos
03f6cf779d
Fix test setup
2024-08-28 12:48:29 -07:00
Nuno Campos
112700810c
Fix
2024-08-28 12:31:43 -07:00
Vadym Barda and GitHub
7d3527db38
cli: release 0.1.52 ( #1516 )
2024-08-28 12:12:46 -04:00
Tat Dat Duong
3bbe09dac4
Fix missing comma
2024-08-28 17:56:26 +02:00
Tat Dat Duong
f4dea9c5f7
feat(cli): add building support for JS
2024-08-28 02:07:21 +02:00
Nuno Campos
a8a2a89602
Fix docstring
2024-08-27 16:59:20 -07:00
Nuno Campos
e338a4ec98
Fix filtering on ns
2024-08-27 16:09:11 -07:00
Nuno Campos
499fe10ef2
Undo addition of Send.id
2024-08-27 13:34:50 -07:00
Isaac Francisco and GitHub
a8758661bc
acesss tool calls directly ( #1495 )
2024-08-27 14:47:20 -04:00
Nuno Campos
8d23929288
Remove print
2024-08-27 11:18:53 -07:00
Nuno Campos
9b6100bc4f
Avoid storing Sends twice in memory and postgres checkpointers
...
- Sends are stored through put_writes, so we don't need to also store them inside checkpoint object
- On reading checkpoint, reconstruct pending_sends from the stored writes
2024-08-27 11:10:18 -07:00
Nuno Campos
7fcc0da4e3
Reformat
2024-08-27 11:00:25 -07:00
Nuno Campos
d7eff6ab85
Remove abc
2024-08-27 10:52:26 -07:00
Nuno Campos
330c91f622
Update ruff
2024-08-27 10:50:39 -07:00
Nuno Campos
8c2fefcb28
sdk-py: Add values to Thread schema
2024-08-27 08:42:55 -07:00
Vadym Barda and GitHub
c88d289a73
checkpoint-postgres: release 1.0.4 ( #1493 )
2024-08-27 11:34:26 -04:00
Vadym Barda and GitHub
d12f5c6d8b
checkpoint-postgres: allow passing pool ( #1452 )
...
* checkpoint-postgres: allow passing pool
* make psycopg_pool a non-dev dependency
* code review
* lockfile
* move methods
* relax requirements, remove binary
* add binary to dev dependencies
* update readme
2024-08-27 15:30:13 +00:00
Nuno Campos
f2ec99b9a8
lib: For all value channels the return value of checkpoint() and get() are the same
2024-08-27 08:10:26 -07:00
Vadym Barda and GitHub
54b53f384d
sdk-js: release 0.0.8 ( #1490 )
2024-08-27 09:11:57 -04:00
Nuno Campos and GitHub
65784d8174
Merge pull request #1108 from langchain-ai/vb/update-get-state
...
langgraph: update get_state to handle nested subgraph state
2024-08-26 17:58:41 -07:00
vbarda
507930e5b7
lint
2024-08-26 19:29:05 -04:00
vbarda
85e698e20b
filter on checkpoint NS
2024-08-26 19:26:35 -04:00
vbarda
bf4dc5d5f6
Merge branch 'main' into vb/update-get-state
2024-08-26 19:17:26 -04:00
Nuno Campos and GitHub
ce0fad8ddb
Merge pull request #1484 from langchain-ai/vb/add-checkpoint-id-js-sdk
...
sdk-js: add checkpoint_id arg to runs create/stream/wait payload
2024-08-26 15:36:03 -07:00
Nuno Campos
1315c0d743
sdk-py0.1.29
2024-08-26 15:27:53 -07:00
vbarda
ada751d19b
better comment
2024-08-26 18:25:43 -04:00
vbarda
f310716921
sdk-js: add checkpoint_id arg to runs create/stream/wait payload
2024-08-26 17:16:06 -04:00
Nuno Campos and GitHub
568044171b
Merge pull request #1479 from langchain-ai/nc/26aug/with-config
...
Override with_config to store config in Pregel instance
2024-08-26 13:22:30 -07:00
Nuno Campos
1d0f3577a7
Catch any type error when reviving saved values
2024-08-26 13:17:19 -07:00
Nuno Campos
3979bdb792
Type as self
2024-08-26 13:14:11 -07:00
Nuno Campos and GitHub
d8d663ccd5
Merge pull request #1371 from langchain-ai/wfh/set_entry
...
Use START
2024-08-26 12:01:51 -07:00
Nuno Campos
25a72e77ef
Override with_config to store config in Pregel instance
...
- This enables eg customizing callbacks/metadata in langgraph cloud deployments
2024-08-26 11:57:57 -07:00
Alexander Kovrigin and GitHub
da806c466d
Allow passing ToolNode as tools in create_react_agent ( #1451 )
2024-08-26 13:47:50 -04:00
Vadym Barda and GitHub
49c316578b
langgraph: allow END end key in add_edge with list inputs ( #1478 )
2024-08-26 12:51:18 -04:00
Nuno Campos and GitHub
ef17e0351a
Merge pull request #1457 from langchain-ai/dependabot/npm_and_yarn/libs/sdk-js/micromatch-4.0.8
...
Bump micromatch from 4.0.7 to 4.0.8 in /libs/sdk-js
2024-08-26 08:25:46 -07:00
Nuno Campos
03785c7d83
sdk: Add on_completion param
2024-08-24 21:34:35 -07:00
Tat Dat Duong
4b48e71d2c
Bump to 0.0.7
2024-08-24 19:24:39 +02:00
Tat Dat Duong
b7744aff9b
feat(sdk-js): add apiKey property
2024-08-24 19:24:13 +02:00
Nuno Campos
4a4dd16535
checkpoint 1.0.6
2024-08-23 18:25:56 -07:00
Nuno Campos
ef790a57c6
Lint
2024-08-23 18:17:51 -07:00
Nuno Campos
c49692d794
checkpoint 1.0.5
2024-08-23 18:15:48 -07:00
Nuno Campos
3cda14b069
lib 0.2.14
2024-08-23 18:15:31 -07:00
Nuno Campos
66a13b8865
Add test for runtime value replacement with pydantic model
2024-08-23 18:15:15 -07:00
Nuno Campos
58e139e7fd
Lint
2024-08-23 18:15:04 -07:00