Nuno Campos
7a326ef768
lib 0.2.55
2024-12-04 15:44:24 -08: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
Nuno Campos
ea5ccd7a80
lib: Add support for multiple interrupts per node
...
- Includes support for interrupt loops
2024-12-04 14:15:30 -08: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
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
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
vbarda
515242d0ba
langgraph: allow passing kwargs to SDK methods in RemoteGraph's invoke/stream
2024-12-03 15:40:18 -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
Nuno Campos
0071bd1e1c
Lint
2024-12-02 17:01:12 -08:00
Nuno Campos
d36e6ceaaf
Fix
2024-12-02 16:59:38 -08:00
Nuno Campos
a3feaef2eb
lib: Handle Command in RemoteGraph
2024-12-02 16:45:07 -08:00
Nuno Campos
efbd02a27d
Implement support for interrupt/resume in subgraphs
2024-12-02 16:43:35 -08:00
Nuno Campos
6fc1c602ab
Add one more
2024-12-02 13:53:44 -08:00
Nuno Campos
2b65308508
WIP: Handle commands for subgraphs
2024-12-02 13:53:44 -08:00
stneng
363c6e2e4c
fix
2024-12-01 16:07:15 -08:00
Nuno Campos
1031e54860
lib: Add exception note identify node/task
2024-11-27 12:44:31 -08:00
Vadym Barda and GitHub
5144b8f374
langgraph: allow create_react_agent to take empty tools ( #2553 )
2024-11-27 12:54:59 -05:00
Vadym Barda and GitHub
f4a9d17d24
Merge branch 'main' into vb/remove-assertion
2024-11-27 10:02:24 -05:00
vbarda
f416480e9d
nit
2024-11-27 10:01:24 -05:00
vbarda
61e47cb137
langgraph: relax graph validation to handle nodes without return typehints
2024-11-27 09:56:04 -05:00
Nuno Campos and GitHub
a4eb4c6942
Merge pull request #2520 from langchain-ai/nc/22nov/parent-command
...
lib: Add Command(graph=Command.PARENT, ...)
2024-11-25 15:39:51 -08:00
Nuno Campos
8e1cd0e225
Add test
2024-11-25 14:11:20 -08:00
98935e1ffd
fix: Fix race condition in PostgresSaver ( #2494 )
...
Signed-off-by: Tyler Ball <tyleraball@gmail.com >
Co-authored-by: Phoenix Logan <plogan@chanzuckerberg.com >
Co-authored-by: Tyler Ball <2481463+tyler-ball@users.noreply.github.com >
2024-11-25 20:19:52 +00:00
Nuno Campos
abc0c8c223
Fix
2024-11-22 16:35:20 -08:00
Nuno Campos
5bbb9dae57
Fix
2024-11-22 16:34:55 -08:00
Nuno Campos
fed60e713c
lib: Add Command(graph=Command.PARENT, ...)
...
- This makes the command bubble up out of the current graph and be handled by the calling graph (the immediate parent)
- This could be extended to support eg. ROOT graph, or some other level
2024-11-22 16:28:43 -08:00
Eugene Yurtsev and GitHub
26ce731eab
docs: update README.md ( #2474 )
2024-11-21 22:48:12 +00:00
ceeb9636ee
build(deps-dev): bump notebook from 7.0.7 to 7.2.2 in /libs/langgraph ( #2411 )
...
Bumps [notebook](https://github.com/jupyter/notebook ) from 7.0.7 to
7.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jupyter/notebook/releases ">notebook's
releases</a>.</em></p>
<blockquote>
<h2>v7.2.2</h2>
<h2>7.2.2</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.2.1...0426a897ad6b5708d73e6e49ea424076de2906a1 ">Full
Changelog</a>)</p>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Upgrade JupyterLab dependencies to v4.2.5 <a
href="https://redirect.github.com/jupyter/notebook/pull/7447 ">#7447</a>
(<a
href="https://github.com/krassowski "><code>@krassowski</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/notebook/graphs/contributors?from=2024-06-07&to=2024-08-27&type=c ">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@krassowski</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ARRosio+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@RRosio</code></a></p>
<h2>v7.2.1</h2>
<h2>7.2.1</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.2.0...e881745c98ea0a0ea585df78f1ca8950a0edeaa2 ">Full
Changelog</a>)</p>
<h3>Bugs fixed</h3>
<ul>
<li>Remove pseudoelement obstructing the cell collapser <a
href="https://redirect.github.com/jupyter/notebook/pull/7392 ">#7392</a>
(<a
href="https://github.com/krassowski "><code>@krassowski</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/notebook/graphs/contributors?from=2024-05-16&to=2024-06-07&type=c ">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@jtpio</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ameeseeksmachine+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@meeseeksmachine</code></a></p>
<h2>v7.2.0</h2>
<h2>7.2.0</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.1.2...31bf294e85175bbf39816a90dc8858dedaf73bde ">Full
Changelog</a>)</p>
<h3>Enhancements made</h3>
<ul>
<li>Update to JupyterLab 4.2.0 <a
href="https://redirect.github.com/jupyter/notebook/pull/7357 ">#7357</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Update to JupyterLab 4.2.0rc0 <a
href="https://redirect.github.com/jupyter/notebook/pull/7333 ">#7333</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Add <code>@jupyterlab/theme-dark-high-contrast-extension</code> <a
href="https://redirect.github.com/jupyter/notebook/pull/7331 ">#7331</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Update to JupyterLab 4.2.0a2 <a
href="https://redirect.github.com/jupyter/notebook/pull/7307 ">#7307</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
</ul>
<h3>Bugs fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jupyter/notebook/blob/@jupyter-notebook/tree@7.2.2/CHANGELOG.md ">notebook's
changelog</a>.</em></p>
<blockquote>
<h2>7.2.2</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.2.1...0426a897ad6b5708d73e6e49ea424076de2906a1 ">Full
Changelog</a>)</p>
<h3>Maintenance and upkeep improvements</h3>
<ul>
<li>Upgrade JupyterLab dependencies to v4.2.5 <a
href="https://redirect.github.com/jupyter/notebook/pull/7447 ">#7447</a>
(<a
href="https://github.com/krassowski "><code>@krassowski</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/notebook/graphs/contributors?from=2024-06-07&to=2024-08-27&type=c ">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@krassowski</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ARRosio+updated%3A2024-06-07..2024-08-27&type=Issues "><code>@RRosio</code></a></p>
<!-- raw HTML omitted -->
<h2>7.2.1</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.2.0...e881745c98ea0a0ea585df78f1ca8950a0edeaa2 ">Full
Changelog</a>)</p>
<h3>Bugs fixed</h3>
<ul>
<li>Remove pseudoelement obstructing the cell collapser <a
href="https://redirect.github.com/jupyter/notebook/pull/7392 ">#7392</a>
(<a
href="https://github.com/krassowski "><code>@krassowski</code></a>)</li>
</ul>
<h3>Contributors to this release</h3>
<p>(<a
href="https://github.com/jupyter/notebook/graphs/contributors?from=2024-05-16&to=2024-06-07&type=c ">GitHub
contributors page for this release</a>)</p>
<p><a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@github-actions</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@jtpio</code></a>
| <a
href="https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ameeseeksmachine+updated%3A2024-05-16..2024-06-07&type=Issues "><code>@meeseeksmachine</code></a></p>
<h2>7.2.0</h2>
<p>(<a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.1.2...31bf294e85175bbf39816a90dc8858dedaf73bde ">Full
Changelog</a>)</p>
<h3>Enhancements made</h3>
<ul>
<li>Update to JupyterLab 4.2.0 <a
href="https://redirect.github.com/jupyter/notebook/pull/7357 ">#7357</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Update to JupyterLab 4.2.0rc0 <a
href="https://redirect.github.com/jupyter/notebook/pull/7333 ">#7333</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Add <code>@jupyterlab/theme-dark-high-contrast-extension</code> <a
href="https://redirect.github.com/jupyter/notebook/pull/7331 ">#7331</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Update to JupyterLab 4.2.0a2 <a
href="https://redirect.github.com/jupyter/notebook/pull/7307 ">#7307</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
</ul>
<h3>Bugs fixed</h3>
<ul>
<li>Add the <code>@jupyterlab/notebook-extension:copy-output</code>
plugin <a
href="https://redirect.github.com/jupyter/notebook/pull/7353 ">#7353</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Fix CSS for <code>full</code> windowing mode <a
href="https://redirect.github.com/jupyter/notebook/pull/7337 ">#7337</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Force notebook windowing mode to <code>defer</code> <a
href="https://redirect.github.com/jupyter/notebook/pull/7335 ">#7335</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Fix scrollbar always showing up by default <a
href="https://redirect.github.com/jupyter/notebook/pull/7327 ">#7327</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
<li>Default to the <code>full</code> windowing mode <a
href="https://redirect.github.com/jupyter/notebook/pull/7321 ">#7321</a>
(<a href="https://github.com/jtpio "><code>@jtpio</code></a>)</li>
</ul>
<h3>Maintenance and upkeep improvements</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jupyter/notebook/commit/d1d232b27c5441c4a040dd3ca491a7cf0fa6c528 "><code>d1d232b</code></a>
Publish 7.2.2</li>
<li><a
href="https://github.com/jupyter/notebook/commit/0426a897ad6b5708d73e6e49ea424076de2906a1 "><code>0426a89</code></a>
Upgrade JupyterLab dependencies to v4.2.5 (<a
href="https://redirect.github.com/jupyter/notebook/issues/7447 ">#7447</a>)</li>
<li><a
href="https://github.com/jupyter/notebook/commit/3542421de92c91892d8d8c40ebbd023215c39606 "><code>3542421</code></a>
Publish 7.2.1</li>
<li><a
href="https://github.com/jupyter/notebook/commit/e881745c98ea0a0ea585df78f1ca8950a0edeaa2 "><code>e881745</code></a>
Backport PR <a
href="https://redirect.github.com/jupyter/notebook/issues/7392 ">#7392</a>:
Remove pseudoelement obstructing the cell collapser (<a
href="https://redirect.github.com/jupyter/notebook/issues/7393 ">#7393</a>)</li>
<li><a
href="https://github.com/jupyter/notebook/commit/30587b826a0fe7055a02ea96d43e6305d8b5590b "><code>30587b8</code></a>
Publish 7.2.0</li>
<li><a
href="https://github.com/jupyter/notebook/commit/31bf294e85175bbf39816a90dc8858dedaf73bde "><code>31bf294</code></a>
Add user facing changelog for 7.2 (<a
href="https://redirect.github.com/jupyter/notebook/issues/7372 ">#7372</a>)</li>
<li><a
href="https://github.com/jupyter/notebook/commit/08fe5c5df12182178280bad5d2fbae02b3486146 "><code>08fe5c5</code></a>
Update <code>@jupyterlab/galata</code> (<a
href="https://redirect.github.com/jupyter/notebook/issues/7361 ">#7361</a>)</li>
<li><a
href="https://github.com/jupyter/notebook/commit/7891117aa9f9cb95c8e301875f9bf74d9496a301 "><code>7891117</code></a>
Update config.yml (<a
href="https://redirect.github.com/jupyter/notebook/issues/7363 ">#7363</a>)</li>
<li><a
href="https://github.com/jupyter/notebook/commit/a1e25b92bf10ef13a760353837114db9b498f242 "><code>a1e25b9</code></a>
Publish 7.2.0rc1</li>
<li><a
href="https://github.com/jupyter/notebook/commit/f5d8aea3bdc3eea25213792f9d101738f2a1f627 "><code>f5d8aea</code></a>
Default to the <code>full</code> windowing mode (<a
href="https://redirect.github.com/jupyter/notebook/issues/7321 ">#7321</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.0.7...@jupyter-notebook/tree@7.2.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langgraph/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-11-21 08:00:26 -08:00
vbarda
b977045679
langgraph: fix error message on invalid update
2024-11-20 21:24:50 -05:00
Nuno Campos
588373c2d5
0.2.53
2024-11-20 17:13:42 -08:00
Nuno Campos
a570662773
Lint
2024-11-20 15:43:46 -08:00
Nuno Campos
9766068896
lib: For subgraphs / stream modes call stream.put as a callback in the original event loop
...
- This is asynchronous, so we shouldn't use for regular writes to the output stream (ie those from PregelLoop)
- For writes from subgraphs / nodes this is fine to use, as we make no guarantees about when those show up anyway
2024-11-20 15:39:30 -08:00
Nuno Campos
9a775d9c9f
0.2.52
2024-11-18 17:17:40 -08:00
Nuno Campos
2c945ceb68
Copy configurable in ensure_config
2024-11-18 17:17:20 -08:00
Nuno Campos
fb40a974c8
0.2.51
2024-11-18 16:03:04 -08:00
Nuno Campos
d63bfc6879
Add missing property
2024-11-18 16:02:54 -08:00
Nuno Campos and GitHub
97dd30711a
Merge pull request #2437 from langchain-ai/nc/16nov/speed-up-find-subgraph
...
lib: find_subgraph doesn't need to look in both func and afunc
2024-11-18 15:59:58 -08:00
Nuno Campos and GitHub
167405daf2
Merge pull request #2434 from langchain-ai/nc/15nov/update-state-copy-parent
...
lib: When copying checkpoint, make it a child of the parent
2024-11-18 08:34:34 -08:00
886df0fa86
checkpoint: Add option to use persistent dict for in-memory checkpointer ( #2439 )
...
- This should only be used in very specific circunstances, sqlite or
postgres adapters much more appropriate in most circunstances
---------
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-11-18 16:04:05 +00:00
Nuno Campos
7866bd2718
lib: find_subgraph doesn't need to look in both func and afunc
...
- if they both exist they're expected to share the same implementation, so looking in both is redundant
2024-11-16 16:57:32 -08:00
Nuno Campos
7c11325e23
Separate
2024-11-15 17:33:01 -08:00
Nuno Campos
d99dc7d81b
Fix missing writes
2024-11-15 17:23:00 -08:00