Vadym Barda and GitHub
39d9cdbef0
checkpoint-postgres: release 2.0.2 ( #2183 )
2024-10-24 17:06:36 -04:00
Vadym Barda and GitHub
6dacd1aabe
langgraph: always raise NodeInterrupt in ToolNode if raised from a tool ( #2175 )
2024-10-24 18:21:18 +00:00
Vadym Barda and GitHub
91ad8b803b
checkpoint-duckdb: release 2.0.1 ( #2180 )
2024-10-24 13:58:48 -04:00
Vadym Barda and GitHub
a0e99f704f
checkpoint: release 2.0.2 ( #2179 )
2024-10-24 13:52:02 -04:00
Vadym Barda and GitHub
def3e06b4a
move py.typed to submodules for namespace packages ( #2177 )
2024-10-24 13:43:43 -04:00
Tat Dat Duong
cf1c7f3673
feat(sdk): bump SDK to js@0.0.18 and py@0.1.34
2024-10-24 18:51:56 +02:00
Tat Dat Duong
5c44dcef81
fix(sdk): add error thread state
2024-10-24 18:16:21 +02:00
Nuno Campos
7fd6b1b4be
Fix
2024-10-24 08:48:46 -07:00
Nuno Campos and GitHub
83238f51d8
Merge pull request #2166 from langchain-ai/nc/23oct/remote-graph-interop
...
Interop of RemoteGraph w core lib
2024-10-23 20:36:38 -07:00
Nuno Campos
05f008cbfb
Lint
2024-10-23 20:30:32 -07:00
Nuno Campos
a8ae2a52a3
Lint
2024-10-23 20:27:18 -07:00
Nuno Campos
aa245a8e71
Fix up
2024-10-23 20:22:04 -07:00
bdc75a22d5
langgraph: expand handle_tool_errors in ToolNode ( #1667 )
...
This change expands error-handling functionality of the `ToolNode` by
introducing more options for `handle_tool_errors`. Default behavior of
the `ToolNode` is unchanged -- all errors are handled and wrapped in a
`ToolMessage` to be sent back to LLM.
With this change, users have flexibility to only handle the exceptions
that they need to pass back to the LLM:
* they can specify exceptions to handle by passing a tuple of exceptions
in `handle_tool_errors`
* specify `handle_tool_errors=True/str/callable`
* when `handle_tool_errors` is a callable, the signature will be
inspected and exceptions from the signature will be handled
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-10-24 00:58:05 +00:00
Nuno Campos
69227daff3
Lint
2024-10-23 17:01:58 -07:00
Nuno Campos
dc8260bb72
Interop of RemoteGraph w core lib
2024-10-23 15:37:17 -07:00
Vadym Barda and GitHub
62a5ec509d
checkpoint: add DuckDB store ( #2154 )
2024-10-23 22:20:10 +00:00
Vadym Barda and GitHub
d32386f849
checkpoint: add DuckDB checkpointer ( #2145 )
2024-10-23 21:11:03 +00:00
Nuno Campos and GitHub
08a1ed38f1
Merge pull request #2092 from langchain-ai/an/11oct/remote-graph-interrupt
...
Update `stream()` and `astream()` methods in `RemoteGraph` to process `updates` event types
2024-10-23 13:48:43 -07:00
Nuno Campos
037a95ff60
Update tests
2024-10-23 13:43:48 -07:00
Nuno Campos
e294720ec5
Lint
2024-10-23 13:29:59 -07:00
Nuno Campos
f8a0b7a464
Use if_not_exists
2024-10-23 13:24:19 -07:00
Nuno Campos
1121806ba4
Add if_not_exists
2024-10-23 13:23:49 -07:00
Nuno Campos
dca200d6c4
Finish
2024-10-23 13:23:42 -07:00
Vadym Barda and GitHub
916affa1b5
langgraph: add 'messages_key' param to ToolNode / tools_condition ( #2049 )
2024-10-22 17:32:05 -04:00
Nuno Campos
58cf0c6a6e
chore: Switch s3 client utils from httpx client to curl client
2024-10-22 10:46:37 -07:00
gbaian10 and GitHub
0042889c31
Support read type hints from the method in add_node ( #2014 )
...
Add function to read type hints from the `__call__` method to resolve issue #1950 .
2024-10-22 17:11:59 +00:00
Nuno Campos and GitHub
0d81ad92f0
Merge pull request #2143 from langchain-ai/nc/19oct/async-max-concurrency
...
lib: Add max_concurrency for async executions
2024-10-19 15:16:15 -07:00
Nuno Campos
7d3f2ca3ed
Lint
2024-10-19 15:11:18 -07:00
Nuno Campos
42648c88dd
lib: Add max_concurrency for async executions
2024-10-19 12:45:01 -07:00
Vadym Barda and GitHub
1aab758634
langgraph: release 0.2.39 ( #2139 )
2024-10-18 14:47:50 -04:00
b647dcb0f2
feat: Add LangGraph error pages ( #2136 )
...
Co-authored-by: Erick Friis <erick@langchain.dev >
Co-authored-by: vbarda <vadym@langchain.dev >
2024-10-18 18:20:22 +00:00
Nuno Campos
74a17a6d4c
Update tests
2024-10-17 15:52:17 -07:00
Nuno Campos
e2a3698250
For stream_mode=messages skip any nodes/llms with tag nostream
2024-10-17 15:28:14 -07:00
Tat Dat Duong
048ae6c17b
feat(sdk-js): bump to 0.0.17
2024-10-16 15:19:39 +02:00
Nuno Campos
515c4ffebe
Fix
2024-10-15 16:11:08 -07:00
Nuno Campos
eefe057a47
fix: Avoid errors from executor modifying tasks dict during exit routine
...
- This could happen if a task happened to finish while the exit routine is running
2024-10-15 15:13:46 -07:00
Nuno Campos
f6fb2ef5ca
langgraph 0.2.38
2024-10-15 11:04:22 -07:00
Nuno Campos
649b742e0a
Update types for RemainingSteps, return IsLastStep to previous definition
2024-10-15 08:35:31 -07:00
vbarda
d14f98f01b
langgraph: fix type for RemainingSteps
2024-10-15 09:07:00 -04:00
Nuno Campos
c0b56bf60d
langgraph 0.2.37
2024-10-14 17:29:11 -07:00
Nuno Campos
d48faecd42
Fix
2024-10-14 17:16:32 -07:00
Nuno Campos
5e175e098b
Update kafka
2024-10-14 17:10:10 -07:00
Nuno Campos
bcf335651e
Fix is_last_step
2024-10-14 17:05:16 -07:00
Nuno Campos
965849823a
Fix
2024-10-14 17:03:53 -07:00
Nuno Campos
45e7101457
Backwards compat
2024-10-14 16:57:25 -07:00
Nuno Campos
ecd75a8c4d
Fix IsLastStep counter for runs with checkpointers
...
- Share step/stop logic with PregelLoop
- Add RemainingSteps value which contains the number of remaining steps
- Switch create_react_agent to use RemainingSteps, so that it behave correctly for return_direct tools
2024-10-14 16:54:16 -07:00
Nuno Campos
ff310cc8d6
One more
2024-10-14 15:45:12 -07:00
Nuno Campos
233bd78ee4
Add checkpoint_map to parent_config
2024-10-14 15:44:18 -07:00
Nuno Campos
b818bf2fba
Fix up
2024-10-14 15:32:41 -07:00
Tat Dat Duong and Nuno Campos
c5ec568cfb
Patch config before entering map_debug_checkpoint
2024-10-14 15:16:24 -07:00