Eugene Yurtsev
291379dfb9
x
2024-12-04 22:32:11 -05:00
Eugene Yurtsev
de123d66a5
Merge branch 'main' into eugene/document_interrupt
2024-12-04 21:30:55 -05:00
Nuno Campos and GitHub
759a712f57
Merge pull request #2502 from langchain-ai/vb/fix-annotation
...
langgraph: fix issue w/ type annotations in tools_condition
2024-12-04 20:47:21 -05:00
Nuno Campos
8ef82f3578
Update
2024-12-04 17:40:27 -08:00
Nuno Campos
63ea71548b
sdk-py 0.1.43
2024-12-04 17:27:24 -08:00
Nuno Campos
d1aaa9de8c
sdk-py: Handle stream(params=)
2024-12-04 17:25:51 -08:00
Nuno Campos
f40a2d71ec
lib 0.2.56
2024-12-04 17:15:17 -08:00
Nuno Campos and GitHub
b5a9e9da55
Merge pull request #2635 from langchain-ai/vb/add-graph-command-docs
...
docs: add Command docs
2024-12-04 20:14:35 -05:00
vbarda
1eeb90ae0d
cr
2024-12-04 19:41:21 -05:00
7651f1ab1c
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:17:22 -05:00
1a492f727c
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:16:33 -05:00
6caaa8cea7
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:16:26 -05:00
Vadym Barda and GitHub
f028984b2e
langgraph: remove print ( #2640 )
2024-12-04 19:07:50 -05:00
vbarda
257e44ccb4
update
2024-12-04 18:54:57 -05:00
Nuno Campos
7a326ef768
lib 0.2.55
2024-12-04 15:44:24 -08:00
vbarda
797b919cf9
Merge branch 'main' into vb/add-graph-command-docs
2024-12-04 18:37:20 -05:00
Nuno Campos
771b9b28cd
Speed up tests
2024-12-04 15:29:51 -08:00
Nuno Campos
df70e91dae
Lint
2024-12-04 15:13:55 -08:00
Nuno Campos
b4b3ac6f57
lib: Merge GraphCommand and Command
...
- Now we have only Command
- Command(goto=) combines the previous functionality of Command(send=) and Command(goto=)
2024-12-04 15:12:03 -08:00
Nuno Campos
5c7a6689af
Update tests
2024-12-04 14:41:30 -08:00
Nuno Campos
fb01d65dc0
Lint
2024-12-04 14:31:22 -08:00
Eugene Yurtsev
eb09909c22
x
2024-12-04 17:21:31 -05:00
Nuno Campos
ea5ccd7a80
lib: Add support for multiple interrupts per node
...
- Includes support for interrupt loops
2024-12-04 14:15:30 -08:00
vbarda
0fdf3c9daf
cr
2024-12-04 16:47:51 -05:00
vbarda
90eab07ded
docs: add Command/GraphCommand docs
2024-12-04 15:46:40 -05:00
William FH and GitHub
e5e659c590
Add langgraph.json snippet to concept doc ( #2630 )
2024-12-04 17:11:13 +00:00
Nuno Campos and GitHub
9ab5fbc0f8
Merge pull request #2627 from langchain-ai/nc/4dec/state-ensure-config
...
lib: Call ensure_config in state crud methods
2024-12-04 11:53:03 -05:00
William FH and GitHub
830557d6b7
Clarify behavior in docstring ( #2628 )
2024-12-04 16:38:09 +00:00
Nuno Campos
e5b00cdd1e
Fix
2024-12-04 08:30:10 -08:00
Nuno Campos
8eea7ac401
lib: Call ensure_config in state crud methods
...
- this ensures that config from context vars is merged in
2024-12-04 08:15:01 -08:00
William FH and GitHub
c322f7ffa6
Add Memory Store conceptual doc section ( #2624 )
...
On semantic search
2024-12-04 15:19:49 +00:00
William FH and GitHub
e6c83abecd
Fix ref doc formatting ( #2623 )
2024-12-04 06:55:15 -08:00
湛露先生 and GitHub
84d33f9621
Fix typos in langgraph_sdk client. ( #2621 )
...
Fix typos in langgraph_sdk client.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2024-12-04 06:29:28 -08:00
William FH and GitHub
879df6b52c
[JS] Update SDK version ( #2619 )
2024-12-03 23:01:19 -08:00
Phoenix Logan and GitHub
aca67107c1
fix: make database saver classes inheritance-friendly ( #2615 )
...
Replace hardcoded database saver class names with `cls` in
`from_conn_string` factory methods to improve subclassing support
## Changes
* Replaced direct class instantiations with `cls(conn)` in
`from_conn_string` classmethods across all database implementations
* Updated both synchronous and asynchronous variants for DuckDB,
PostgreSQL, and SQLite savers
## Why
This refactor makes the database saver classes more extensible by
following Python's convention of using `cls` in class methods. This
enables proper inheritance patterns where subclasses can reuse the
factory methods without needing to override them. Previously, the
hardcoded class names would always instantiate the parent class, even
when called from a subclass.
## Testing
The change is backward compatible and doesn't alter existing
functionality. All existing tests should continue to pass as this is
purely a structural refactoring that preserves the current behavior
while improving extensibility.
## Notes
This PR addresses follow up on comments from #2518 - AsyncPostgresSaver
didn't need to be fixed but many of the other DB saver classes did.
2024-12-03 20:26:06 -08:00
William FH and GitHub
5fa196ab38
Update docstrings for store classes ( #2616 )
2024-12-03 19:51:25 -08:00
Nuno Campos
1bee33db3a
Fix
2024-12-03 15:52:41 -08:00
Nuno Campos
a203ddecf7
Handle Command returned from node (in addition to GraphCommand)
2024-12-03 15:48:59 -08:00
Vadym Barda and GitHub
5e3c326424
langgraph: bump sdk, release 0.2.54 ( #2613 )
2024-12-03 16:38:59 -05:00
Vadym Barda and GitHub
7a80d6cb87
sdk-py: release 0.1.42 ( #2612 )
2024-12-03 16:34:08 -05:00
Nuno Campos and GitHub
75cccc4fc4
Merge pull request #2589 from stneng/main
...
fix: get correct reducer when type has multiple metadata.
2024-12-03 16:23:33 -05:00
Nuno Campos and GitHub
dd010e9230
Merge pull request #2593 from langchain-ai/nc/2dec/sdk-sse
...
sdk-py: Fix SSE parsing to split lines only \n \r , remove httpx-sse, fix missing decoder flush
2024-12-03 16:23:11 -05:00
vbarda
515242d0ba
langgraph: allow passing kwargs to SDK methods in RemoteGraph's invoke/stream
2024-12-03 15:40:18 -05:00
Nuno Campos
3bf92d0b03
Fix
2024-12-03 11:04:28 -08:00
William FH and GitHub
36b6cd1493
fix: Handle empty store similarity (numpy) ( #2602 )
2024-12-02 18:20:19 -08:00
William FH and GitHub
0361554fcf
Bump Checkpoint Postgres ( #2601 )
2024-12-02 17:56:23 -08:00
4332a9515d
Fixup initial provisioning of aio postgres db ( #2571 ) ( #2600 )
...
fixes #2570
---------
Co-authored-by: Tai Groot <tai@taigrr.com >
2024-12-03 01:55:26 +00:00
Nuno Campos and GitHub
64b99c187a
Merge pull request #2544 from langchain-ai/brace/type-interrupts-py
...
fix(sdk-py): Add typing for interrupts
2024-12-02 20:52:19 -05:00
Nuno Campos and GitHub
afa37d2059
Merge pull request #2552 from langchain-ai/vb/remove-assertion
...
langgraph: relax graph validation to handle nodes without return typehints
2024-12-02 20:51:50 -05:00
Nuno Campos and GitHub
b80933c5fb
Merge branch 'main' into main
2024-12-02 20:50:44 -05:00