c5de8f4e50
docs(agents): update manage message history section ( #4482 )
...
Co-authored-by: Lauren Hirata Singh <lauren@langchain.dev >
2025-04-30 19:11:45 +00:00
Vadym Barda and GitHub
d08ed5f42e
docs(agents): add store semantic search link ( #4483 )
2025-04-30 15:08:18 -04:00
David Duong and GitHub
0269dd8818
release(langgraph): 0.4.1 ( #4480 )
0.4.1
2025-04-30 20:24:48 +02:00
David Duong and GitHub
aa722ac084
release(sdk-js): 0.0.72 ( #4481 )
2025-04-30 20:22:01 +02:00
Tat Dat Duong
91e9f12b54
release(sdk-js): 0.0.72
2025-04-30 20:19:30 +02:00
Tat Dat Duong
5779d9079f
release(langgraph): 0.4.1
2025-04-30 20:18:25 +02:00
David Duong and GitHub
e02c4b06db
feat(ui): add merge option to UI messages ( #4473 )
...
- Add docs about (partial) streaming UI components from LLMs
- Add missing support for "nostream" in LangGraph
2025-04-30 20:15:57 +02:00
Vadym Barda and GitHub
5b44886da0
docs(agents): add disable_streaming ( #4475 )
2025-04-30 14:07:19 -04:00
Tat Dat Duong
be1af772f5
Fix lint
2025-04-30 20:04:48 +02:00
Vadym Barda and GitHub
33e409e12b
docs(agents): add model fallbacks ( #4478 )
2025-04-30 17:56:58 +00:00
Vadym Barda and GitHub
ce2ba47aff
docs: cross link working w/ memory in tools ( #4464 )
2025-04-30 13:52:10 -04:00
Tat Dat Duong
b3371a1d63
Add missing "nostream" support
2025-04-30 19:50:14 +02:00
Tat Dat Duong
5804e788d8
Add docs
2025-04-30 19:46:14 +02:00
Vadym Barda and GitHub
aa9651910c
docs: set package-mode to false for pyproject ( #4477 )
2025-04-30 12:09:18 -04:00
Sydney Runkle and GitHub
49c10a9188
packaging: removing pydantic v1 support ( #4448 )
...
Also moving over any logic from `langchain-core` to here as we slowly
drop `langchain-core` dependency.
Pydantic v1 is no longer undergoing active maintenance and v2 has been
out for almost 2 years, so it seems like an appropriate time to drop v1
scar tissue.
2025-04-30 09:10:47 -04:00
Tat Dat Duong
1b6e12ef14
feat(ui): add merge option to UI messages
2025-04-30 11:52:47 +02:00
David Duong and GitHub
a7090ef983
release(sdk): Python 0.1.64 & JS (0.0.71) ( #4471 )
sdk==0.1.64
2025-04-30 10:40:29 +02:00
Tat Dat Duong
20b9b8b1d7
release(sdk): Python 0.1.64 & JS (0.0.71)
2025-04-30 10:33:52 +02:00
William Fu-Hinthorn
91de85a8e6
fix test
2025-04-29 15:55:54 -07:00
David Duong and GitHub
1ec6efab52
fix(sdk-js): avoid sending run metadata in UI messages ( #4467 )
2025-04-30 00:41:12 +02:00
Tat Dat Duong
d0a70a15a8
fix(sdk-js): avoid sending run metadata in UI messages
2025-04-30 00:34:22 +02:00
Sydney Runkle
ef1e1659c6
conditional for config
2025-04-29 18:22:18 -04:00
Sydney Runkle
c712e09fbc
conditional for config
2025-04-29 18:17:33 -04:00
Vadym Barda and GitHub
e25dde1df0
docs(reference): filter class methods and add missing docstrings ( #4463 )
2025-04-29 21:31:57 +00:00
Eugene Yurtsev and GitHub
0bfb818e87
docs: process cell magics ( #4462 )
...
Handle a small thing that can be fairly confusing to new python users.
Before:

After:

2025-04-29 17:13:46 -04:00
d86d0a9311
fix(langgraph): missing conditional edge on get_graph() ( #4458 )
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2025-04-29 19:49:48 +00:00
Eugene Yurtsev and GitHub
dbceb3c2e6
docs: remove non directive to stop indexing output code blocks (it doesn't work) ( #4461 )
...
This directive seems to have no effect on code blocks: `{
mkdocs-exclude-search }`. Removing it for now.
2025-04-29 15:46:29 -04:00
Sydney Runkle
80dca9b9a5
removing remaining v1 logic
2025-04-29 15:11:37 -04:00
Vadym Barda and GitHub
ea55c2d468
docs: simplify docstring / API reference for create_react_agent ( #4457 )
2025-04-29 18:52:43 +00:00
Eugene Yurtsev and GitHub
8dd95a450b
docs: strip ansi and exclude outputs from search ( #4460 )
...
# Changes
* Strip ANSI codes from outputs
* Exclude outputs from search (relies on an insiders feature, so can't
test locally)
## ANSI Changes
Before

After

2025-04-29 14:50:07 -04:00
Sydney Runkle
da0994b741
removing langchain-core pydantic utilities
2025-04-29 14:31:28 -04:00
Vadym Barda and GitHub
80a74a879c
docs: expose supervisor, swarm & MCP in the API reference ( #4446 )
2025-04-29 17:59:42 +00:00
Eugene Yurtsev and GitHub
7170a9f0f4
docs: apply boosts and tag a few things ( #4455 )
...
Manual pass to apply a few heuristics:
* Boost conceptual pages
* Deboost (is that a word?) index pages that list all content
* Prefer Agents pages if search query contains the word "agent"
* Add tags for a few selected pages
2025-04-29 13:56:57 -04:00
Sydney Runkle
64cfbb0d02
remove v1 test
2025-04-29 13:51:45 -04:00
langchain-infra and GitHub
11b472e876
chore: update eu ips for new cluster ( #4454 )
2025-04-29 10:54:48 -04:00
infra
5d831726a3
chore: update eu ips for new cluster
2025-04-29 10:50:31 -04:00
David Duong and GitHub
9ffa6371e0
feat(sdk-js): add onLangChainEvent and onDebugEvent to useStream ( #4453 )
0.4.0
2025-04-29 15:40:09 +02:00
David Duong and GitHub
4d1e5ab71f
feat(sdk-js): pass the client instead of apiKey/apiUrl ( #4452 )
2025-04-29 15:38:47 +02:00
Sydney Runkle and GitHub
c0d6524ec7
release: v0.4.0 ( #4447 )
2025-04-29 09:35:04 -04:00
Tat Dat Duong
8ad5331c89
feat(sdk-js): add onLangChainEvent and onDebugEvent to useStream
2025-04-29 15:34:03 +02:00
Tat Dat Duong
cc62a9fa33
feat(sdk-js): pass the client instead of apiKey/apiUrl
2025-04-29 15:17:55 +02:00
David Duong and GitHub
b7482a6f6a
fix(docs): Studio troubleshooting docs ( #4449 )
2025-04-29 11:59:39 +02:00
Tat Dat Duong
d4df2bd807
fix(docs): Studio troubleshooting docs
2025-04-29 11:58:52 +02:00
Sydney Runkle
e99028cfc6
what would it look like to remove pydantic v1 support?
2025-04-28 21:44:17 -04:00
Sydney Runkle
6250b364f7
version bumps and locks
2025-04-28 17:39:20 -04:00
William FH and GitHub
062253fe48
Add examples of configurable headers ( #4445 )
2025-04-28 12:52:06 -07:00
Sydney Runkle and GitHub
fc0d08328d
langgraph: fix bug + add test for multi resume ( #4444 )
...
Fine if command is "empty" as we don't add writes for mapped resumes.
2025-04-28 15:48:33 -04:00
Sydney Runkle
2bf8e690b0
test + bug fix
2025-04-28 15:41:37 -04:00
Vadym Barda and GitHub
11c6a54de9
docs: small update in the manage message history how to ( #4442 )
2025-04-28 13:22:52 -04:00
Nuno Campos and GitHub
78581b80c2
Support multiple resume values with Command.resume ( #4406 )
...
* Adding support for mapping interrupt ids -> resume values with the
`Command.resume_map` argument, like:
```py
resume_map = {
i.interrupt_id: f"human input for prompt {i.value}"
for i in parent_graph.get_state(thread_config).interrupts
}
parent_graph.invoke(Command(resume=resume_map), config=thread_config)
```
* Adds an `interrupts` attribute on `StateSnapshot` so that we can
access that directly rather than having to do
`get_state(thread_config).tasks` and then iterate over tasks to find
interrupts
* Deprecates undocumented feature where (if interrupting a graph from
the level of an interrupt), you could pass a dict mapping task ids ->
resume values. Now we recommend and endorse the `interrupt_id` approach
above.
I'll note, from an internal perspective, I would love if we didn't have
to pass around this map, but it seems like the best way right now to
make the necessary resume information necessary at different levels in a
graph with subgraphs.
Fix https://github.com/langchain-ai/langgraph/issues/4028
Slotted to be included in our v0.4.0 release early next week!
2025-04-28 09:06:58 -07:00