Nuno Campos
3979bdb792
Type as self
2024-08-26 13:14:11 -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
Nuno Campos
a8d860273b
Skip runtime value replacement when not needed
2024-08-23 18:14:59 -07:00
Nuno Campos
3ac4cdf3d4
Fix pydantic model deserialization
2024-08-23 18:14:40 -07:00
Nuno Campos
3a524e0e56
Fix attributeerror
2024-08-23 17:55:14 -07:00
dependabot[bot] and GitHub
610257665f
Bump micromatch from 4.0.7 to 4.0.8 in /libs/sdk-js
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 20:36:31 +00:00
Nuno Campos
bc482431c3
lib0.2.13
2024-08-23 13:35:21 -07:00
Nuno Campos
e8c553c41e
Lint
2024-08-23 13:12:46 -07:00
Nuno Campos
beafddf7c8
Lint
2024-08-23 13:09:28 -07:00
1e6da19257
Update libs/langgraph/langgraph/managed/context.py
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-08-23 13:08:56 -07:00
Nuno Campos
e0898409b9
Lint
2024-08-23 12:57:31 -07:00
Nuno Campos
bc86757e73
lib: Context values never stored in checkpoints
...
- Convert Context to a ManagedValue
- Add shim for old Context constructor
- Add `runtime` flag for managed values, which, prior to serialization, replaces the value with a placeholder, and replaces it back with the actual value on resuming from checkpoint
2024-08-23 12:46:31 -07:00
David Duong and GitHub
ed7b2c9e8a
Merge pull request #1443 from langchain-ai:dqbd/js-sdk-end-event
...
fix(sdk-js): support sending end events
2024-08-23 16:48:02 +02:00
Nuno Campos
82db383199
Don't try to serialize exceptions
...
- Store their string repr instead
2024-08-22 21:36:27 -07:00
Nuno Campos
6ece7124ed
Fix param name in docstring
2024-08-22 17:21:01 -07:00
Nuno Campos
19b382335f
sdk: Add on_disconnect arg to create/wait streaming run
2024-08-22 17:03:11 -07:00
Tat Dat Duong
c72acc9145
Add missing status
2024-08-23 01:38:53 +02:00
Nuno Campos and GitHub
c30aa1ca13
Merge pull request #1337 from langchain-ai/nc/13aug/sdk-py-join-stream
...
sdk-py: Add Runs.join_stream endpoint
2024-08-22 15:38:23 -07:00
Nuno Campos
15c3105748
cli0.1.51
2024-08-22 15:37:02 -07:00
Tat Dat Duong
0b7f451b40
Bump to 0.0.6
2024-08-23 00:18:28 +02:00
Tat Dat Duong
75dec9b924
fix(sdk-js): support sending end events
2024-08-23 00:18:06 +02:00
Vadym Barda and GitHub
8090ca67c5
checkpoint-postgres: pass row_factory in cursor ( #1433 )
2024-08-22 17:39:21 -04:00
Nuno Campos and GitHub
7074604204
Try to improve async stack traces for exceptions in tasks ( #1442 )
...
* Try to improve async stack traces for exceptions in tasks
* Lint
2024-08-22 21:23:48 +00:00
Nuno Campos
45e3d1a3f1
Test all checkpointers everywhere we test 1 of them
2024-08-22 13:51:38 -07:00
Nuno Campos
3ec419a2f6
lib0.2.12
2024-08-22 12:45:27 -07:00
Nuno Campos
8a00a0026e
checkpoint1.0.4
2024-08-22 12:45:20 -07:00
Nuno Campos and GitHub
7e32de9405
Remove current_tasks from checkpoint interface ( #1440 )
...
* Remove current_tasks from checkpoint interface
- Not used, now clear that it can be supported with put_writes(SCHEDULE)
* Add comment
2024-08-22 19:44:26 +00:00
Nuno Campos
f93512e3b3
Remove unused when values for Interrupt
2024-08-22 12:33:25 -07:00
Nuno Campos and GitHub
a261e1a497
Fix semantics of put_writes/list ( #1436 )
...
* Fix semantics of put_writes/list
- put_writes(error) should not prevent saving future successful if task is retried successfully
- put_writes(writes) should be a no-op if non-error writes already exist for that task (this prevents tasks executed more than once from modifying writes previously saved / acted on)
- checkpoints should not include channel default values (ie those without a version)
- list() should fetch and return writes for each checkpoint
* Lint
* Rm print
* Fix import
* Lint
2024-08-22 19:04:42 +00:00
38daba5259
Better error messages for invalid update in all channel types ( #1437 )
...
* langgraph: support multiple edges for Topic channel annotations
* remove support_multiple_edges
* Better error messages for invalid update in all channel types
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-08-22 18:59:29 +00:00
gbaian10 and GitHub
22f5367af7
langgraph: fix add_node input schema error ( #1332 )
2024-08-22 12:32:21 -04:00
Vadym Barda and GitHub
7ec3c0e827
langgraph: release 0.2.11 ( #1432 )
2024-08-22 11:54:47 -04:00
vbarda
9a306ce931
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 11:47:36 -04:00
Nuno Campos
a545a70afb
lib0.2.10
2024-08-21 16:33:30 -07:00
Nuno Campos and GitHub
4521f9312d
Merge pull request #1420 from langchain-ai/nc/21aug/debug-mode-interrupts-errors
...
Add interrupts and errors to debug stream mode
2024-08-21 16:31:58 -07:00
Nuno Campos
d67419522d
Remove error
2024-08-21 16:27:23 -07:00
Nuno Campos
d85e267a83
Add interrupts and errors to debug stream mode
...
- move remaining output code from Pregel.stream to PregelLoop
2024-08-21 16:23:48 -07:00
Nuno Campos
37848a5361
cli: Add redis container to langgraph up
2024-08-21 14:37:36 -07:00