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
Vadym Barda and GitHub
62a5ec509d
checkpoint: add DuckDB store ( #2154 )
checkpointduckdb==2.0.0
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
6f236b5f2c
docs: update multi-agent concept examples ( #2151 )
2024-10-23 13:40:24 -04: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
nikhildigde and GitHub
2be012d8ed
docs: fix typo in concept docs
2024-10-21 21:40:47 +00:00
Yuki Oshima and GitHub
780285ef91
Fix(docs): InMemoryStore example error ( #2148 )
2024-10-21 18:39:43 +00:00
Nuno Campos and GitHub
47c7b76aa1
Merge pull request #2152 from langchain-ai/nc/21oct/skip-docker-login-for-forks
...
ci: Skip docker login for PRs from forks
2024-10-21 10:09:54 -07:00
Nuno Campos
9931f61525
ci: Skip docker login for PRs from forks
2024-10-21 10:04:40 -07: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 )
0.2.39
2024-10-18 14:47:50 -04:00
Vadym Barda and GitHub
b5fbc7a7b8
docs: temporarily disable some link checks ( #2138 )
2024-10-18 14:37:19 -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 and GitHub
4df5680732
Merge pull request #2132 from langchain-ai/nc/17oct/stream-messages-nostream-tag
...
For stream_mode=messages skip any nodes/llms with tag nostream
2024-10-17 15:57:09 -07: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
Vadym Barda and GitHub
4dfdb9a83e
docs: update tags for store endpoints in API docs ( #2127 )
2024-10-16 16:34:54 +00:00
Vadym Barda and GitHub
583d8c9499
docs: update tutorial names/links ( #2126 )
2024-10-16 15:17:28 +00:00
vbarda
15bbede7bc
update image in multi-agent concepts
2024-10-16 10:59:07 -04:00
Vadym Barda and GitHub
3ffdf4bb3f
docs: update image in concepts ( #2125 )
2024-10-16 13:59:17 +00:00
Nuno Campos and GitHub
6578698414
Merge pull request #2124 from langchain-ai/dqbd/js-bump-0.0.17
...
feat(sdk-js): bump to 0.0.17
2024-10-16 06:21:22 -07:00
Tat Dat Duong
048ae6c17b
feat(sdk-js): bump to 0.0.17
2024-10-16 15:19:39 +02:00
Nuno Campos and GitHub
0e2c2eb13a
Merge pull request #2120 from langchain-ai/nc/15oct/executor-dict
...
fix: Avoid errors from executor modifying tasks dict during exit routine
2024-10-15 16:15:55 -07: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
18f34c30d8
docs: update subgraph how-to ( #2079 )
...
Co-authored-by: vbarda <vadym@langchain.dev >
2024-10-15 17:30:34 -04:00
2670bcf330
docs: add concepts for subgraphs and multi-agent ( #2069 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-10-15 17:17:22 -04:00
Nuno Campos
f6fb2ef5ca
langgraph 0.2.38
0.2.38
2024-10-15 11:04:22 -07:00
Vadym Barda and GitHub
2fb7e92879
docs: update recursion notebook to use RemainingSteps ( #2114 )
2024-10-15 12:05:46 -04:00
Nuno Campos and GitHub
46b2d08a8a
Merge pull request #2115 from langchain-ai/nc/15oct/update-is-last-step
...
Return IsLastStep to previous definition
2024-10-15 08:41:30 -07:00
Nuno Campos
649b742e0a
Update types for RemainingSteps, return IsLastStep to previous definition
2024-10-15 08:35:31 -07:00
Nuno Campos and GitHub
fd4629e778
Merge pull request #2112 from langchain-ai/vb/fix-type
...
langgraph: fix type for RemainingSteps
2024-10-15 08:34:50 -07:00
vbarda
d14f98f01b
langgraph: fix type for RemainingSteps
2024-10-15 09:07:00 -04:00
Nuno Campos
c0b56bf60d
langgraph 0.2.37
0.2.37
2024-10-14 17:29:11 -07:00
Nuno Campos and GitHub
e8b875906f
Merge pull request #2105 from langchain-ai/nc/14oct/is-last-step-fix
...
Fix IsLastStep counter for runs with checkpointers
2024-10-14 17:21:31 -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