Commit Graph
173 Commits
Author SHA1 Message Date
open-swe[bot] c8dd449d1a Apply patch [skip ci] 2025-08-22 14:56:02 +00:00
open-swe[bot] 6eef693d6e Apply patch [skip ci] 2025-08-22 14:55:46 +00:00
open-swe[bot] 193b4c34ec Apply patch [skip ci] 2025-08-22 14:54:53 +00:00
open-swe[bot] b242b5499c Apply patch [skip ci] 2025-08-22 14:54:29 +00:00
open-swe[bot] 223150870c Apply patch [skip ci] 2025-08-22 13:23:45 +00:00
open-swe[bot] d8ce3d71cf Apply patch [skip ci] 2025-08-22 13:21:28 +00:00
open-swe[bot] 944947e889 Apply patch [skip ci] 2025-08-22 13:20:00 +00:00
open-swe[bot] a38727133b Apply patch [skip ci] 2025-08-22 13:19:24 +00:00
open-swe[bot] 5d929c30b4 Apply patch [skip ci] 2025-08-22 13:18:32 +00:00
open-swe[bot] b6e8816e7d Apply patch [skip ci] 2025-08-22 13:13:15 +00:00
open-swe[bot] 779d454fcc Apply patch [skip ci] 2025-08-22 13:12:28 +00:00
open-swe[bot] 9423a99515 Apply patch [skip ci] 2025-08-22 13:11:55 +00:00
open-swe[bot] 4c04e023c8 Apply patch [skip ci] 2025-08-22 13:11:14 +00:00
open-swe[bot] 4566b2aed4 Apply patch [skip ci] 2025-08-22 13:10:45 +00:00
open-swe[bot] 55f6f052b6 Apply patch [skip ci] 2025-08-22 13:08:00 +00:00
open-swe[bot] c22a86f11e Apply patch [skip ci] 2025-08-22 13:06:23 +00:00
open-swe[bot] 85180f5054 Apply patch [skip ci] 2025-08-22 13:02:01 +00:00
open-swe[bot] 777ab1123f Apply patch [skip ci] 2025-08-22 12:53:36 +00:00
open-swe[bot] a5a0286568 Apply patch [skip ci] 2025-08-22 12:52:47 +00:00
open-swe[bot] 69f4ab0a79 Apply patch [skip ci] 2025-08-22 12:48:29 +00:00
open-swe[bot] 9284412aac Apply patch [skip ci] 2025-08-22 12:47:23 +00:00
open-swe[bot] 220b3b1d33 Apply patch [skip ci] 2025-08-22 12:47:00 +00:00
open-swe[bot] d0be6843ba Apply patch [skip ci] 2025-08-22 12:45:51 +00:00
open-swe[bot] 7fb9f7c870 Apply patch [skip ci] 2025-08-22 12:44:56 +00:00
open-swe[bot] a5b61361af Apply patch [skip ci] 2025-08-22 12:41:04 +00:00
open-swe[bot] 2f96c5c021 Apply patch [skip ci] 2025-08-22 12:40:44 +00:00
open-swe[bot] 0915784a87 Apply patch [skip ci] 2025-08-22 12:40:15 +00:00
open-swe[bot] 6952d3a1e0 Apply patch [skip ci] 2025-08-22 12:39:17 +00:00
open-swe[bot] d411013b6f Apply patch [skip ci] 2025-08-22 12:37:24 +00:00
open-swe[bot] ce9473293f Apply patch [skip ci] 2025-08-22 12:36:40 +00:00
open-swe[bot] 7fd8666608 Apply patch [skip ci] 2025-08-22 12:35:55 +00:00
open-swe[bot] adf42e7ca1 Apply patch [skip ci] 2025-08-22 12:35:09 +00:00
open-swe[bot] b0b6e3d91f Apply patch [skip ci] 2025-08-22 12:34:26 +00:00
open-swe[bot] 30e00b8c7b Apply patch [skip ci] 2025-08-22 12:33:34 +00:00
William FHandGitHub a692e24a58 fix(langgraph): Remote Baggage (#5964)
Fix baggage propagation for opt-in distributed tracing when no
additional headers are provided.
2025-08-20 01:47:12 +00:00
William FHandGitHub 9918488169 feat(sdk-py): client qparams (#5918)
And add linting & dyanmic version string
2025-08-18 10:05:24 -07:00
William FHandGitHub 23b71048c1 release(langgraph): 0.6.5 (#5901) 2025-08-13 23:35:58 +00:00
Sam CrowderandGitHub 16b363fbb0 feat(langgraph): implement redis node level cache (#5834)
###   Description

Adds Redis as a supported cache backend for LangGraph node-level
caching, enabling distributed caching across multiple processes/servers.
This implementation follows the same patterns as existing InMemoryCache
and SqliteCache.

###  Key changes
  - New RedisCache class implementing the BaseCache interface
  - Support for TTL-based expiration and batch operations
  - Worker-specific cache prefixes for parallel test isolation

###  Dependencies

  - redis package (already included in dev dependencies)

### Test Plan

- Unit tests: Added Redis cache tests covering basic operations, TTL,
batch operations, and error handling
- Integration tests: Redis cache integrated into existing LangGraph test
suite, tested with all checkpointer combinations
2025-08-11 09:19:34 -07:00
Sydney RunkleandGitHub 68a75135b0 release: langgraph + prebuilt 0.6.4 (#5854) 2025-08-07 18:12:26 +00:00
4571b708d9 fix(langgraph): support emitting messages from subgraphs when messages mode explicitly requested (#5836)
Reproduces:
https://github.com/langchain-ai/langgraph/issues/5249#issuecomment-3156519635
Caused after this change:
https://github.com/langchain-ai/langgraph/pull/4843

Fix to allow emitting messages from subgraphs if the subgraphs
explicitly used a stream mode "messages".

```python

def node_in_parent(...):
   # subgraph was called as a function.
   # messages are explicitly requested.
   for event in subgraph.stream(..., stream_mode="messages"):
      # something is done with `event`
   return ...

# subgraphs = False!
parent_graph.invoke(..., subgraphs=False)
```

The code above should continue to work correctly regardless of the value
of subgraphs as streaming messages was requested explicitly in the
parent node!

---------

Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
2025-08-07 10:10:52 -04:00
Sydney RunkleandGitHub e365b2b8bd fix(prebuilt): raise on additional deprecated kwargs (#5848) 2025-08-06 21:08:42 +00:00
Sydney RunkleandGitHub 0bd7dd2c52 chore(langgraph): deprecate MessageGraph (#5843)
`MessageGraph` is deprecated, to be removed in v2.

A `StateGraph` with a `messages` key should be used instead.
Alternatively, folks can use `Annotated[list[AnyMessage], add_messages]` as their state schema.
2025-08-06 14:17:50 +00:00
Sydney RunkleandGitHub 82978a8dd8 chore(prebuilt): revert tool arg injection refactor (#5842)
Reverts https://github.com/langchain-ai/langgraph/pull/5562

I anticipate that we want to do another pass at a refactor here in the
short term, but this makes it easier to adapt to new langchain core
message types for v0.4 support in the short term.
2025-08-06 10:12:08 -04:00
Sydney RunkleandGitHub 2920a9dd19 fix(langgraph): Tidy up AgentState (#5801)
Fixes https://github.com/langchain-ai/langgraph/issues/5784

* Removes usage of `is_last_step`, no longer needed with
`remaining_steps`
* Make `remaining_steps` `NotRequired` so that json schema doesn't
suggest need for user input
* Move `PregelScratchpad` to shared utils file to prevent circular
import issue (it's used from `channels/managed` and other pregel files).
* Ensures that managed values wrapped in `NotRequired` or `Required` are
still recognized!
2025-08-03 07:12:53 -04:00
Sydney RunkleandGitHub a2fe4df89b release: langgraph + prebuilt 0.6.3 (#5799) 2025-08-01 14:52:38 -04:00
08295ecadb chore(prebuilt): add supported input types for model in create_react_agent (#5748)
- **Description:** Update the type annotations in create_react_agent to
allow one to provide a callable for the model that uses bind_tools and
returns a Runnable[LanguageModelInput, BaseMessage]
  - **Issue:** #5739

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2025-07-31 14:00:12 -04:00
Sydney RunkleandGitHub f43c806736 release(langgraph): 0.6.2 (#5750) 2025-07-30 20:35:27 +00:00
Sydney RunkleandGitHub 36f444dcb6 release(prebuilt): 0.6.2 (#5749) 2025-07-30 20:27:10 +00:00
Sydney RunkleandGitHub 781a115f92 fix(prebuilt): assign context_schema to config_schema with correct condition (#5746) 2025-07-30 20:08:45 +00:00
Eugene YurtsevandGitHub 72e418e4d0 release(prebuilt): 0.6.1 (#5713)
Release 0.6.1 allowing ToolNode to handle Command that removes all
messages
2025-07-29 20:39:42 +00:00