William FH and GitHub
e5b5f9510b
Fix empty migration ( #2978 )
2025-01-09 23:14:02 +00:00
Andrew Nguonly and GitHub
c6d7c80a99
docs: Add documentation for LANGSMITH_RUNS_ENDPOINTS env var ( #2976 )
2025-01-09 13:24:41 -08:00
William FH and GitHub
909190cede
Update SDK registration ( #2974 )
2025-01-09 09:20:54 -08:00
William FH and GitHub
43c8578eef
Unify type-naming of search param ( #2973 )
2025-01-09 08:56:05 -08:00
William Fu-Hinthorn
56f5edb9ba
Unify naming of search param
2025-01-09 08:46:17 -08:00
William FH and GitHub
41f0fd504e
Add store auth types ( #2971 )
2025-01-09 08:32:54 -08:00
William FH and GitHub
6357d496af
Merge branch 'main' into wfh/auth/store
2025-01-09 08:08:04 -08:00
William Fu-Hinthorn
52bd5b13a7
Add store auth types
2025-01-09 08:03:30 -08:00
Andrew Nguonly and GitHub
b633e0a4ed
docs: Add docs for POSTGRES_URI_CUSTOM environment variable ( #2951 )
2025-01-08 15:27:32 -08:00
c14bcb6e9f
build(deps-dev): bump jinja2 from 3.1.4 to 3.1.5 in /libs/langgraph ( #2960 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/releases ">jinja2's
releases</a>.</em></p>
<blockquote>
<h2>3.1.5</h2>
<p>This is the Jinja 3.1.5 security fix release, which fixes security
issues and bugs but does not otherwise change behavior and should not
result in breaking changes compared to the latest feature release.</p>
<p>PyPI: <a
href="https://pypi.org/project/Jinja2/3.1.5/ ">https://pypi.org/project/Jinja2/3.1.5/ </a>
Changes: <a
href="https://jinja.palletsprojects.com/changes/#version-3-1-5 ">https://jinja.palletsprojects.com/changes/#version-3-1-5 </a>
Milestone: <a
href="https://github.com/pallets/jinja/milestone/16?closed=1 ">https://github.com/pallets/jinja/milestone/16?closed=1 </a></p>
<ul>
<li>The sandboxed environment handles indirect calls to
<code>str.format</code>, such as by passing a stored reference to a
filter that calls its argument. <a
href="https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h ">GHSA-q2x7-8rv6-6q7h</a></li>
<li>Escape template name before formatting it into error messages, to
avoid issues with names that contain f-string syntax. <a
href="https://redirect.github.com/pallets/jinja/issues/1792 ">#1792</a>,
<a
href="https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699 ">GHSA-gmj6-6f8f-6699</a></li>
<li>Sandbox does not allow <code>clear</code> and <code>pop</code> on
known mutable sequence types. <a
href="https://redirect.github.com/pallets/jinja/issues/2032 ">#2032</a></li>
<li>Calling sync <code>render</code> for an async template uses
<code>asyncio.run</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1952 ">#1952</a></li>
<li>Avoid unclosed <code>auto_aiter</code> warnings. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Return an <code>aclose</code>-able <code>AsyncGenerator</code> from
<code>Template.generate_async</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Avoid leaving <code>root_render_func()</code> unclosed in
<code>Template.generate_async</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Avoid leaving async generators unclosed in blocks, includes and
extends. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>The runtime uses the correct <code>concat</code> function for the
current environment when calling block references. <a
href="https://redirect.github.com/pallets/jinja/issues/1701 ">#1701</a></li>
<li>Make <code>|unique</code> async-aware, allowing it to be used after
another async-aware filter. <a
href="https://redirect.github.com/pallets/jinja/issues/1781 ">#1781</a></li>
<li><code>|int</code> filter handles <code>OverflowError</code> from
scientific notation. <a
href="https://redirect.github.com/pallets/jinja/issues/1921 ">#1921</a></li>
<li>Make compiling deterministic for tuple unpacking in a <code>{% set
... %}</code> call. <a
href="https://redirect.github.com/pallets/jinja/issues/2021 ">#2021</a></li>
<li>Fix dunder protocol (<code>copy</code>/<code>pickle</code>/etc)
interaction with <code>Undefined</code> objects. <a
href="https://redirect.github.com/pallets/jinja/issues/2025 ">#2025</a></li>
<li>Fix <code>copy</code>/<code>pickle</code> support for the internal
<code>missing</code> object. <a
href="https://redirect.github.com/pallets/jinja/issues/2027 ">#2027</a></li>
<li><code>Environment.overlay(enable_async)</code> is applied correctly.
<a
href="https://redirect.github.com/pallets/jinja/issues/2061 ">#2061</a></li>
<li>The error message from <code>FileSystemLoader</code> includes the
paths that were searched. <a
href="https://redirect.github.com/pallets/jinja/issues/1661 ">#1661</a></li>
<li><code>PackageLoader</code> shows a clearer error message when the
package does not contain the templates directory. <a
href="https://redirect.github.com/pallets/jinja/issues/1705 ">#1705</a></li>
<li>Improve annotations for methods returning copies. <a
href="https://redirect.github.com/pallets/jinja/issues/1880 ">#1880</a></li>
<li><code>urlize</code> does not add <code>mailto:</code> to values like
<code>@a@b</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1870 ">#1870</a></li>
<li>Tests decorated with <code>@pass_context</code> can be used with the
<code>|select</code> filter. <a
href="https://redirect.github.com/pallets/jinja/issues/1624 ">#1624</a></li>
<li>Using <code>set</code> for multiple assignment (<code>a, b = 1,
2</code>) does not fail when the target is a namespace attribute. <a
href="https://redirect.github.com/pallets/jinja/issues/1413 ">#1413</a></li>
<li>Using <code>set</code> in all branches of <code>{% if %}{% elif %}{%
else %}</code> blocks does not cause the variable to be considered
initially undefined. <a
href="https://redirect.github.com/pallets/jinja/issues/1253 ">#1253</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/blob/main/CHANGES.rst ">jinja2's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.1.5</h2>
<p>Released 2024-12-21</p>
<ul>
<li>The sandboxed environment handles indirect calls to
<code>str.format</code>, such as
by passing a stored reference to a filter that calls its argument.
:ghsa:<code>q2x7-8rv6-6q7h</code></li>
<li>Escape template name before formatting it into error messages, to
avoid
issues with names that contain f-string syntax.
:issue:<code>1792</code>, :ghsa:<code>gmj6-6f8f-6699</code></li>
<li>Sandbox does not allow <code>clear</code> and <code>pop</code> on
known mutable sequence
types. :issue:<code>2032</code></li>
<li>Calling sync <code>render</code> for an async template uses
<code>asyncio.run</code>.
:pr:<code>1952</code></li>
<li>Avoid unclosed <code>auto_aiter</code> warnings.
:pr:<code>1960</code></li>
<li>Return an <code>aclose</code>-able <code>AsyncGenerator</code> from
<code>Template.generate_async</code>. :pr:<code>1960</code></li>
<li>Avoid leaving <code>root_render_func()</code> unclosed in
<code>Template.generate_async</code>. :pr:<code>1960</code></li>
<li>Avoid leaving async generators unclosed in blocks, includes and
extends.
:pr:<code>1960</code></li>
<li>The runtime uses the correct <code>concat</code> function for the
current environment
when calling block references. :issue:<code>1701</code></li>
<li>Make <code>|unique</code> async-aware, allowing it to be used after
another
async-aware filter. :issue:<code>1781</code></li>
<li><code>|int</code> filter handles <code>OverflowError</code> from
scientific notation.
:issue:<code>1921</code></li>
<li>Make compiling deterministic for tuple unpacking in a <code>{% set
... %}</code>
call. :issue:<code>2021</code></li>
<li>Fix dunder protocol (<code>copy</code>/<code>pickle</code>/etc)
interaction with <code>Undefined</code>
objects. :issue:<code>2025</code></li>
<li>Fix <code>copy</code>/<code>pickle</code> support for the internal
<code>missing</code> object.
:issue:<code>2027</code></li>
<li><code>Environment.overlay(enable_async)</code> is applied correctly.
:pr:<code>2061</code></li>
<li>The error message from <code>FileSystemLoader</code> includes the
paths that were
searched. :issue:<code>1661</code></li>
<li><code>PackageLoader</code> shows a clearer error message when the
package does not
contain the templates directory. :issue:<code>1705</code></li>
<li>Improve annotations for methods returning copies.
:pr:<code>1880</code></li>
<li><code>urlize</code> does not add <code>mailto:</code> to values like
<code>@a@b</code>. :pr:<code>1870</code></li>
<li>Tests decorated with <code>@pass_context`` can be used with the
``|select`` filter. :issue:</code>1624`</li>
<li>Using <code>set</code> for multiple assignment (<code>a, b = 1,
2</code>) does not fail when the
target is a namespace attribute. :issue:<code>1413</code></li>
<li>Using <code>set</code> in all branches of <code>{% if %}{% elif %}{%
else %}</code> blocks
does not cause the variable to be considered initially undefined.
:issue:<code>1253</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pallets/jinja/commit/877f6e51be8e1765b06d911cfaa9033775f051d1 "><code>877f6e5</code></a>
release version 3.1.5</li>
<li><a
href="https://github.com/pallets/jinja/commit/8d588592653b052f957b720e1fc93196e06f207f "><code>8d58859</code></a>
remove test pypi</li>
<li><a
href="https://github.com/pallets/jinja/commit/eda8fe86fd716dfce24910294e9f1fc81fbc740c "><code>eda8fe8</code></a>
update dev dependencies</li>
<li><a
href="https://github.com/pallets/jinja/commit/c8fdce1e0333f1122b244b03a48535fdd7b03d91 "><code>c8fdce1</code></a>
Fix bug involving calling set on a template parameter within all
branches of ...</li>
<li><a
href="https://github.com/pallets/jinja/commit/66587ce989e5a478e0bb165371fa2b9d42b7040f "><code>66587ce</code></a>
Fix bug where set would sometimes fail within if</li>
<li><a
href="https://github.com/pallets/jinja/commit/fbc3a696c729d177340cc089531de7e2e5b6f065 "><code>fbc3a69</code></a>
Add support for namespaces in tuple parsing (<a
href="https://redirect.github.com/pallets/jinja/issues/1664 ">#1664</a>)</li>
<li><a
href="https://github.com/pallets/jinja/commit/b8f4831d41e6a7cb5c40d42f074ffd92d2daccfc "><code>b8f4831</code></a>
more comments about nsref assignment</li>
<li><a
href="https://github.com/pallets/jinja/commit/ee832194cd9f55f75e5a51359b709d535efe957f "><code>ee83219</code></a>
Add support for namespaces in tuple assignment</li>
<li><a
href="https://github.com/pallets/jinja/commit/1d55cddbb28e433779511f28f13a2d8c4ec45826 "><code>1d55cdd</code></a>
Triple quotes in docs (<a
href="https://redirect.github.com/pallets/jinja/issues/2064 ">#2064</a>)</li>
<li><a
href="https://github.com/pallets/jinja/commit/8a8eafc6b992ba177f1d3dd483f8465f18a11116 "><code>8a8eafc</code></a>
edit block assignment section</li>
<li>Additional commits viewable in <a
href="https://github.com/pallets/jinja/compare/3.1.4...3.1.5 ">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>
2025-01-08 17:31:13 -05:00
Vadym Barda and GitHub
8b29dc81e0
sdk-js: release 0.0.34 ( #2959 )
2025-01-08 10:59:40 -05:00
Vadym Barda and GitHub
1546eddfbe
sdk-js: add stream mode and stream subgraphs to runs.create ( #2958 )
2025-01-08 10:58:07 -05:00
Vadym Barda and GitHub
9680e35beb
docs: update tool in customer support tutorial ( #2956 )
...
Fixes #2952
2025-01-08 09:33:25 -05:00
Andrew Nguonly and GitHub
837f215857
docs: Rename Deploy Logs to Server Logs ( #2922 )
2025-01-07 17:13:06 -08:00
Vadym Barda and GitHub
e13261ac0a
ci: update langsmith and patch urllib3 vcr issues for notebook runner ( #2949 )
2025-01-07 20:09:57 -05:00
8ab206043c
langgraph[patch]: fix create_react_agent inspectability ( #2948 )
...
Co-authored-by: vbarda <vadym@langchain.dev >
2025-01-07 18:47:31 +00:00
Bagatur and GitHub
3dbe37041a
docs: readme nit ( #2899 )
...
When looking at [docs](https://langchain-ai.github.io/langgraph/ ) this
sentence is confusing, not clear there's two separate links or why one
of them would lead to repo
2025-01-07 11:00:14 -05:00
e00284b386
Clarifying the docstring for the add_edge function ( #2782 )
...
Revised docstring for StateGraph's add_edge method to clarify recurring
confusion #2775 #1462
---------
Co-authored-by: ashirgaokar <abhishek.shirgaokar@zee.com >
Co-authored-by: vbarda <vadym@langchain.dev >
2025-01-07 10:04:50 -05:00
merdan and GitHub
a36d2ac77d
Update langgraph_agentic_rag.ipynb ( #2885 )
...
add missing package
2025-01-07 09:51:29 -05:00
tomo-abe and GitHub
2a46534286
Fix typo introduction.ipynb ( #2894 )
...
Fixing typo
2025-01-07 09:47:23 -05:00
VItto Rivabella and GitHub
4b06791b8c
Update agent_supervisor.ipynb ( #2888 )
2025-01-07 09:45:41 -05:00
661e20eec4
build(deps-dev): bump jinja2 from 3.1.4 to 3.1.5 ( #2914 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/releases ">jinja2's
releases</a>.</em></p>
<blockquote>
<h2>3.1.5</h2>
<p>This is the Jinja 3.1.5 security fix release, which fixes security
issues and bugs but does not otherwise change behavior and should not
result in breaking changes compared to the latest feature release.</p>
<p>PyPI: <a
href="https://pypi.org/project/Jinja2/3.1.5/ ">https://pypi.org/project/Jinja2/3.1.5/ </a>
Changes: <a
href="https://jinja.palletsprojects.com/changes/#version-3-1-5 ">https://jinja.palletsprojects.com/changes/#version-3-1-5 </a>
Milestone: <a
href="https://github.com/pallets/jinja/milestone/16?closed=1 ">https://github.com/pallets/jinja/milestone/16?closed=1 </a></p>
<ul>
<li>The sandboxed environment handles indirect calls to
<code>str.format</code>, such as by passing a stored reference to a
filter that calls its argument. <a
href="https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h ">GHSA-q2x7-8rv6-6q7h</a></li>
<li>Escape template name before formatting it into error messages, to
avoid issues with names that contain f-string syntax. <a
href="https://redirect.github.com/pallets/jinja/issues/1792 ">#1792</a>,
<a
href="https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699 ">GHSA-gmj6-6f8f-6699</a></li>
<li>Sandbox does not allow <code>clear</code> and <code>pop</code> on
known mutable sequence types. <a
href="https://redirect.github.com/pallets/jinja/issues/2032 ">#2032</a></li>
<li>Calling sync <code>render</code> for an async template uses
<code>asyncio.run</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1952 ">#1952</a></li>
<li>Avoid unclosed <code>auto_aiter</code> warnings. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Return an <code>aclose</code>-able <code>AsyncGenerator</code> from
<code>Template.generate_async</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Avoid leaving <code>root_render_func()</code> unclosed in
<code>Template.generate_async</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>Avoid leaving async generators unclosed in blocks, includes and
extends. <a
href="https://redirect.github.com/pallets/jinja/issues/1960 ">#1960</a></li>
<li>The runtime uses the correct <code>concat</code> function for the
current environment when calling block references. <a
href="https://redirect.github.com/pallets/jinja/issues/1701 ">#1701</a></li>
<li>Make <code>|unique</code> async-aware, allowing it to be used after
another async-aware filter. <a
href="https://redirect.github.com/pallets/jinja/issues/1781 ">#1781</a></li>
<li><code>|int</code> filter handles <code>OverflowError</code> from
scientific notation. <a
href="https://redirect.github.com/pallets/jinja/issues/1921 ">#1921</a></li>
<li>Make compiling deterministic for tuple unpacking in a <code>{% set
... %}</code> call. <a
href="https://redirect.github.com/pallets/jinja/issues/2021 ">#2021</a></li>
<li>Fix dunder protocol (<code>copy</code>/<code>pickle</code>/etc)
interaction with <code>Undefined</code> objects. <a
href="https://redirect.github.com/pallets/jinja/issues/2025 ">#2025</a></li>
<li>Fix <code>copy</code>/<code>pickle</code> support for the internal
<code>missing</code> object. <a
href="https://redirect.github.com/pallets/jinja/issues/2027 ">#2027</a></li>
<li><code>Environment.overlay(enable_async)</code> is applied correctly.
<a
href="https://redirect.github.com/pallets/jinja/issues/2061 ">#2061</a></li>
<li>The error message from <code>FileSystemLoader</code> includes the
paths that were searched. <a
href="https://redirect.github.com/pallets/jinja/issues/1661 ">#1661</a></li>
<li><code>PackageLoader</code> shows a clearer error message when the
package does not contain the templates directory. <a
href="https://redirect.github.com/pallets/jinja/issues/1705 ">#1705</a></li>
<li>Improve annotations for methods returning copies. <a
href="https://redirect.github.com/pallets/jinja/issues/1880 ">#1880</a></li>
<li><code>urlize</code> does not add <code>mailto:</code> to values like
<code>@a@b</code>. <a
href="https://redirect.github.com/pallets/jinja/issues/1870 ">#1870</a></li>
<li>Tests decorated with <code>@pass_context</code> can be used with the
<code>|select</code> filter. <a
href="https://redirect.github.com/pallets/jinja/issues/1624 ">#1624</a></li>
<li>Using <code>set</code> for multiple assignment (<code>a, b = 1,
2</code>) does not fail when the target is a namespace attribute. <a
href="https://redirect.github.com/pallets/jinja/issues/1413 ">#1413</a></li>
<li>Using <code>set</code> in all branches of <code>{% if %}{% elif %}{%
else %}</code> blocks does not cause the variable to be considered
initially undefined. <a
href="https://redirect.github.com/pallets/jinja/issues/1253 ">#1253</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/blob/main/CHANGES.rst ">jinja2's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.1.5</h2>
<p>Released 2024-12-21</p>
<ul>
<li>The sandboxed environment handles indirect calls to
<code>str.format</code>, such as
by passing a stored reference to a filter that calls its argument.
:ghsa:<code>q2x7-8rv6-6q7h</code></li>
<li>Escape template name before formatting it into error messages, to
avoid
issues with names that contain f-string syntax.
:issue:<code>1792</code>, :ghsa:<code>gmj6-6f8f-6699</code></li>
<li>Sandbox does not allow <code>clear</code> and <code>pop</code> on
known mutable sequence
types. :issue:<code>2032</code></li>
<li>Calling sync <code>render</code> for an async template uses
<code>asyncio.run</code>.
:pr:<code>1952</code></li>
<li>Avoid unclosed <code>auto_aiter</code> warnings.
:pr:<code>1960</code></li>
<li>Return an <code>aclose</code>-able <code>AsyncGenerator</code> from
<code>Template.generate_async</code>. :pr:<code>1960</code></li>
<li>Avoid leaving <code>root_render_func()</code> unclosed in
<code>Template.generate_async</code>. :pr:<code>1960</code></li>
<li>Avoid leaving async generators unclosed in blocks, includes and
extends.
:pr:<code>1960</code></li>
<li>The runtime uses the correct <code>concat</code> function for the
current environment
when calling block references. :issue:<code>1701</code></li>
<li>Make <code>|unique</code> async-aware, allowing it to be used after
another
async-aware filter. :issue:<code>1781</code></li>
<li><code>|int</code> filter handles <code>OverflowError</code> from
scientific notation.
:issue:<code>1921</code></li>
<li>Make compiling deterministic for tuple unpacking in a <code>{% set
... %}</code>
call. :issue:<code>2021</code></li>
<li>Fix dunder protocol (<code>copy</code>/<code>pickle</code>/etc)
interaction with <code>Undefined</code>
objects. :issue:<code>2025</code></li>
<li>Fix <code>copy</code>/<code>pickle</code> support for the internal
<code>missing</code> object.
:issue:<code>2027</code></li>
<li><code>Environment.overlay(enable_async)</code> is applied correctly.
:pr:<code>2061</code></li>
<li>The error message from <code>FileSystemLoader</code> includes the
paths that were
searched. :issue:<code>1661</code></li>
<li><code>PackageLoader</code> shows a clearer error message when the
package does not
contain the templates directory. :issue:<code>1705</code></li>
<li>Improve annotations for methods returning copies.
:pr:<code>1880</code></li>
<li><code>urlize</code> does not add <code>mailto:</code> to values like
<code>@a@b</code>. :pr:<code>1870</code></li>
<li>Tests decorated with <code>@pass_context`` can be used with the
``|select`` filter. :issue:</code>1624`</li>
<li>Using <code>set</code> for multiple assignment (<code>a, b = 1,
2</code>) does not fail when the
target is a namespace attribute. :issue:<code>1413</code></li>
<li>Using <code>set</code> in all branches of <code>{% if %}{% elif %}{%
else %}</code> blocks
does not cause the variable to be considered initially undefined.
:issue:<code>1253</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pallets/jinja/commit/877f6e51be8e1765b06d911cfaa9033775f051d1 "><code>877f6e5</code></a>
release version 3.1.5</li>
<li><a
href="https://github.com/pallets/jinja/commit/8d588592653b052f957b720e1fc93196e06f207f "><code>8d58859</code></a>
remove test pypi</li>
<li><a
href="https://github.com/pallets/jinja/commit/eda8fe86fd716dfce24910294e9f1fc81fbc740c "><code>eda8fe8</code></a>
update dev dependencies</li>
<li><a
href="https://github.com/pallets/jinja/commit/c8fdce1e0333f1122b244b03a48535fdd7b03d91 "><code>c8fdce1</code></a>
Fix bug involving calling set on a template parameter within all
branches of ...</li>
<li><a
href="https://github.com/pallets/jinja/commit/66587ce989e5a478e0bb165371fa2b9d42b7040f "><code>66587ce</code></a>
Fix bug where set would sometimes fail within if</li>
<li><a
href="https://github.com/pallets/jinja/commit/fbc3a696c729d177340cc089531de7e2e5b6f065 "><code>fbc3a69</code></a>
Add support for namespaces in tuple parsing (<a
href="https://redirect.github.com/pallets/jinja/issues/1664 ">#1664</a>)</li>
<li><a
href="https://github.com/pallets/jinja/commit/b8f4831d41e6a7cb5c40d42f074ffd92d2daccfc "><code>b8f4831</code></a>
more comments about nsref assignment</li>
<li><a
href="https://github.com/pallets/jinja/commit/ee832194cd9f55f75e5a51359b709d535efe957f "><code>ee83219</code></a>
Add support for namespaces in tuple assignment</li>
<li><a
href="https://github.com/pallets/jinja/commit/1d55cddbb28e433779511f28f13a2d8c4ec45826 "><code>1d55cdd</code></a>
Triple quotes in docs (<a
href="https://redirect.github.com/pallets/jinja/issues/2064 ">#2064</a>)</li>
<li><a
href="https://github.com/pallets/jinja/commit/8a8eafc6b992ba177f1d3dd483f8465f18a11116 "><code>8a8eafc</code></a>
edit block assignment section</li>
<li>Additional commits viewable in <a
href="https://github.com/pallets/jinja/compare/3.1.4...3.1.5 ">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>
2025-01-07 09:41:37 -05:00
William FH and GitHub
a486eb5e75
0.2.61 ( #2933 )
2025-01-05 14:43:43 -08:00
William Fu-Hinthorn
e9d62944d3
0.2.61
2025-01-05 14:42:25 -08:00
William FH and GitHub
cbd09abe58
fix formatting ( #2880 )
2025-01-04 04:59:04 -08:00
William FH and GitHub
4798443e31
Import TypedDict from typing_extensions, add ruff rule ( #2910 )
...
Within `libs/langgraph`, change all `TypedDict` imports to come from
`typing_extensions` rather than `typing`, as `pydantic` doesn't like the
latter.
Additionally, add a ruff rule to ban these imports too (so this doesn't
regress).
Solves #2909 .
2025-01-04 04:58:43 -08:00
William FH and GitHub
ce900864fa
Fix typo in client.py ( #2925 )
...
Typo change in function doc
2025-01-04 04:58:23 -08:00
Ramón Vargas and GitHub
577f95bd50
Merge branch 'main' into patch-1
2025-01-04 13:26:54 +01:00
William FH and GitHub
59a11c63b0
Support multiple args in @task's ( #2923 )
...
Also add support for just `@task` without the ()'s
2025-01-04 04:25:49 -08:00
Andrew Nguonly and GitHub
08098688d4
docs: Update docs for POST /v1/projects/{project_id}/revisions endpoint ( #2926 )
2025-01-03 10:36:38 -08:00
Ramón Vargas and GitHub
687ee02509
Update client.py
...
Typo change in function doc
2025-01-03 18:40:15 +01:00
William Fu-Hinthorn
451bc038b6
Support multiple args in @task's
2025-01-03 07:56:27 -08:00
Nuno Campos and GitHub
c865e8c070
Update README.md
2025-01-02 10:01:35 +00:00
Nuno Campos and GitHub
d74ec2c2de
Bubble up stack close task ( #2913 )
2025-01-02 09:54:43 +00:00
Nuno Campos and GitHub
f70bfc6d87
Fix stream_mode=updates for cases where one node returns multiple updates for same key ( #2903 )
2025-01-02 09:54:06 +00:00
David Duong and GitHub
c86f0af107
fix(sdk): Fix SDK Command.update type ( #2901 )
...
Align typing with JS:
https://github.com/langchain-ai/langgraphjs/blob/main/libs/langgraph/src/constants.ts#L226
2025-01-01 15:55:58 +01:00
William Fu-Hinthorn
c6ee807de5
Bubble up stack close task
2025-01-01 05:41:57 -08:00
Johannes Mario Meissner
7256752f48
Import TypedDict from typing_extensions, add ruff rule
2024-12-31 22:14:16 +09:00
Nuno Campos
dac84951aa
Fix stream_mode=updates for cases where one node returns multiple updates for same key
2024-12-30 20:10:59 +00:00
Nuno Campos and GitHub
3aaa3e38a0
Add more tests for async cancellation ( #2902 )
2024-12-30 20:10:14 +00:00
Nuno Campos
400d83708a
Fix
2024-12-30 20:01:35 +00:00
Nuno Campos
1d9c7ef461
Fix
2024-12-30 19:29:14 +00:00
Nuno Campos
01e5ecedfd
Remove assertion of order
2024-12-30 19:26:18 +00:00
Nuno Campos
76199701b0
Add more tests for async cancellation
2024-12-30 18:56:56 +00:00
jacoblee93
2766fccb5b
Bump Python version
2024-12-30 10:30:50 -08:00
jacoblee93
6aef3e0117
Update Python types too
2024-12-30 10:29:01 -08:00
jacoblee93
c5023ba147
Modify type
2024-12-30 10:22:06 -08:00
jacoblee93
9a9fe2fdec
Update JS SDK command types
2024-12-30 10:14:51 -08:00
Andrew Nguonly and GitHub
effddca494
docs: LangGraph Control Plane API ( #2881 )
2024-12-26 16:15:18 -08:00
Harrison Chase
2ab59840e7
cr
2024-12-26 12:48:08 -08:00
Eugene Yurtsev and GitHub
0fb65f6e67
docs: fix accidental nav bar change ( #2865 )
2024-12-23 21:47:14 -05:00
Eugene Yurtsev
0ecd23eec6
fix accidental commit
2024-12-23 21:38:16 -05:00
Eugene Yurtsev and GitHub
e137dabf22
docs: memoize class resolution ( #2861 )
...
Main purpose is to avoid all the repeated log warnings which make the
builds hare to understand
2024-12-23 14:24:16 -05:00
Eugene Yurtsev and GitHub
fdc1e47aa1
docs: add edit uri ( #2860 )
2024-12-23 14:20:17 -05:00
Eugene Yurtsev
866780b477
x
2024-12-23 14:11:38 -05:00
Eugene Yurtsev
18d3fa2e15
x
2024-12-23 14:06:25 -05:00
Eugene Yurtsev and GitHub
4b0c53fb5c
docs: improve api reference generation in code blocks ( #2857 )
...
Generate api references from any markdown -- this will handle markdown
files in notebooks as well as code blocks in plain markdown
2024-12-23 13:35:08 -05:00
Eugene Yurtsev
5183484322
x
2024-12-22 22:10:29 -05:00
Eugene Yurtsev
8213e4719b
qx
2024-12-22 22:10:06 -05:00
Eugene Yurtsev
f993dfcfcb
x
2024-12-22 22:07:59 -05:00
Eugene Yurtsev and GitHub
9e31b82d8d
docs: Add highlight-next-line ( #2850 )
...
Add highlight next line


2024-12-20 21:10:51 -05:00
Vadym Barda and GitHub
a3c5b8fc37
checkpoint-postgres: release 2.0.9 ( #2849 )
2024-12-20 17:47:20 -05:00
Eugene Yurtsev
1e0aebc3ec
x
2024-12-20 17:38:20 -05:00
Eugene Yurtsev
056f581342
x
2024-12-20 17:29:10 -05:00
Eugene Yurtsev
a0d7323bec
x
2024-12-20 17:14:22 -05:00
Vadym Barda and GitHub
44ee0199fd
checkpoint postgres: add a shallow checkpointer ( #2826 )
...
This PR adds a "shallow" version of `PostgresSaver` checkpointer that
ONLY stores the most recent checkpoint and does NOT retain any history.
It is meant to be a light-weight drop-in replacement for the
PostgresSaver that supports most of the LangGraph persistence
functionality with the exception of time travel.
2024-12-20 17:51:20 +00:00
1de61f6fce
docs: Improve explanation and fix grammar mistakes in agentic concepts guide ( #2541 )
...
Made some of the explanations more clear by rephrasing certain parts of
the sentence.
Fixed minor grammar mistakes also.
---------
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
2024-12-20 11:20:27 -05:00
Vadym Barda and GitHub
f33db6cec4
docs: remove langgraph up references ( #2847 )
2024-12-20 11:00:04 -05:00
Vadym Barda and GitHub
c72107177b
docs: update custom agent in handoffs doc ( #2846 )
2024-12-20 14:59:38 +00:00
Yassin Nouh and GitHub
f520a38d30
docs: missing docstring for aupdate_state method ( #2435 )
2024-12-20 09:06:29 -05:00
Andrew Nguonly and GitHub
d0278f520c
docs: Update CPU for Production type deployments ( #2845 )
2024-12-19 21:04:31 -08:00
Vadym Barda and GitHub
506539ac9d
langgraph: actually run test_large_cases_async ( #2843 )
2024-12-19 22:25:22 +00:00
JasonJ and GitHub
d6c6516f16
fix: minor modification, syntax error ( #1905 )
2024-12-19 15:29:10 -05:00
Sarthak Gupta and GitHub
6f5d6d9993
docs: remove Literal as it is not being used ( #2149 )
...
This PR removes the use of `from typing import Literal` since it is not
being used in the code implementation
2024-12-19 15:25:27 -05:00
Neeraj G and GitHub
8dcd058404
Formatting inconsistency in low_level.md ( #1342 )
2024-12-19 15:21:49 -05:00
William FH and GitHub
e3050b3a3e
[Docs] Show example payloads ( #2839 )
2024-12-19 10:38:17 -08:00
William Fu-Hinthorn
9e767afad7
Link
2024-12-19 09:09:36 -08:00
William Fu-Hinthorn
62b35277ec
Warning more obvious
2024-12-19 09:01:50 -08:00
William Fu-Hinthorn
931419909b
rm
2024-12-19 08:59:11 -08:00
William Fu-Hinthorn
e849c869cc
[Docs] Add example payloads to code
2024-12-19 08:52:31 -08:00
William FH and GitHub
5a580ae5ec
[Docs] Add diagrams ( #2834 )
2024-12-19 06:37:55 -08:00
William Fu-Hinthorn
47a0e09513
Add prereq
2024-12-19 06:28:56 -08:00
William Fu-Hinthorn
f37486efe2
Add images
2024-12-19 06:26:52 -08:00
William FH and GitHub
fa61be9fbc
[Docs] Bullet points ( #2830 )
2024-12-18 23:10:13 -08:00
William Fu-Hinthorn
08097a78bd
[Docs] Bullet points
2024-12-18 23:09:06 -08:00
William FH and GitHub
43f610e9a6
[Doc] Fix env var name ( #2828 )
2024-12-18 21:32:08 -08:00
William Fu-Hinthorn
aa1ddee67e
[Doc] Fix env var name
2024-12-18 21:30:12 -08:00
William FH and GitHub
12b46e8a69
[Docs] Make example more illustrative ( #2827 )
2024-12-18 18:58:26 -08:00
William Fu-Hinthorn
d90f69105a
missed
2024-12-18 18:49:49 -08:00
William Fu-Hinthorn
fbd3b67183
[Docs] Make example more illustrative
2024-12-18 18:47:35 -08:00
William FH and GitHub
6d8be543e7
Update syntax highlighting ( #2825 )
2024-12-18 17:53:33 -08:00
William Fu-Hinthorn
1c1772f7ec
Update syntax highlighting
2024-12-18 17:51:07 -08:00
William FH and GitHub
ce239c784a
[Docs] Ignore linkcheck localhost on main ( #2824 )
2024-12-18 16:48:02 -08:00
William Fu-Hinthorn
c14c978824
[Docs] Ignore localhost on main
2024-12-18 16:46:34 -08:00
ebb2823be0
build(deps-dev): bump tornado from 6.4.1 to 6.4.2 in /libs/langgraph ( #2814 )
...
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.4.1 to
6.4.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst ">tornado's
changelog</a>.</em></p>
<blockquote>
<h1>Release notes</h1>
<p>.. toctree::
:maxdepth: 2</p>
<p>releases/v6.4.2
releases/v6.4.1
releases/v6.4.0
releases/v6.3.3
releases/v6.3.2
releases/v6.3.1
releases/v6.3.0
releases/v6.2.0
releases/v6.1.0
releases/v6.0.4
releases/v6.0.3
releases/v6.0.2
releases/v6.0.1
releases/v6.0.0
releases/v5.1.1
releases/v5.1.0
releases/v5.0.2
releases/v5.0.1
releases/v5.0.0
releases/v4.5.3
releases/v4.5.2
releases/v4.5.1
releases/v4.5.0
releases/v4.4.3
releases/v4.4.2
releases/v4.4.1
releases/v4.4.0
releases/v4.3.0
releases/v4.2.1
releases/v4.2.0
releases/v4.1.0
releases/v4.0.2
releases/v4.0.1
releases/v4.0.0
releases/v3.2.2
releases/v3.2.1
releases/v3.2.0
releases/v3.1.1
releases/v3.1.0
releases/v3.0.2
releases/v3.0.1
releases/v3.0.0
releases/v2.4.1
releases/v2.4.0</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tornadoweb/tornado/commit/a5ecfab15e52202a46d34638aad93cddca86d87b "><code>a5ecfab</code></a>
Bump version to 6.4.2</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/bc7df6bafdec61155e7bf385081feb205463857d "><code>bc7df6b</code></a>
Fix tests with Twisted 24.7.0</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533 "><code>d5ba4a1</code></a>
httputil: Fix quadratic performance of cookie parsing</li>
<li>See full diff in <a
href="https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.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: Vadym Barda <vadym@langchain.dev >
2024-12-18 19:36:20 -05:00
William FH and GitHub
25f0224f97
[Docs] Link glob ( #2823 )
2024-12-18 16:35:09 -08:00
William FH and GitHub
fdf9b0ad48
Merge branch 'main' into wfh/expand_link_glob
2024-12-18 16:34:58 -08:00
William FH and GitHub
00ecccfd81
[docs] Remove show source: true in ref docs ( #2821 )
2024-12-18 16:34:46 -08:00
William Fu-Hinthorn
7d5452d039
[Docs] Link glob
2024-12-18 16:32:02 -08:00
William FH and GitHub
2d8de54e80
[Docs] Ignore 127.0.0 links ( #2822 )
2024-12-18 16:16:42 -08:00
William Fu-Hinthorn
32abc62bc1
[Docs] Ignore 127.0.0 links
2024-12-18 16:14:54 -08:00
William Fu-Hinthorn
e36cf4111d
[docs] Remove show source: true in ref docs
2024-12-18 16:04:35 -08:00
William FH and GitHub
53a2c2bdcd
[Docs] Fix mkdocs.yml paths ( #2820 )
2024-12-18 15:58:30 -08:00
William Fu-Hinthorn
2cae9337a7
Fix broken index
2024-12-18 15:56:35 -08:00
William Fu-Hinthorn
b056e17b38
Linkcheck
2024-12-18 15:46:45 -08:00
William FH and GitHub
2855caa3eb
Fix config cli type from Path -> str ( #2771 )
...
Config parameter in `dev` was typed as pathlib.Path, but it is actually
a string. We need to manually create a Path from the string when parsing
the config.
FIxes #2647
2024-12-18 15:25:15 -08:00
William FH and GitHub
140566e662
[Docs] Add auth docs ( #2797 )
2024-12-18 15:22:26 -08:00
William FH
b7f57b1375
Merge branch 'main' into wfh/docs/auth
2024-12-18 15:09:15 -08:00
Vadym Barda and GitHub
121c5863db
docs: add a banner for langchain academy ( #2818 )
2024-12-18 23:08:51 +00:00
William Fu-Hinthorn
1709cd3fb5
concept
2024-12-18 15:08:19 -08:00
William Fu-Hinthorn
d4a1fe5a03
concept
2024-12-18 15:03:13 -08:00
William Fu-Hinthorn
06e1e4ed12
Update cross-linking
2024-12-18 14:52:02 -08:00
Vadym Barda and GitHub
1e62b175ba
docs: make the studio web UI docs more clear ( #2812 )
2024-12-18 22:40:22 +00:00
William FH and GitHub
f89fe49f99
Merge branch 'main' into wfh/docs/auth
2024-12-18 14:26:39 -08:00
William Fu-Hinthorn
2e1971baf3
Remaining feedback
2024-12-18 14:25:25 -08:00
William Fu-Hinthorn
948027aef2
Notebook style
2024-12-18 14:22:15 -08:00
William Fu-Hinthorn
6954e63671
Numbering
2024-12-18 14:16:35 -08:00
William Fu-Hinthorn
7f0bfdc139
Feedback
2024-12-18 14:15:54 -08:00
William FH and GitHub
0496128e6b
[CLI] Bump min-bound for langgraph-api ( #2816 )
2024-12-18 12:38:37 -08:00
William FH and GitHub
d79b1a61e8
Merge branch 'main' into fix-cli-path
2024-12-18 12:34:39 -08:00
William Fu-Hinthorn
e227f6ce83
Bump version
2024-12-18 12:30:06 -08:00
William Fu-Hinthorn
8a1a11fde5
[CLI] Update min bound for langgraph-api
2024-12-18 12:29:17 -08:00
Andrew Nguonly and GitHub
c47fd171c6
docs(cloud): Add note about GitHub org/acc owner ( #2815 )
...
### Summary
Clarifying that in order to install the `hosted-langserve` GitHub app,
the GitHub user must be an owner of the organization or account.
2024-12-18 11:45:30 -08:00
William Fu-Hinthorn
1e07a9ac97
Add admonition
2024-12-18 11:41:52 -08:00
William Fu-Hinthorn
d9cc227e75
Unpin install command in doc
2024-12-18 11:41:52 -08:00
6b45a281c1
fix example in docs of state_schema in create_react_agent ( #2109 )
...
because in
```python
def call_model(
state: AgentState,
config: RunnableConfig,
)
...
if (
(
"remaining_steps" not in state
and state["is_last_step"]
and has_tool_calls
)
```
https://github.com/langchain-ai/langgraph/blob/c0b56bf60d84ed435609c35b0691cd0305ceae78/libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L543
the AgentState requires is_last_step to have a default value, like
`False`, and `IsLastStep` can satisfy it.
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-12-18 11:41:52 -08:00
Bagatur and William Fu-Hinthorn
532bc71c11
langgraph[patch]: format messages in state ( #2199 )
...
Add `format` flag to `add_messages` which allows you to specify if the
contents of messages in state should be formatted in a particular way.
PR only adds support for OpenAI style contents. Helpful if you're using
different models at different nodes and want a unified messages format
to interact with when you manually update messages.
2024-12-18 11:41:52 -08:00
dabd75f1f9
build(deps-dev): bump tornado from 6.4.1 to 6.4.2 ( #2519 )
...
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.4.1 to
6.4.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst ">tornado's
changelog</a>.</em></p>
<blockquote>
<h1>Release notes</h1>
<p>.. toctree::
:maxdepth: 2</p>
<p>releases/v6.4.2
releases/v6.4.1
releases/v6.4.0
releases/v6.3.3
releases/v6.3.2
releases/v6.3.1
releases/v6.3.0
releases/v6.2.0
releases/v6.1.0
releases/v6.0.4
releases/v6.0.3
releases/v6.0.2
releases/v6.0.1
releases/v6.0.0
releases/v5.1.1
releases/v5.1.0
releases/v5.0.2
releases/v5.0.1
releases/v5.0.0
releases/v4.5.3
releases/v4.5.2
releases/v4.5.1
releases/v4.5.0
releases/v4.4.3
releases/v4.4.2
releases/v4.4.1
releases/v4.4.0
releases/v4.3.0
releases/v4.2.1
releases/v4.2.0
releases/v4.1.0
releases/v4.0.2
releases/v4.0.1
releases/v4.0.0
releases/v3.2.2
releases/v3.2.1
releases/v3.2.0
releases/v3.1.1
releases/v3.1.0
releases/v3.0.2
releases/v3.0.1
releases/v3.0.0
releases/v2.4.1
releases/v2.4.0</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tornadoweb/tornado/commit/a5ecfab15e52202a46d34638aad93cddca86d87b "><code>a5ecfab</code></a>
Bump version to 6.4.2</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/bc7df6bafdec61155e7bf385081feb205463857d "><code>bc7df6b</code></a>
Fix tests with Twisted 24.7.0</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533 "><code>d5ba4a1</code></a>
httputil: Fix quadratic performance of cookie parsing</li>
<li>See full diff in <a
href="https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.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: Vadym Barda <vadym@langchain.dev >
2024-12-18 11:41:52 -08:00
Nuno Campos and William Fu-Hinthorn
ef88b805a7
0.2.60
2024-12-18 11:41:52 -08:00
Nuno Campos and William Fu-Hinthorn
7e8a68f0f0
Fix
2024-12-18 11:41:52 -08:00
Nuno Campos and William Fu-Hinthorn
e20bd15580
lib: Fix incorrect default for Command.update
...
- this should not default to empty tuple, it should default to None
2024-12-18 11:41:52 -08:00
William Fu-Hinthorn
51c57cc819
[SDK] Add studio user object
2024-12-18 11:41:52 -08:00
William FH and GitHub
09a6450eed
[SDK] Add studio user object ( #2813 )
2024-12-18 11:33:50 -08:00
William FH and GitHub
77fba7a571
Merge branch 'main' into wfh/sdk/studio_user
2024-12-18 11:28:21 -08:00
William Fu-Hinthorn
60232eadc4
[SDK] Add studio user object
2024-12-18 11:21:13 -08:00
83e4e6c4c2
Update docs/docs/tutorials/auth/add_auth_server.md
...
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2024-12-18 11:15:38 -08:00
William FH and GitHub
a6f0c665af
Unpin install command in doc ( #2811 )
2024-12-18 10:13:29 -08:00
William Fu-Hinthorn
f1a2e19144
Add admonition
2024-12-18 10:04:57 -08:00
William Fu-Hinthorn
b28e9d0a87
Unpin install command in doc
2024-12-18 10:03:16 -08:00
William Fu-Hinthorn
b3230cf6d1
More guidance
2024-12-18 10:01:56 -08:00
1a6c3114f3
fix example in docs of state_schema in create_react_agent ( #2109 )
...
because in
```python
def call_model(
state: AgentState,
config: RunnableConfig,
)
...
if (
(
"remaining_steps" not in state
and state["is_last_step"]
and has_tool_calls
)
```
https://github.com/langchain-ai/langgraph/blob/c0b56bf60d84ed435609c35b0691cd0305ceae78/libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L543
the AgentState requires is_last_step to have a default value, like
`False`, and `IsLastStep` can satisfy it.
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-12-18 12:46:33 -05:00
Bagatur and GitHub
4f1bf4fa7a
langgraph[patch]: format messages in state ( #2199 )
...
Add `format` flag to `add_messages` which allows you to specify if the
contents of messages in state should be formatted in a particular way.
PR only adds support for OpenAI style contents. Helpful if you're using
different models at different nodes and want a unified messages format
to interact with when you manually update messages.
2024-12-18 17:19:04 +00:00
22fa673872
build(deps-dev): bump tornado from 6.4.1 to 6.4.2 ( #2519 )
...
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.4.1 to
6.4.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst ">tornado's
changelog</a>.</em></p>
<blockquote>
<h1>Release notes</h1>
<p>.. toctree::
:maxdepth: 2</p>
<p>releases/v6.4.2
releases/v6.4.1
releases/v6.4.0
releases/v6.3.3
releases/v6.3.2
releases/v6.3.1
releases/v6.3.0
releases/v6.2.0
releases/v6.1.0
releases/v6.0.4
releases/v6.0.3
releases/v6.0.2
releases/v6.0.1
releases/v6.0.0
releases/v5.1.1
releases/v5.1.0
releases/v5.0.2
releases/v5.0.1
releases/v5.0.0
releases/v4.5.3
releases/v4.5.2
releases/v4.5.1
releases/v4.5.0
releases/v4.4.3
releases/v4.4.2
releases/v4.4.1
releases/v4.4.0
releases/v4.3.0
releases/v4.2.1
releases/v4.2.0
releases/v4.1.0
releases/v4.0.2
releases/v4.0.1
releases/v4.0.0
releases/v3.2.2
releases/v3.2.1
releases/v3.2.0
releases/v3.1.1
releases/v3.1.0
releases/v3.0.2
releases/v3.0.1
releases/v3.0.0
releases/v2.4.1
releases/v2.4.0</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tornadoweb/tornado/commit/a5ecfab15e52202a46d34638aad93cddca86d87b "><code>a5ecfab</code></a>
Bump version to 6.4.2</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/bc7df6bafdec61155e7bf385081feb205463857d "><code>bc7df6b</code></a>
Fix tests with Twisted 24.7.0</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533 "><code>d5ba4a1</code></a>
httputil: Fix quadratic performance of cookie parsing</li>
<li>See full diff in <a
href="https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.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: Vadym Barda <vadym@langchain.dev >
2024-12-18 10:04:05 -05:00
Nuno Campos
3d85f2296c
0.2.60
2024-12-18 13:45:32 +00:00
Nuno Campos and GitHub
5ad9cfa030
lib: Fix incorrect default for Command.update ( #2809 )
...
- this should not default to empty tuple, it should default to None
2024-12-18 13:35:53 +00:00
Nuno Campos
39281c866d
Fix
2024-12-18 13:28:22 +00:00
Nuno Campos
4c3a38d324
lib: Fix incorrect default for Command.update
...
- this should not default to empty tuple, it should default to None
2024-12-18 13:15:38 +00:00
William Fu-Hinthorn
8fc3f204ea
Add pt 2 and 3
2024-12-18 01:10:33 -08:00
William FH
2df2f41dc7
Merge branch 'main' into wfh/docs/auth
2024-12-18 01:08:41 -08:00
William Fu-Hinthorn
30e647abce
Add links
2024-12-18 01:06:01 -08:00
William Fu-Hinthorn
b85c9961d7
Split into 3
2024-12-18 00:50:38 -08:00
William Fu-Hinthorn
1c97bddc14
Fix cross linking
2024-12-17 18:22:56 -08:00
William Fu-Hinthorn
97b3d1b9ac
Simplify tutorial
2024-12-17 17:43:09 -08:00
Vadym Barda and GitHub
8b70da6a0f
docs: update howtos nav ( #2805 )
2024-12-17 19:50:00 -05:00
William Fu-Hinthorn
7904fdc928
Update explanations
2024-12-17 16:41:00 -08:00
William Fu-Hinthorn
ba56ba1b2a
Add langgraph reference
2024-12-17 16:31:13 -08:00
William Fu-Hinthorn
12f2a480cd
Add concepts
2024-12-17 16:25:48 -08:00
Vadym Barda and GitHub
532cb0a691
docs: reorg multi-agent howtos ( #2784 )
2024-12-18 00:01:28 +00:00
William Fu-Hinthorn
23e18e8c1b
Add how-tos
2024-12-17 14:50:09 -08:00
William Fu-Hinthorn
6d160a2865
Merge branch 'main' into wfh/docs/auth
2024-12-17 14:04:31 -08:00
e0b4eb6454
doc: fixed typo in interrupt_concurrent.md ( #2791 )
...
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2024-12-17 15:49:44 -05:00
Eugene Yurtsev and GitHub
608ff41e78
ci: fix link checker ( #2803 )
2024-12-17 15:41:10 -05:00
Eugene Yurtsev and GitHub
9280e3411b
docs: update why langgraph and other typos ( #2799 )
2024-12-17 15:36:41 -05:00
William FH and GitHub
36fa8e0097
Update ref docs ( #2802 )
2024-12-17 11:54:32 -08:00
Eugene Yurtsev
f63217794d
qx
2024-12-17 14:50:26 -05:00
William Fu-Hinthorn
bcb11640a5
Update AuthContext
2024-12-17 11:46:30 -08:00
William Fu-Hinthorn
b6c3a0d0fd
Update wording
2024-12-17 11:37:25 -08:00
Luke Jang and GitHub
8b14b6a9f0
docs: removed redundant import from the example ( #2794 )
...
there were two same import
"from langchain_openai import ChatOpenAI"
2024-12-17 14:33:35 -05:00
William Fu-Hinthorn
8c63cc1778
Add excption docs
2024-12-17 11:22:54 -08:00
William Fu-Hinthorn
6756e91ffc
Authenticate return single type
2024-12-17 11:01:54 -08:00
William Fu-Hinthorn
3dd1e67977
Add mermaid
2024-12-17 10:54:18 -08:00
Eugene Yurtsev and GitHub
fc5d919aee
docs: fix some typos ( #2790 )
2024-12-17 13:53:57 -05:00
Eugene Yurtsev
0369300160
update
2024-12-17 12:24:15 -05:00
William Fu-Hinthorn
245cf83b20
[Docs] Add auth tutorial
2024-12-17 08:59:04 -08:00
Vadym Barda and GitHub
9bd351b80f
docs: small fixes ( #2798 )
2024-12-17 11:58:38 -05:00
Eugene Yurtsev and GitHub
83c3f86159
docs: fix port
...
Fix port from 8123 (was the default for langgraph up) to 2024 (the default for langgraph dev)
2024-12-17 10:29:12 -05:00
Eugene Yurtsev
3a41a2addc
q
2024-12-16 22:04:21 -05:00
Eugene Yurtsev
3eca363c23
x
2024-12-16 22:01:53 -05:00
Eugene Yurtsev
2f1e864570
x
2024-12-16 22:00:41 -05:00
Eugene Yurtsev
79a1ce6804
x
2024-12-16 21:47:32 -05:00
Eugene Yurtsev and GitHub
deb99a9acb
docs: Update langgraph cloud deploy quickstart
...
docs: update langgraph cloud deploy quickstart
2024-12-16 20:39:58 -05:00
William FH and GitHub
781d0cf27a
[CLI] Handle dependencies js up --watch
2024-12-16 16:27:56 -08:00
William Fu-Hinthorn
8a02ddd868
[CLI] Handle dependencies js up --watch
2024-12-16 16:19:23 -08:00
Eugene Yurtsev
5f7dcbb07a
x
2024-12-16 17:57:01 -05:00
Eugene Yurtsev
9615580a66
x
2024-12-16 17:55:29 -05:00
Eugene Yurtsev
d45eb0f9f2
x
2024-12-16 17:49:38 -05:00
William FH and GitHub
4caa483478
[SDK] relax response typehint
...
So you can return a dict with extra args
2024-12-16 14:02:46 -08:00
William Fu-Hinthorn
006305f6a8
[SDK] relax response typehint
2024-12-16 11:28:21 -08:00
Vadym Barda and GitHub
d9b7aaa5cc
langgraph: relax constraints in ToolNode Command validation ( #2778 )
2024-12-16 14:00:45 -05:00
Vadym Barda and GitHub
d2794eda0a
langgraph: relax type annotation for Command.update ( #2777 )
...
Addresses #2758 , #2747
2024-12-16 14:00:23 -05:00
William FH and GitHub
9cbef9b542
[SDK] Add HTTPException type
...
To make it easier to raise exceptions with custom status codes in the imported file.
2024-12-16 09:01:15 -08:00
William Fu-Hinthorn
343dc2d37a
[SDK] Add HTTPException type
2024-12-16 08:45:44 -08:00
David Duong and GitHub
ca0ff1d334
Merge pull request #2774 from langchain-ai/dqbd/studio-datasets-navigation
...
docs: update studio index to add datasets
2024-12-16 20:14:46 +04:00
Tat Dat Duong
f5663ffa49
docs: update studio index to add datasets
2024-12-16 16:44:43 +01:00
David Duong and GitHub
e7477a9315
Merge pull request #2680 from langchain-ai/dqbd/add-to-dataset-docs
...
feat(studio): add Add to Dataset docs
2024-12-16 19:31:49 +04:00
Tat Dat Duong
18c083b60a
Use S3 for assets
2024-12-16 16:24:05 +01:00
Vadym Barda and GitHub
2f0e3c66d1
docs: update structured output how-to guide ( #2773 )
...
Fixes #2760
2024-12-16 09:51:12 -05:00
Zapiron and GitHub
d9ec185e72
docs: Update correct ID for initial ToolNode hyperlink ( #2767 )
...
Automatically leads to the correct `ToolNode` section instead of the top
2024-12-16 09:15:34 -05:00
Denis Capkovic
721945b5ce
Fix config cli type from Path -> str
...
Config parameter in `dev` was typed as pathlib.Path, but it is actually
a string. We need to manually create a Path from the string when parsing
the config.
2024-12-16 10:52:02 +01:00
William FH and GitHub
87fba0ecd0
[CLI] Add openapi param to config
...
For langraph api
2024-12-14 07:33:07 -08:00
William FH and GitHub
30e6b5482f
Merge branch 'main' into wfh/cli/add_auth_env_var
2024-12-14 07:26:34 -08:00
William Fu-Hinthorn
77b42e0867
[CLI] Add openapi param to config
2024-12-14 07:25:14 -08:00
William FH and GitHub
cbe92e3e55
[CLI] Add auth param to langgraph.json
...
Preliminary for supporting custom auth.
2024-12-13 17:09:09 -08:00
William Fu-Hinthorn
70f2efc9a1
Update dev
2024-12-13 17:01:01 -08:00
William Fu-Hinthorn
dbf5b4920e
[CLI] Add auth env var
2024-12-13 16:36:35 -08:00
William FH and GitHub
9291ae8646
Merge pull request #2761 from langchain-ai/wfh/auth/types
...
[SDK] Add auth types
2024-12-13 16:25:41 -08:00
William Fu-Hinthorn
2713082707
[SDK] Add auth types
2024-12-13 16:17:35 -08:00
Eugene Yurtsev and GitHub
89eb938b30
docs: fix typo in example
...
Fix typo in thread config
2024-12-13 12:47:30 -05:00
Eugene Yurtsev
26e97492b7
add missing thread config
2024-12-13 12:39:26 -05:00
Vadym Barda and GitHub
4c3958f0be
docs: update custom tool call snippet ( #2754 )
2024-12-13 09:42:13 -05:00
980b592631
Fixed the code snippet in the Update State From Tools tutorial ( #2752 )
...
Hi,
While reading the [update state from
tools](https://langchain-ai.github.io/langgraph/how-tos/update-state-from-tools/ )
tutorial. I noticed that this code snippet contains a syntax error:
```python
def call_tools(state):
...
commands = [tools_by_name[call["name"].invoke(call, config={"coerce_tool_content": False}) for tool_call in tool_calls]
return commands
```
There is a missing closing bracket `]` in the list comprehension.
Additionally, the variable `call` inside the list comprehension is
undefined, it should be `tool_call`.
Here is a corrected version of the code:
```python
def call_tools(state):
...
commands = [tools_by_name[tool_call["name"]].invoke(tool_call, config={"coerce_tool_content": False}) for tool_call in tool_calls]
return commands
```
---------
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
2024-12-13 09:40:18 -05:00
Imad Saddik and GitHub
e494869c72
Fixed the documentation for the persistence concept ( #2750 )
...
Hi,
I was reading the
[persistence](https://langchain-ai.github.io/langgraph/concepts/persistence/#update-state )
concept in LangGraph and found a sentence with a missing verb, so I
fixed it.
2024-12-13 09:38:17 -05:00
da0aac7556
Updating MongoDB checkpointer docs ( #2743 )
...
This PR updates the [How-to
guide](https://langchain-ai.github.io/langgraph/how-tos/persistence_mongodb/ )
on using the MongoDB checkpointer.
The guide currently explains how to create a custom MongoDB
checkpointer, but we now have a checkpointer implementation available
via the `langgraph-checkpoint-mongodb` library. This PR updates the
current resource to guide users on how to use this implementation.
---------
Co-authored-by: ajosh0504 <apoorva.joshi@mongodb.com >
Co-authored-by: vbarda <vadym@langchain.dev >
2024-12-12 15:31:57 -05:00
Vadym Barda and GitHub
a200027cda
checkpoint: release 2.0.9 ( #2744 )
2024-12-12 15:06:54 -05:00
Eugene Yurtsev and GitHub
8cd57f7457
Merge pull request #2742 from langchain-ai/eugene/more_info_in_human_in_the_loop
...
concepts: HIL add more context to interrupt section
2024-12-12 14:55:00 -05:00
Nuno Campos
26c1f1ee7a
sdk-py 0.1.44
2024-12-12 11:48:20 -08:00
Eugene Yurtsev
33af251a09
x
2024-12-12 14:01:33 -05:00
Eugene Yurtsev and GitHub
17dc588c81
docs: concepts HIL add example w/ subgraph call
...
Add an example with subgraph call to illustrate the flow
2024-12-12 12:02:36 -05:00
Eugene Yurtsev
258060593b
x
2024-12-12 11:54:04 -05:00
Vadym Barda and GitHub
fbe513835f
docs: update type annotations ( #2739 )
2024-12-12 11:53:55 -05:00
Eugene Yurtsev
f319b1e107
x
2024-12-12 11:50:09 -05:00
Nuno Campos and GitHub
cbb7348998
Merge pull request #2736 from langchain-ai/nc/12dec/sdk-command-keys
...
sdk-py: Strip out unused keys in command parameter
2024-12-12 08:18:19 -08:00
Nuno Campos and GitHub
2d8246e7c4
Merge pull request #2735 from langchain-ai/vb/relax-strict-keys
...
checkpoint: set strict_map_key=False in serde
2024-12-12 08:15:48 -08:00
Nuno Campos
e5ea4f51c7
sdk-py: Strip out unused keys in command parameter
2024-12-12 08:10:43 -08:00
vbarda
a031f8294e
all lines
2024-12-12 11:06:45 -05:00
vbarda
7d940a4a96
lint
2024-12-12 10:58:50 -05:00
vbarda
6ae0c83c83
checkpoint: set strict_map_key=False in serde
2024-12-12 10:58:07 -05:00
Vadym Barda and GitHub
083a14c2c5
docs: update how-to to remove agent wrapper ( #2721 )
2024-12-12 08:15:17 -05:00
Nuno Campos and GitHub
e4db5c2ca4
Merge pull request #2728 from langchain-ai/nc/11dec/more-tests
...
lib: Add more tests
2024-12-11 17:41:47 -08:00
Nuno Campos
1d2b50e438
Fix
2024-12-11 17:34:21 -08:00
Nuno Campos
5146c9fcdf
Disable for old py
2024-12-11 17:04:58 -08:00
Nuno Campos
e8a2f7ef92
lib: Add more tests
...
- add more unit tests (courtesy of claude)
- move tests with large assertions to separate file
2024-12-11 16:20:53 -08:00
Vadym Barda and GitHub
0400c5236e
docs: update redis how-to ( #2727 )
...
Fixes #2712
2024-12-11 23:22:47 +00:00
Vadym Barda and GitHub
67f96063e2
docs: update min lib version for howto ( #2726 )
2024-12-11 17:11:57 -05:00
Vadym Barda and GitHub
44cdbc781f
langgraph: release 0.2.59 ( #2725 )
2024-12-11 16:45:13 -05:00
Vadym Barda and GitHub
f642fb6545
langgraph[fix]: pass config to tools ( #2724 )
...
Fixes #2723
2024-12-11 21:43:29 +00:00
Andrew Nguonly and GitHub
ff3bc2f982
docs: Add details about Cloud SaaS deployment time ( #2722 )
2024-12-11 13:19:19 -08:00
William FH and GitHub
e1925a8dcb
Merge pull request #2720 from langchain-ai/wfh/docs/missing_backticks
2024-12-11 12:34:51 -08:00
William FH and GitHub
fe83a151bb
Merge branch 'main' into wfh/docs/missing_backticks
2024-12-11 12:34:38 -08:00
William Fu-Hinthorn
d18c9449ec
[docs] Add missing backicks
2024-12-11 12:33:33 -08:00
Eugene Yurtsev and GitHub
12a15c3cb4
docs: document interrupt & HIL
...
- Document interrupt reference
- Update conceptual guides for HIL
- Split time-travel conceptual guide
- Split breakpoints into separate conceptual guide
- Update relevant how-tos
- Update how-to index page for HIL with more information and recommendations
- New how-to for multi turn conversation
2024-12-11 14:00:21 -05:00
Eugene Yurtsev
189358cb91
one more link fix
2024-12-11 13:22:17 -05:00
Eugene Yurtsev and GitHub
d16004c0b6
Merge branch 'main' into eugene/document_interrupt
2024-12-11 13:14:01 -05:00
Eugene Yurtsev
fdf19a5be9
x
2024-12-11 13:12:29 -05:00
Eugene Yurtsev
d24ce62c3f
x
2024-12-11 13:10:42 -05:00
Eugene Yurtsev
3ffed8d38d
x
2024-12-11 13:08:57 -05:00
vbarda
25d4512744
update cassettes
2024-12-11 13:03:27 -05:00
Eugene Yurtsev
630195a108
fix one more link
2024-12-11 12:50:32 -05:00
Eugene Yurtsev and GitHub
475e16b8ed
Merge pull request #2718 from langchain-ai/eugene/fix_links
...
fix links
2024-12-11 12:43:19 -05:00
Eugene Yurtsev
32702dea08
x
2024-12-11 12:42:54 -05:00
Eugene Yurtsev
3db266bb93
x
2024-12-11 12:41:03 -05:00
Eugene Yurtsev
11ce54d7e4
x
2024-12-11 12:39:53 -05:00
Eugene Yurtsev
54a5e45d21
x
2024-12-11 12:37:54 -05:00
vbarda
0ad470162c
fix links
2024-12-11 11:54:19 -05:00
Eugene Yurtsev and GitHub
37436c5cd6
Merge pull request #2717 from langchain-ai/eugene/breakpoints_take_one_hundred
...
re-org concepts
2024-12-11 11:42:15 -05:00
Eugene Yurtsev
7f48428d16
x
2024-12-11 11:41:00 -05:00
Eugene Yurtsev
d9c0a5d827
x
2024-12-11 11:40:09 -05:00
Eugene Yurtsev
6907d1b775
x
2024-12-11 11:32:33 -05:00
Eugene Yurtsev and GitHub
bec3055561
Merge pull request #2714 from langchain-ai/eugene/add_more_hil_patterns
...
Beef up concept, remove how to
2024-12-11 11:09:05 -05:00
Eugene Yurtsev and GitHub
2f535a803c
Merge pull request #2716 from langchain-ai/eugene/document_command
...
concepts: document command as HIL
2024-12-11 11:08:57 -05:00
Eugene Yurtsev
fbb11a6d2e
x
2024-12-11 11:08:24 -05:00
Eugene Yurtsev and GitHub
3f348e3268
Merge pull request #2715 from langchain-ai/eugene/fix_typo_123
...
fix typo
2024-12-11 11:05:14 -05:00
Eugene Yurtsev
6b80fa6718
x
2024-12-11 11:02:28 -05:00
Eugene Yurtsev
82fa597e84
x
2024-12-11 10:58:58 -05:00
Eugene Yurtsev
f6c44ec154
x
2024-12-11 10:58:10 -05:00
vbarda
a03900be7a
minor fix
2024-12-11 09:56:20 -05:00
vbarda
7144f7db41
typos
2024-12-11 09:24:48 -05:00
Eugene Yurtsev and GitHub
8f1db66c17
Merge pull request #2711 from langchain-ai/eugene/more_changes
...
more changes
2024-12-10 23:54:57 -05:00
Eugene Yurtsev
c2556aa2fe
x
2024-12-10 23:54:15 -05:00
Eugene Yurtsev and GitHub
d468655f62
Merge pull request #2710 from langchain-ai/eugene/more_concept_work
...
more concepts changes
2024-12-10 23:25:01 -05:00
Eugene Yurtsev
6153c777fb
x
2024-12-10 23:24:26 -05:00
Eugene Yurtsev
a4d49b4e77
x
2024-12-10 23:23:58 -05:00
Eugene Yurtsev
789c732866
x
2024-12-10 22:52:17 -05:00
Eugene Yurtsev and GitHub
51f85ffa84
Merge pull request #2709 from langchain-ai/eugene/update_index_page
...
langgraph: update index page
2024-12-10 22:21:42 -05:00
Eugene Yurtsev
31dd6c65a9
x
2024-12-10 22:20:55 -05:00
Eugene Yurtsev and GitHub
cb225dde7f
Merge pull request #2708 from langchain-ai/eugene/wait_for_user_input_improve
...
wait for user input improvements
2024-12-10 21:53:52 -05:00
Eugene Yurtsev
0cb530e588
x
2024-12-10 21:53:19 -05:00
Eugene Yurtsev and GitHub
f0f3e11b0e
Merge pull request #2707 from langchain-ai/eugene/fix_typos
...
fix typo
2024-12-10 21:39:09 -05:00
Eugene Yurtsev and GitHub
55fbff89f4
Merge pull request #2706 from langchain-ai/eugene/update_breakpoints_2
...
docs: update resume link
2024-12-10 21:38:43 -05:00
Eugene Yurtsev
327bb369d7
x
2024-12-10 21:38:20 -05:00
Eugene Yurtsev and GitHub
30eb2d00e2
Merge pull request #2703 from langchain-ai/vb/update-wait-for-input
...
docs: update wait for user input how-to
2024-12-10 21:34:46 -05:00
Eugene Yurtsev
45d1033092
x
2024-12-10 21:32:31 -05:00
Eugene Yurtsev
5a0ae2157c
update resume link
2024-12-10 21:22:00 -05:00
Eugene Yurtsev and GitHub
e001b7a35f
Merge pull request #2702 from langchain-ai/eugene/update_more_docs
...
eugene/update more docs
2024-12-10 21:18:49 -05:00
Eugene Yurtsev and GitHub
a41b9bb83c
Merge pull request #2704 from langchain-ai/eugene/update_glossary
2024-12-10 21:18:34 -05:00
vbarda
04f6a6ccd1
update
2024-12-10 21:13:38 -05:00
Andrew Nguonly and GitHub
ce15790210
docs: Add section about Cloud SaaS autoscaling ( #2705 )
2024-12-10 16:58:25 -08:00
Eugene Yurtsev
04b76f55a0
x
2024-12-10 18:23:51 -05:00
vbarda
f52a8728ff
docs: update wait for user input how-to
2024-12-10 18:19:33 -05:00
Eugene Yurtsev
686ee31b75
x
2024-12-10 18:10:55 -05:00
Eugene Yurtsev
47dcb2d105
x
2024-12-10 18:10:14 -05:00
Eugene Yurtsev
3a611fb20d
update dynamic breakpoints
2024-12-10 18:09:07 -05:00
Eugene Yurtsev
baa88f3c97
x
2024-12-10 17:56:48 -05:00
Vadym Barda and GitHub
79aa88812d
docs: update reivew tool calls how-to ( #2700 )
2024-12-10 17:38:48 -05:00
Eugene Yurtsev
81436ceef8
x
2024-12-10 17:22:22 -05:00
Nuno Campos
2b70dba0e0
0.2.58
2024-12-10 14:09:11 -08:00
Eugene Yurtsev
e14a6cf98b
Add multi turn conversation input
2024-12-10 17:06:08 -05:00
Nuno Campos and GitHub
dc0398efd1
Merge pull request #2661 from langchain-ai/nc/5dec/perf
...
lib: Performance improvements
2024-12-10 14:04:02 -08:00
David Duong and GitHub
02f1904ba7
Merge pull request #2699 from langchain-ai/dqbd/sdk-js-0.0.32
...
feat(sdk-js): bump to 0.0.32
2024-12-11 02:00:21 +04:00
Nuno Campos
30f852e7b2
Fix
2024-12-10 13:56:26 -08:00
Tat Dat Duong
7fc6c4b1fa
feat(sdk-js): bump to 0.0.32
2024-12-10 22:52:51 +01:00
Nuno Campos
7f8ec2c590
Fix
2024-12-10 13:46:45 -08:00
Vadym Barda and GitHub
611588613d
docs: add an FAQ note for command vs cond edge ( #2697 )
2024-12-10 15:16:02 -05:00
Nuno Campos
11e80210a2
lib: Performance improvements
...
- don't create contextvars.Context/asyncio.Task in RunnableSeq (not needed as each step creates it if necessary)
- don't run in-memory-saver methods in background threads (no point as they hold the gil)
- avoid calling should_interrupt when no interrupts set
2024-12-10 11:40:24 -08:00
Nuno Campos and GitHub
60d742ea48
Merge pull request #2683 from langchain-ai/nc/9dec/invoke-command-goto
...
lib: Add support for invoke(Command(goto=<str>))
2024-12-10 11:39:10 -08:00
Nuno Campos
a7ac9ffd4e
Update test
2024-12-10 11:31:41 -08:00
Vadym Barda and GitHub
3d97b97c86
fix typo ( #2696 )
2024-12-10 14:19:23 -05:00
Nuno Campos and GitHub
a7d1ecbb74
Merge pull request #2693 from langchain-ai/eugene/fix_test
...
langgraph[patch]: Fix unit test for Command(update)
2024-12-10 11:09:11 -08:00
vbarda
61f362f16e
update dynamic breakpoints
2024-12-10 14:07:08 -05:00
Eugene Yurtsev and Nuno Campos
7cabc0a3dc
reformat
2024-12-10 11:04:07 -08:00
Eugene Yurtsev and Nuno Campos
f9cdfd3ac4
x
2024-12-10 11:03:56 -08:00
Eugene Yurtsev and Nuno Campos
dd778f8ed6
qxqx
2024-12-10 11:03:56 -08:00
Nuno Campos
df5d08f689
Fix
2024-12-10 11:03:01 -08:00
Nuno Campos
a9b94f93ee
Update again
2024-12-10 11:03:01 -08:00
Nuno Campos
5f869b9e75
Update test
2024-12-10 11:03:01 -08:00
Nuno Campos
79562f3f37
lib: Add support for invoke(Command(goto=<str>))
2024-12-10 11:03:01 -08:00
Nuno Campos
081b2cbdcf
Fix
2024-12-10 11:01:25 -08:00
Eugene Yurtsev and Nuno Campos
70eeb2a670
x
2024-12-10 11:00:58 -08:00
Nuno Campos and GitHub
0f287d986b
Merge pull request #2695 from langchain-ai/nc/10dec/multistep-plan
...
lib: Add unit test for multistep planner graph
2024-12-10 10:54:37 -08:00
Nuno Campos and GitHub
1fd9da6718
Merge pull request #2691 from langchain-ai/dqbd/enhanced-config-type-extraction
...
fix(config): extract default values, description from pydantic models, typeddict and dataclass
2024-12-10 10:44:24 -08:00
Nuno Campos
ef6c5b4711
lib: Add unit test for multistep planner graph
2024-12-10 10:40:49 -08:00
Eugene Yurtsev
77fe51fbe4
Merge branch 'main' into eugene/document_interrupt
2024-12-10 13:17:47 -05:00
Vadym Barda and GitHub
70a5ef6713
docs: small updates ( #2694 )
2024-12-10 12:02:24 -05:00
Tat Dat Duong
17c1a8db46
Fix lint
2024-12-10 17:42:01 +01:00
Vadym Barda and GitHub
97a51014c3
docs: add a how-to on updating state from tools ( #2670 )
2024-12-10 11:20:50 -05:00
Tat Dat Duong
5a30fc6a87
Handle PydanticUndefined, add tests
2024-12-10 17:06:37 +01:00
Tat Dat Duong
1f68bd0d83
Move to langgraph.utils.fields
2024-12-10 16:49:05 +01:00
vbarda
fdfc5d9cda
Revert "langgraph: release 0.2.58 ( #2692 )"
...
This reverts commit a9f5507006 .
2024-12-10 10:35:01 -05:00
Vadym Barda and GitHub
1c3f65c931
docs: add tool use for Command concepts ( #2669 )
...
To be merged after #2656
2024-12-10 10:22:17 -05:00
Vadym Barda and GitHub
a9f5507006
langgraph: release 0.2.58 ( #2692 )
2024-12-10 10:19:59 -05:00
Vadym Barda and GitHub
59bfa5d009
langgraph: allow tools to return Command in tool node ( #2656 )
2024-12-10 10:18:04 -05:00
Tat Dat Duong
b4f11929f8
fix(config): extract default values, description from pydantic models, typeddict and dataclass
2024-12-10 15:24:56 +01:00
Vadym Barda and GitHub
038bec2e78
update callout ( #2689 )
2024-12-09 23:27:44 -05:00
Eugene Yurtsev
01cdb60b5d
x
2024-12-09 23:14:19 -05:00
Eugene Yurtsev
5bfb9af5fe
x
2024-12-09 22:53:35 -05:00
Eugene Yurtsev
ac48612abb
x
2024-12-09 22:51:06 -05:00
Eugene Yurtsev
73fb725f0c
add pngs
2024-12-09 22:50:33 -05:00
Eugene Yurtsev
b98a1337a5
x
2024-12-09 22:50:16 -05:00
Vadym Barda and GitHub
c2a41039de
docs: remove GraphCommand references ( #2688 )
2024-12-09 22:44:47 -05:00
33fe467d1f
lib: Treat Command as "resuming" signal ( #2682 )
...
- so it works w interrupt_before/after
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2024-12-09 21:22:53 -05:00
Vadym Barda and GitHub
43b6c06f5c
docs: update Command concept doc ( #2686 )
2024-12-09 21:19:16 -05:00
Vadym Barda and GitHub
d81dec653d
docs: temporarily fix link ( #2685 )
2024-12-09 21:09:32 -05:00
Vadym Barda and GitHub
e1d8c6b113
docs: update multi-agent concept doc ( #2684 )
2024-12-09 21:01:14 -05:00
Vadym Barda and GitHub
a64f9f80c0
docs: add a how to for multi-agent network ( #2675 )
2024-12-09 20:18:29 -05:00
Eugene Yurtsev
a879de51f1
x
2024-12-09 18:13:39 -05:00
Eugene Yurtsev
60ab76c3e9
x
2024-12-09 18:12:17 -05:00
Eugene Yurtsev
09e9117674
x
2024-12-09 17:24:59 -05:00
Eugene Yurtsev
acac19b95b
x
2024-12-09 16:49:51 -05:00
Eugene Yurtsev
723bcfeaa2
x
2024-12-09 15:27:00 -05:00
Eugene Yurtsev
c279421cbf
x
2024-12-09 14:46:06 -05:00
Tat Dat Duong
df1e48154a
feat(studio): add Add to Dataset docs
2024-12-09 19:22:41 +01:00
Eugene Yurtsev
d0bf7837bd
x
2024-12-09 11:25:21 -05:00
Nuno Campos and GitHub
a403e802fa
Merge pull request #2679 from langchain-ai/nc/9dec/imperative-generator
...
lib: imperative api: Generators use yield to publish stream_mode=custom events
2024-12-09 08:22:31 -08:00
Nuno Campos
e0a0958a60
lib: imperative api: Generators use yield to publish stream_mode=custom events
2024-12-09 08:14:41 -08:00
William FH and GitHub
3f1bdb9ebf
Add sync support for the AsyncPostgresStore ( #2673 )
2024-12-09 07:12:52 -08:00
Nuno Campos
b37c9d8a01
0.2.57
2024-12-07 11:49:10 -08:00
Nuno Campos and GitHub
1af1911aad
Merge pull request #2378 from langchain-ai/nc/8nov/send-future
...
Imperative API
2024-12-07 11:48:45 -08:00
Eugene Yurtsev
b4f7e06a1d
x
2024-12-06 22:42:41 -05:00
Eugene Yurtsev
1dda28f8fb
x
2024-12-06 22:31:28 -05:00
Eugene Yurtsev
cc4718c5cb
x
2024-12-06 22:31:18 -05:00
Eugene Yurtsev
0d580bdac7
x
2024-12-06 22:31:11 -05:00
Eugene Yurtsev
a19d06e18c
x
2024-12-06 17:00:18 -05:00
Eugene Yurtsev
e16312da3f
x
2024-12-06 16:52:33 -05:00
Nuno Campos and GitHub
6784a5a5b1
Merge pull request #2667 from langchain-ai/nc/6dec/support-mixed-list
...
lib: Support returning mixed list of commands and state updates
2024-12-06 08:31:03 -08:00
Nuno Campos
4e0e9a4eff
Fix
2024-12-06 08:20:41 -08:00
Nuno Campos
015bf5e0a6
Add tests, missing return stmt
2024-12-06 08:17:50 -08:00
Nuno Campos
85fc26db43
lib: Support returning mixed list of commands and state updates
2024-12-06 08:03:26 -08:00
Vadym Barda and GitHub
5fa80e2a92
docs: update multi-agent tutorials to use Command ( #2643 )
2024-12-06 15:18:12 +00:00
Eugene Yurtsev
5e13460604
x
2024-12-05 23:31:54 -05:00
Eugene Yurtsev
750b97349e
x
2024-12-05 21:32:10 -05:00
Eugene Yurtsev
6230c46830
x
2024-12-05 21:27:18 -05:00
William FH and GitHub
93e4c8cc1f
Create index concurrently ( #2659 )
2024-12-05 15:56:39 -08:00
Nuno Campos and GitHub
b7e441d781
Merge pull request #2658 from langchain-ai/nc/5dec/return-multiple-commands
...
lib: Add support for returning multiple commands from a node
2024-12-05 15:16:06 -08:00
Nuno Campos
ccd8920eef
Lint
2024-12-05 15:09:13 -08:00
Vadym Barda and GitHub
0c379d6cc7
fix docstring ( #2660 )
2024-12-05 17:55:25 -05:00
Eugene Yurtsev
01b1080b6e
x
2024-12-05 17:26:55 -05:00
Eugene Yurtsev
62ff2eb32d
x
2024-12-05 17:16:34 -05:00
Nuno Campos
1f745ca017
Lint
2024-12-05 13:50:42 -08:00
Nuno Campos
aa4fea48dd
lib: Add support for returning multiple commands from a node
2024-12-05 13:47:38 -08:00
Eugene Yurtsev
4fd261765a
x
2024-12-05 15:46:26 -05:00
William FH and GitHub
0f0e31df24
Nicer item repr ( #2655 )
2024-12-05 10:52:44 -08:00
Nuno Campos and GitHub
a275ab26d3
Merge pull request #2468 from cab938/issue2159
...
feat: Make CompiledGraph displayable in Jupyter with display()
2024-12-05 10:03:40 -08:00
William FH and GitHub
b3bf4dd43c
[docs] Update guidance on min bounds for deployment ( #2652 )
2024-12-05 17:50:36 +00:00
David Duong and GitHub
b7fd391811
Merge pull request #2653 from langchain-ai/dqbd/sdk-command
...
fix(sdk-js): rename Command["send"] to `goto`
2024-12-05 20:49:47 +04:00
Tat Dat Duong
cf961a286c
fix(sdk-js): rename Command["send"] to goto
2024-12-05 17:14:07 +01:00
Vadym Barda and GitHub
4b83103cf2
docs: relax pinned version in langgraph server tutorial ( #2651 )
2024-12-05 09:11:00 -05:00
William FH and GitHub
1a46537c3a
Codeblock ref rendering ( #2649 )
2024-12-05 05:48:00 -08:00
Eugene Yurtsev
0a49f3003b
x
2024-12-04 22:57:48 -05:00
Eugene Yurtsev
e80098e297
x
2024-12-04 22:38:55 -05:00
Eugene Yurtsev
3d3647cd85
x
2024-12-04 22:36:43 -05:00
Eugene Yurtsev
291379dfb9
x
2024-12-04 22:32:11 -05:00
Eugene Yurtsev
9f93e48a67
x
2024-12-04 22:19:32 -05:00
Eugene Yurtsev
de123d66a5
Merge branch 'main' into eugene/document_interrupt
2024-12-04 21:30:55 -05:00
Nuno Campos and GitHub
759a712f57
Merge pull request #2502 from langchain-ai/vb/fix-annotation
...
langgraph: fix issue w/ type annotations in tools_condition
2024-12-04 20:47:21 -05:00
Nuno Campos
9f73dfa8d5
Fix
2024-12-04 17:43:05 -08:00
Nuno Campos and GitHub
4459952e72
Merge branch 'main' into issue2159
2024-12-04 20:42:03 -05:00
Nuno Campos
8ef82f3578
Update
2024-12-04 17:40:27 -08:00
Nuno Campos and GitHub
73e3f5a5b0
Merge pull request #2517 from langchain-ai/eugene/how_to_use_tempalte
...
docs: Add template quickstart
2024-12-04 20:37:04 -05:00
Nuno Campos
a54587cff5
Remove unknown arg
2024-12-04 17:33:54 -08:00
Nuno Campos
63ea71548b
sdk-py 0.1.43
2024-12-04 17:27:24 -08:00
Nuno Campos and GitHub
f32cf5e984
Merge pull request #2642 from langchain-ai/nc/4dec/fix-stream-params
...
sdk-py: Handle stream(params=)
2024-12-04 20:26:59 -05:00
Nuno Campos
d1aaa9de8c
sdk-py: Handle stream(params=)
2024-12-04 17:25:51 -08:00
Nuno Campos
f40a2d71ec
lib 0.2.56
2024-12-04 17:15:17 -08:00
Nuno Campos and GitHub
b5a9e9da55
Merge pull request #2635 from langchain-ai/vb/add-graph-command-docs
...
docs: add Command docs
2024-12-04 20:14:35 -05:00
vbarda
1eeb90ae0d
cr
2024-12-04 19:41:21 -05:00
William FH and GitHub
cd875291ad
Link to conceptual doc ( #2641 )
2024-12-05 00:21:01 +00:00
e9cd216887
Update docs/docs/concepts/low_level.md
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:18:37 -05:00
7651f1ab1c
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:17:22 -05:00
1a492f727c
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:16:33 -05:00
6caaa8cea7
Update libs/langgraph/langgraph/types.py
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-12-04 19:16:26 -05:00
Vadym Barda and GitHub
f028984b2e
langgraph: remove print ( #2640 )
2024-12-04 19:07:50 -05:00
vbarda
085395c824
rename
2024-12-04 19:04:42 -05:00
vbarda
19a6e894eb
more updates
2024-12-04 19:02:49 -05:00
vbarda
5570121c83
update
2024-12-04 18:56:46 -05:00
vbarda
257e44ccb4
update
2024-12-04 18:54:57 -05:00
Eugene Yurtsev and GitHub
dad0f39fa4
concepts: reword network architecture ( #2625 )
2024-12-04 23:49:17 +00:00
Nuno Campos
7a326ef768
lib 0.2.55
2024-12-04 15:44:24 -08:00
Nuno Campos
2fa2469967
Update
2024-12-04 15:39:16 -08:00
Nuno Campos
de86a46b3d
Comment
2024-12-04 15:39:16 -08:00
Nuno Campos
9733db03c5
Wait until next tick to start send task
2024-12-04 15:39:16 -08:00
Nuno Campos
e1f65012e6
Fix
2024-12-04 15:39:16 -08:00
Nuno Campos
eb593d47dd
Fix writes for task being saved against next checkpoint id
2024-12-04 15:39:16 -08:00
Nuno Campos
4e8f4ce440
Update
2024-12-04 15:39:16 -08:00
Nuno Campos
007d7e72b1
Add test for cancellation
2024-12-04 15:39:16 -08:00
Nuno Campos
2b77fdabee
Lint
2024-12-04 15:39:16 -08:00
Nuno Campos
40d16593c7
Lint
2024-12-04 15:39:16 -08:00
Nuno Campos
ec7bbe14b2
Lint
2024-12-04 15:39:16 -08:00
Nuno Campos
4c6323c585
Lint
2024-12-04 15:39:16 -08:00
Nuno Campos
2fe38f3940
Fix get_state
2024-12-04 15:39:16 -08:00
Nuno Campos
09ca964714
Wire up retry policy
2024-12-04 15:39:16 -08:00
Nuno Campos
0663d46c47
Rename
2024-12-04 15:39:16 -08:00
Nuno Campos
a91dbf9b70
Lint
2024-12-04 15:38:43 -08:00
Nuno Campos
d93be914c7
Fix stream order
2024-12-04 15:38:43 -08:00
Nuno Campos
287c29fbdc
Fix async
2024-12-04 15:38:15 -08:00
Nuno Campos
90dd2b01b6
Comment
2024-12-04 15:38:15 -08:00
Nuno Campos
a443b3b256
Fix
2024-12-04 15:38:15 -08:00
Nuno Campos
2e9aea6fc8
Lint
2024-12-04 15:38:15 -08:00
Nuno Campos
2895a69678
Lint
2024-12-04 15:38:15 -08:00
Nuno Campos
76a209835f
Comments
2024-12-04 15:37:56 -08:00
Nuno Campos
872f54adf1
Get it working with interrupt (sync)
2024-12-04 15:37:56 -08:00
Nuno Campos
01a3c23a29
WIP
2024-12-04 15:37:56 -08:00
Nuno Campos
0461d45d76
Finish impl
2024-12-04 15:37:31 -08:00
Nuno Campos
7d8205633d
Add call function to call a node and get a future
...
- Whereas Send is for fire-and-forget type of calls, new `call` and `acall` functions are for flows where you want to wait for the node to finish before doing something else
- Because we return regular python future objects (concurrent.futures.Future or asyncio.Future) all the python primitives for working with futures work, eg. wait, gather, etc
2024-12-04 15:37:31 -08:00
vbarda
797b919cf9
Merge branch 'main' into vb/add-graph-command-docs
2024-12-04 18:37:20 -05:00
Nuno Campos and GitHub
574ffb02fc
Merge pull request #2639 from langchain-ai/nc/4dec/speed-up-tests
...
Speed up tests
2024-12-04 18:37:03 -05:00
Nuno Campos
771b9b28cd
Speed up tests
2024-12-04 15:29:51 -08:00
Nuno Campos and GitHub
dcc2617396
Merge pull request #2638 from langchain-ai/nc/4dec/command
...
lib: Merge GraphCommand and Command
2024-12-04 18:26:11 -05: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 and GitHub
78e6b36b1a
Merge pull request #2636 from langchain-ai/nc/4dec/interrupt-loop
...
lib: Add support for multiple interrupts per node
2024-12-04 17:58:26 -05:00
William FH and GitHub
d457ad3cc2
Clean up code snippet ( #2637 )
2024-12-04 14:50:23 -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
Eugene Yurtsev
c75bfc1032
x
2024-12-04 17:22:09 -05:00
Eugene Yurtsev
6dc70b703d
x
2024-12-04 17:21:47 -05:00
Eugene Yurtsev
eb09909c22
x
2024-12-04 17:21:31 -05: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
vbarda
d52bb911a4
lint
2024-12-04 16:50:56 -05:00
Vadym Barda and GitHub
89a739e12b
Merge branch 'main' into vb/add-graph-command-docs
2024-12-04 16:48:05 -05:00
vbarda
0fdf3c9daf
cr
2024-12-04 16:47:51 -05:00
vbarda
90eab07ded
docs: add Command/GraphCommand docs
2024-12-04 15:46:40 -05:00
William FH and GitHub
962a969fba
Update link ( #2634 )
2024-12-04 12:09:04 -08:00
William FH and GitHub
c89e84fb6a
nit: Spelling ( #2633 )
2024-12-04 10:24:35 -08:00
William FH and GitHub
3ff1f81333
Add doc to index ( #2632 )
2024-12-04 18:19:14 +00:00
Vadym Barda and GitHub
851e6d1d4c
issue template: replace langchain w/ langgraph ( #2631 )
2024-12-04 12:51:00 -05:00
William FH and GitHub
e5e659c590
Add langgraph.json snippet to concept doc ( #2630 )
2024-12-04 17:11:13 +00:00
Eugene Yurtsev and GitHub
8db6a78ad9
ci: update bug template ( #2626 )
2024-12-04 12:08:21 -05:00
Nuno Campos and GitHub
9ab5fbc0f8
Merge pull request #2627 from langchain-ai/nc/4dec/state-ensure-config
...
lib: Call ensure_config in state crud methods
2024-12-04 11:53:03 -05:00
William FH and GitHub
c141f0fdf0
Add memory how-to ( #2629 )
2024-12-04 08:39:53 -08:00
William FH and GitHub
830557d6b7
Clarify behavior in docstring ( #2628 )
2024-12-04 16:38:09 +00: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
William FH and GitHub
c322f7ffa6
Add Memory Store conceptual doc section ( #2624 )
...
On semantic search
2024-12-04 15:19:49 +00:00
William FH and GitHub
e6c83abecd
Fix ref doc formatting ( #2623 )
2024-12-04 06:55:15 -08:00
ACMCMC and GitHub
a8db511e24
Fix typo ( #2620 )
2024-12-04 06:30:05 -08:00
湛露先生 and GitHub
84d33f9621
Fix typos in langgraph_sdk client. ( #2621 )
...
Fix typos in langgraph_sdk client.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2024-12-04 06:29:28 -08:00
William FH and GitHub
9220049b35
Add store langgraph.json config ref ( #2622 )
2024-12-04 06:28:54 -08:00
William FH and GitHub
879df6b52c
[JS] Update SDK version ( #2619 )
2024-12-03 23:01:19 -08:00
William FH and GitHub
9b8bf70d9e
Add link to local studio testing ( #2617 )
2024-12-04 04:36:59 +00:00
Phoenix Logan and GitHub
aca67107c1
fix: make database saver classes inheritance-friendly ( #2615 )
...
Replace hardcoded database saver class names with `cls` in
`from_conn_string` factory methods to improve subclassing support
## Changes
* Replaced direct class instantiations with `cls(conn)` in
`from_conn_string` classmethods across all database implementations
* Updated both synchronous and asynchronous variants for DuckDB,
PostgreSQL, and SQLite savers
## Why
This refactor makes the database saver classes more extensible by
following Python's convention of using `cls` in class methods. This
enables proper inheritance patterns where subclasses can reuse the
factory methods without needing to override them. Previously, the
hardcoded class names would always instantiate the parent class, even
when called from a subclass.
## Testing
The change is backward compatible and doesn't alter existing
functionality. All existing tests should continue to pass as this is
purely a structural refactoring that preserves the current behavior
while improving extensibility.
## Notes
This PR addresses follow up on comments from #2518 - AsyncPostgresSaver
didn't need to be fixed but many of the other DB saver classes did.
2024-12-03 20:26:06 -08:00
William FH and GitHub
5fa196ab38
Update docstrings for store classes ( #2616 )
2024-12-03 19:51:25 -08:00
Nuno Campos and GitHub
584d9271ce
Merge pull request #2614 from langchain-ai/nc/3dec/handle-command
...
Handle Command returned from node (in addition to GraphCommand)
2024-12-03 19:05:05 -05: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
86407aa6e8
Merge pull request #2071 from langchain-ai/brace/doc-nits
...
fix(docs): Small nits & typo fixes
2024-12-03 16:38:36 -05:00
Vadym Barda and GitHub
7a80d6cb87
sdk-py: release 0.1.42 ( #2612 )
2024-12-03 16:34:08 -05:00
Nuno Campos
70f323779e
Update persistence.md
2024-12-03 16:26:36 -05:00
23d5162945
Update human_in_the_loop.md
...
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-12-03 16:26:36 -05:00
bracesproul and Nuno Campos
9d755f54e4
fix(docs): Small nits & typo fixes
2024-12-03 16:26:36 -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
Nuno Campos and GitHub
dd010e9230
Merge pull request #2593 from langchain-ai/nc/2dec/sdk-sse
...
sdk-py: Fix SSE parsing to split lines only \n \r , remove httpx-sse, fix missing decoder flush
2024-12-03 16:23:11 -05:00
Nuno Campos and GitHub
2d87195b59
Merge pull request #2611 from langchain-ai/vb/remote-graph-kwargs
...
langgraph: allow passing kwargs to SDK methods in RemoteGraph's invoke/stream
2024-12-03 16:21:09 -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
3bf92d0b03
Fix
2024-12-03 11:04:28 -08:00
William FH and GitHub
36b6cd1493
fix: Handle empty store similarity (numpy) ( #2602 )
2024-12-02 18:20:19 -08:00
William FH and GitHub
0361554fcf
Bump Checkpoint Postgres ( #2601 )
2024-12-02 17:56:23 -08:00
4332a9515d
Fixup initial provisioning of aio postgres db ( #2571 ) ( #2600 )
...
fixes #2570
---------
Co-authored-by: Tai Groot <tai@taigrr.com >
2024-12-03 01:55:26 +00:00
Nuno Campos and GitHub
64b99c187a
Merge pull request #2544 from langchain-ai/brace/type-interrupts-py
...
fix(sdk-py): Add typing for interrupts
2024-12-02 20:52:19 -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 and GitHub
d70b659adb
Merge pull request #2430 from langchain-ai/nc/15nov/command-subgraph
...
Handle interrupt/resume for subgraphs
2024-12-02 20:45:40 -05:00
William FH and GitHub
15f0765d60
Add IVFFlat and HNSW support ( #2598 )
...
It seems that actually once i moved the operators & other things out,
the query planner does do reasonable things and do sequential scanning
if filtered N < some size but the index otherwise, even with namespace
filtering.
2024-12-02 17:42:29 -08:00
fe538d4bcb
docs: Use edit mode as default to install template ( #2590 )
...
Small change to install the dependencies with `edit` mode so that users
or freshman can see the effect immediately when they change the template
code. As below,
`pip install -e .`
It's very good to evaluate how agent works and easy to test &
re-develop!
---------
Signed-off-by: Mingqi Hu <mingqi.hu@intel.com >
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-12-02 17:36:13 -08:00
Nuno Campos and GitHub
4e26a5cf2e
Merge pull request #2597 from langchain-ai/nc/2dec/remote-command
...
lib: Handle Command in RemoteGraph
2024-12-02 20:34:08 -05:00
William FH and GitHub
20f091a277
[postgres] Sort Ascending ( #2594 )
...
Adds a few of preliminaries:
1. Makes the returned "score" actually the result of the requested
operation (cosine, inner_product, l2)
2. Sorts asc, etc. so that if you were to add an HNSW index (and not
have any WHERE filters), it would be used
3. Drop the inner WHERE statement if no namespace or other filters are
provided. See (2) for why.
I don't yet add an index to the migrations since I think we need to
agree on the right balance to ensure it's actually used in common query
patterns.
2024-12-03 01:08:24 +00: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
David Duong and GitHub
c6fe26510e
Merge pull request #2596 from langchain-ai/dqbd/sdk-cancel-on-disconnect
...
feat(sdk): pass cancel on disconnect when joining stream
2024-12-03 04:45:00 +04:00
Nuno Campos
efbd02a27d
Implement support for interrupt/resume in subgraphs
2024-12-02 16:43:35 -08:00
Tat Dat Duong
a91bf116cb
Bump to 0.1.41
2024-12-03 01:31:55 +01:00
Tat Dat Duong
6a6c3ed84c
Bump to 0.0.30
2024-12-03 01:31:11 +01:00
Tat Dat Duong
988dd237d2
feat(sdk): pass cancel on disconnect when joining stream
2024-12-03 01:17:15 +01:00
David Duong and GitHub
63f5f15c04
Merge pull request #2592 from langchain-ai/dqbd/sdk-list-runs-by-status
...
feat(sdk): add ability to search runs via status
2024-12-03 04:03:29 +04: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
Nuno Campos
3cee1d5087
Remove httpx_sse, fix missing flush of sse decoder
2024-12-02 12:03:31 -08:00
Nuno Campos
2ce2021c39
Revert "Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec""
...
This reverts commit 53ec7c41b2 .
2024-12-02 11:29:06 -08:00
Tat Dat Duong
46dd424a7e
feat(sdk): add ability to search runs via status
2024-12-02 19:53:58 +01:00
stneng
363c6e2e4c
fix
2024-12-01 16:07:15 -08:00
Vadym Barda and GitHub
784821705b
checkpoint-postgres: pin psycopg >= 3.2.0 ( #2580 )
2024-11-29 11:30:19 -05:00
William FH and GitHub
65172c2a43
[CLI] Nonblocking debugpy mode ( #2573 )
2024-11-28 12:24:00 -08:00
William FH and GitHub
1130c3accb
[CLI] Add Store config to CLI ( #2548 )
2024-11-28 01:58:18 -08:00
William FH and GitHub
ee8653d1c5
[SDK] Add SearchItem ( #2567 )
2024-11-27 22:50:52 -08:00
William FH and GitHub
12486d977a
Update postgres-checkpoint min bounds ( #2564 )
2024-11-27 22:31:16 -08:00
William FH and GitHub
c87f9ab6b1
Fix sentence fragment ( #2566 )
2024-11-27 22:31:03 -08:00
William FH and GitHub
855a3d21ff
Update Checkpoint Version ( #2565 )
2024-11-27 20:50:11 -08:00
William FH and GitHub
d767af421b
feat: Add vector search ( #2535 )
...
- Initializing the store with an 'embedding config' -> this contains the
'dims' (used to create the table) and the encoder object (rn langchain
embeddings object, though that is ......)
- Call setup() -> creates the vector table.
Each document has 1 or more vectors associated with it for each json
path in the embedding config.
Would welcome critique and requests!
Leaving the params as the defaults for pgvector but open to feedback if
you think it's important to be able to more transparently configure that
in setup()
```python
from typing import TypedDict, List, Dict, Any, Optional
from langchain_openai import OpenAIEmbeddings
from langgraph.graph import StateGraph
from langgraph.store.postgres import PostgresStore
emb_config = {
"dims": 1536, # OpenAI embedding dimensions
"embed": OpenAIEmbeddings(model="text-embedding-3-small"),
"distance_type": "cosine",
}
with PostgresStore.from_conn_string(
"postgres://postgres:postgres@localhost:5441",
embedding=emb_config,
) as store:
store.setup()
# Define the state type for our graph
class State(TypedDict):
query: str
results: Optional[List[Dict[str, Any]]]
def put_stuff(state: State) -> State:
docs = [
("doc1", {"text": "red apple in kitchen"}),
("doc2", {"text": "blue car in garage"}),
("doc3", {"text": "green apple on table"}),
]
for key, value in docs:
store.put(("docs",), key, value)
def search_stuff(state: State) -> State:
"""Search for documents using vector similarity."""
results = store.search(("docs",), query=state["query"])
return {"results": results}
builder = StateGraph(State)
builder.add_node(put_stuff)
builder.add_node(search_stuff)
builder.add_edge("__start__", "put_stuff")
builder.add_edge("put_stuff", "search_stuff")
# Compile
with PostgresStore.from_conn_string(
"postgres://postgres:postgres@localhost:5441",
embedding=emb_config,
) as store:
chain = builder.compile(store=store)
result = chain.invoke({"query": "sour apple"})
# Print results
for doc in result["results"]:
print(doc.key)
print(doc.value)
print(doc.response_metadata)
```
2024-11-28 04:40:12 +00:00
Nuno Campos and GitHub
07ac016e60
Merge pull request #2562 from langchain-ai/nc/27nov/revert-sdk
...
Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec"
2024-11-27 17:36:07 -08:00
Nuno Campos
4576a259dd
sdk-py 0.1.39
2024-11-27 17:32:07 -08:00
Nuno Campos
53ec7c41b2
Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec"
...
This reverts commit dc09b13400 .
2024-11-27 17:31:21 -08:00
Nuno Campos
769f6a1925
Fix
2024-11-27 15:59:48 -08:00
William FH and GitHub
62a36befd5
Add in-mem vector search ( #2547 )
2024-11-27 14:53:24 -08:00
Andrew Nguonly and GitHub
dfaff2511b
docs: Update API docs and remove unused pages ( #2561 )
2024-11-27 14:39:12 -08:00
Nuno Campos
1d9a0d1e4e
sdk-py 0.1.37
2024-11-27 14:17:15 -08:00
Nuno Campos and GitHub
35c7eb18ee
Merge pull request #2560 from langchain-ai/nc/27nov/fix-sse-parser
...
sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec
2024-11-27 14:16:43 -08:00
Nuno Campos
dc09b13400
sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec
2024-11-27 14:10:50 -08:00
Nuno Campos and GitHub
b2d8acffc4
Merge pull request #2558 from langchain-ai/nc/27nov/exc-note
...
lib: Add exception note identify node/task
2024-11-27 12:57:03 -08:00
Nuno Campos
1031e54860
lib: Add exception note identify node/task
2024-11-27 12:44:31 -08:00
Jacob Lee and GitHub
7ac365ea84
fix(sdk-js): Avoid retrying 402s ( #2554 )
2024-11-27 19:33:23 +00: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
Brace Sproul and GitHub
d4bbb66963
Merge branch 'main' into brace/type-interrupts-py
2024-11-26 13:01:41 -08:00
Nuno Campos and GitHub
4b1b3cecb4
Merge pull request #2546 from langchain-ai/jacob/jsenv
...
fix(js): Adds fallback for fetching environment variables
2024-11-26 12:34:18 -08:00
jacoblee93
c6a953c02a
Bump version
2024-11-26 12:31:00 -08:00
jacoblee93
16b955dee2
Adds fallback for fetching environment variables
2024-11-26 12:30:33 -08:00
Brace Sproul and GitHub
877124f7df
Merge pull request #2545 from langchain-ai/release
...
release(sdk-js): 0.0.27
2024-11-26 11:54:45 -08:00
bracesproul
d3a4865c0e
release(sdk-js): 0.0.27
2024-11-26 11:42:20 -08:00
Brace Sproul and GitHub
45b5f386e5
Merge branch 'main' into brace/type-interrupts-py
2024-11-26 11:41:07 -08:00
bracesproul
a1ec55abc5
fix(sdk-py): Add typing for interrupts
2024-11-26 11:40:47 -08:00
Brace Sproul and GitHub
a3761ac522
Merge pull request #2543 from langchain-ai/brace/type-interrupts
...
fix(sdk-js): Add typing for interrupts on threads
2024-11-26 11:40:34 -08:00
bracesproul
376c58ff3b
expose interupt type
2024-11-26 11:28:50 -08:00
bracesproul
58b99c899e
cr
2024-11-26 11:28:19 -08:00
bracesproul
2ee279a977
fix(sdk-js): Add typing for interrupts on threads
2024-11-26 11:26:18 -08:00
William FH and GitHub
f04ce5d1ee
[CLI] Add python-dotenv for inmem group ( #2540 )
2024-11-26 07:56:57 -08:00
William FH and GitHub
8f649abd0a
Release PG Checkpointer ( #2536 )
2024-11-26 01:44:45 +00:00
William FH and GitHub
1febec7c0d
Dedup store batch operations ( #2534 )
2024-11-25 16:31:26 -08: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
William FH and GitHub
328ef609af
[CLI] Python path ( #2531 )
2024-11-25 11:59:49 -08:00
Talha Munir and GitHub
486d5412af
docs: Fix grammatical mistake in introduction.ipynb ( #2521 )
2024-11-23 14:37:55 -05: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
4f4e7a6981
docs: more fixes for python version ( #2515 )
2024-11-22 19:50:31 +00:00
Eugene Yurtsev
f08155d60b
x
2024-11-22 14:43:28 -05:00
Eugene Yurtsev
24b16908b7
x
2024-11-22 14:43:08 -05:00
Eugene Yurtsev
c1c2ce8f1b
x
2024-11-22 14:42:36 -05:00
Eugene Yurtsev
3efd4f3406
Merge branch 'main' into eugene/how_to_use_tempalte
2024-11-22 14:21:07 -05:00
Eugene Yurtsev
f122ae2eb1
qxqx
2024-11-22 14:20:56 -05:00
3351d4f6c5
docs: fix typo ( #2510 )
...
`python-dotenv` not `python-dot-env`
Signed-off-by: Mingqi <mingqi.hu@intel.com >
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2024-11-22 14:17:59 -05:00
Eugene Yurtsev and GitHub
b4900341e4
docs: fix broken link ( #2514 )
...
We need to check later why CI didn't fail with original PR that broke
the link
2024-11-22 14:07:54 -05:00
Eugene Yurtsev
05791f5dfc
qxqx
2024-11-22 13:26:46 -05:00
Eugene Yurtsev
416dfe95da
qxqx
2024-11-22 13:16:41 -05:00
Eugene Yurtsev and GitHub
65f515e020
docs: add helm chart link ( #2512 )
2024-11-22 17:17:36 +00:00
Eugene Yurtsev and GitHub
0d0665a6e3
docs: Add resource allocation ( #2511 )
2024-11-22 11:56:16 -05:00
Eugene Yurtsev and GitHub
93b8525dc1
docs: fix link checker ( #2508 )
...
3rd attempt to fix localhost link
2024-11-21 21:59:43 -05:00
Eugene Yurtsev and GitHub
aeb6f784e1
docs: fix link checking? ( #2506 )
2024-11-21 21:21:30 -05:00
Nuno Campos
3eedeac0d4
Not red
2024-11-21 15:31:52 -08:00
Eugene Yurtsev and GitHub
b09e7b20b0
docs: do not check localhost links ( #2505 )
2024-11-21 23:28:24 +00:00
Eugene Yurtsev and GitHub
26ce731eab
docs: update README.md ( #2474 )
2024-11-21 22:48:12 +00:00
Eugene Yurtsev and GitHub
55593446f8
docs: get started with langgraph platform ( #2469 )
2024-11-21 17:41:03 -05:00
vbarda
2d6ddd0a1d
langgraph: fix issue w/ type annotations in tools_condition
2024-11-21 14:31:34 -05:00
William FH and GitHub
7082e2613e
[CLI] Dotenv support ( #2501 )
2024-11-21 16:28:53 +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
f7788abbb6
build(deps-dev): bump starlette from 0.38.6 to 0.40.0 ( #2421 )
...
Bumps [starlette](https://github.com/encode/starlette ) from 0.38.6 to
0.40.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/starlette/releases ">starlette's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.40.0</h2>
<p>This release fixes a Denial of service (DoS) via
<code>multipart/form-data</code> requests.</p>
<p>You can view the full security advisory:
<a
href="https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw ">GHSA-f96h-pmfr-66vw</a></p>
<h2>Fixed</h2>
<ul>
<li>Add <code>max_part_size</code> to <code>MultiPartParser</code> to
limit the size of parts in <code>multipart/form-data</code>
requests <a
href="https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733 ">fd038f3</a>.</li>
</ul>
<h2>Version 0.39.2</h2>
<h2>Fixed</h2>
<ul>
<li>Allow use of <code>request.url_for</code> when only "app"
scope is available <a
href="https://redirect.github.com/encode/starlette/pull/2672 ">#2672</a>.</li>
<li>Fix internal type hints to support
<code>python-multipart==0.0.12</code> <a
href="https://redirect.github.com/encode/starlette/pull/2708 ">#2708</a>.</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/starlette/compare/0.39.1...0.39.2 ">https://github.com/encode/starlette/compare/0.39.1...0.39.2 </a></p>
<h2>Version 0.39.1</h2>
<h2>Fixed</h2>
<ul>
<li>Avoid regex re-compilation in <code>responses.py</code> and
<code>schemas.py</code> <a
href="https://redirect.github.com/encode/starlette/pull/2700 ">#2700</a>.</li>
<li>Improve performance of <code>get_route_path</code> by removing
regular expression usage <a
href="https://redirect.github.com/encode/starlette/pull/2701 ">#2701</a>.</li>
<li>Consider <code>FileResponse.chunk_size</code> when handling multiple
ranges <a
href="https://redirect.github.com/encode/starlette/pull/2703 ">#2703</a>.</li>
<li>Use <code>token_hex</code> for generating multipart boundary strings
<a
href="https://redirect.github.com/encode/starlette/pull/2702 ">#2702</a>.</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/starlette/compare/0.39.0...0.39.1 ">https://github.com/encode/starlette/compare/0.39.0...0.39.1 </a></p>
<h2>Version 0.39.0</h2>
<h2>Added</h2>
<ul>
<li>Add support for HTTP Range to <code>FileResponse</code> <a
href="https://redirect.github.com/encode/starlette/pull/2697 ">#2697</a></li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/starlette/compare/0.38.6...0.39.0 ">https://github.com/encode/starlette/compare/0.38.6...0.39.0 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/starlette/blob/master/docs/release-notes.md ">starlette's
changelog</a>.</em></p>
<blockquote>
<h2>0.40.0 (October 15, 2024)</h2>
<p>This release fixes a Denial of service (DoS) via
<code>multipart/form-data</code> requests.</p>
<p>You can view the full security advisory:
<a
href="https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw ">GHSA-f96h-pmfr-66vw</a></p>
<h4>Fixed</h4>
<ul>
<li>Add <code>max_part_size</code> to <code>MultiPartParser</code> to
limit the size of parts in <code>multipart/form-data</code>
requests <a
href="https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733 ">fd038f3</a>.</li>
</ul>
<h2>0.39.2 (September 29, 2024)</h2>
<h4>Fixed</h4>
<ul>
<li>Allow use of <code>request.url_for</code> when only "app"
scope is available <a
href="https://redirect.github.com/encode/starlette/pull/2672 ">#2672</a>.</li>
<li>Fix internal type hints to support
<code>python-multipart==0.0.12</code> <a
href="https://redirect.github.com/encode/starlette/pull/2708 ">#2708</a>.</li>
</ul>
<h2>0.39.1 (September 25, 2024)</h2>
<h4>Fixed</h4>
<ul>
<li>Avoid regex re-compilation in <code>responses.py</code> and
<code>schemas.py</code> <a
href="https://redirect.github.com/encode/starlette/pull/2700 ">#2700</a>.</li>
<li>Improve performance of <code>get_route_path</code> by removing
regular expression usage
<a
href="https://redirect.github.com/encode/starlette/pull/2701 ">#2701</a>.</li>
<li>Consider <code>FileResponse.chunk_size</code> when handling multiple
ranges <a
href="https://redirect.github.com/encode/starlette/pull/2703 ">#2703</a>.</li>
<li>Use <code>token_hex</code> for generating multipart boundary strings
<a
href="https://redirect.github.com/encode/starlette/pull/2702 ">#2702</a>.</li>
</ul>
<h2>0.39.0 (September 23, 2024)</h2>
<h4>Added</h4>
<ul>
<li>Add support for <a
href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests ">HTTP
Range</a> to
<code>FileResponse</code> <a
href="https://redirect.github.com/encode/starlette/pull/2697 ">#2697</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/encode/starlette/commit/4ded4b7ac517bd301cee69f5c189b1cb48c069b6 "><code>4ded4b7</code></a>
Version 0.40.0 (<a
href="https://redirect.github.com/encode/starlette/issues/2728 ">#2728</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733 "><code>fd038f3</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/encode/starlette/commit/e11684013fe5ca084f5bd4e54830512a4dff9618 "><code>e116840</code></a>
Bump the python-packages group with 6 updates (<a
href="https://redirect.github.com/encode/starlette/issues/2713 ">#2713</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/0b50b9c4abd992a39d6e32148cc6f577ac3b1c44 "><code>0b50b9c</code></a>
Version 0.39.2 (<a
href="https://redirect.github.com/encode/starlette/issues/2710 ">#2710</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/fe46d99d92da17efe1827f96ad29d748aac870d2 "><code>fe46d99</code></a>
Support <code>request.url_for</code> when only "app" scope is
avaialable (<a
href="https://redirect.github.com/encode/starlette/issues/2672 ">#2672</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/1a6018e08a994c78f5c169b8535408259af0f249 "><code>1a6018e</code></a>
Support python-multipart 0.0.12 (<a
href="https://redirect.github.com/encode/starlette/issues/2708 ">#2708</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/fa7b382a66cd99e3dc18f3baa44dae5ec68be76b "><code>fa7b382</code></a>
Version 0.39.1 (<a
href="https://redirect.github.com/encode/starlette/issues/2706 ">#2706</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/075efd0c5c9f5e49a4416f3b4a24e24efab135f8 "><code>075efd0</code></a>
generate boundary with token_hex (<a
href="https://redirect.github.com/encode/starlette/issues/2702 ">#2702</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/b8139f9fe3b1acb34ddbe38dc6472a60b621540e "><code>b8139f9</code></a>
Consider <code>FileResponse.chunk_size</code> when handling multiple
ranges (<a
href="https://redirect.github.com/encode/starlette/issues/2703 ">#2703</a>)</li>
<li><a
href="https://github.com/encode/starlette/commit/4fbf766b3eac4146b86175682cec88d266fd8470 "><code>4fbf766</code></a>
test: add tests in <code>test_requests</code> (<a
href="https://redirect.github.com/encode/starlette/issues/2677 ">#2677</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/starlette/compare/0.38.6...0.40.0 ">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 07:58:30 -08:00
9bd430142a
build(deps-dev): bump aiohttp from 3.10.6 to 3.10.11 ( #2454 )
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.10.6 to
3.10.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/aiohttp/releases ">aiohttp's
releases</a>.</em></p>
<blockquote>
<h2>3.10.11</h2>
<h2>Bug fixes</h2>
<ul>
<li>
<p>Authentication provided by a redirect now takes precedence over
provided <code>auth</code> when making requests with the client -- by
:user:<code>PLPeeters</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9436 ">#9436</a>.</p>
</li>
<li>
<p>Fixed :py:meth:<code>WebSocketResponse.close()
<aiohttp.web.WebSocketResponse.close></code> to discard non-close
messages within its timeout window after sending close -- by
:user:<code>lenard-mosys</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9506 ">#9506</a>.</p>
</li>
<li>
<p>Fixed a deadlock that could occur while attempting to get a new
connection slot after a timeout -- by :user:<code>bdraco</code>.</p>
<p>The connector was not cancellation-safe.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9670 ">#9670</a>,
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9671 ">#9671</a>.</p>
</li>
<li>
<p>Fixed the WebSocket flow control calculation undercounting with
multi-byte data -- by :user:<code>bdraco</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9686 ">#9686</a>.</p>
</li>
<li>
<p>Fixed incorrect parsing of chunk extensions with the pure Python
parser -- by :user:<code>bdraco</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9851 ">#9851</a>.</p>
</li>
<li>
<p>Fixed system routes polluting the middleware cache -- by
:user:<code>bdraco</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst ">aiohttp's
changelog</a>.</em></p>
<blockquote>
<h1>3.10.11 (2024-11-13)</h1>
<h2>Bug fixes</h2>
<ul>
<li>
<p>Authentication provided by a redirect now takes precedence over
provided <code>auth</code> when making requests with the client -- by
:user:<code>PLPeeters</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>9436</code>.</p>
</li>
<li>
<p>Fixed :py:meth:<code>WebSocketResponse.close()
<aiohttp.web.WebSocketResponse.close></code> to discard non-close
messages within its timeout window after sending close -- by
:user:<code>lenard-mosys</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>9506</code>.</p>
</li>
<li>
<p>Fixed a deadlock that could occur while attempting to get a new
connection slot after a timeout -- by :user:<code>bdraco</code>.</p>
<p>The connector was not cancellation-safe.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>9670</code>, :issue:<code>9671</code>.</p>
</li>
<li>
<p>Fixed the WebSocket flow control calculation undercounting with
multi-byte data -- by :user:<code>bdraco</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>9686</code>.</p>
</li>
<li>
<p>Fixed incorrect parsing of chunk extensions with the pure Python
parser -- by :user:<code>bdraco</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>9851</code>.</p>
</li>
<li>
<p>Fixed system routes polluting the middleware cache -- by
:user:<code>bdraco</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/3e09325e4839117df13fbac301f360edf8d3a0ee "><code>3e09325</code></a>
Remove 3.10.11rc0 from 3.10 changelog (<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9858 ">#9858</a>)</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/beb7b740533b81d75706e6615f07d92fcbf1c325 "><code>beb7b74</code></a>
Release 3.10.11 (<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9857 ">#9857</a>)</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71 "><code>259edc3</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9851 ">#9851</a>/541d86d
backport][3.10] Fix incorrect parsing of chunk extensions w...</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936 "><code>bc15db6</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9852 ">#9852</a>/249855a
backport][3.10] Fix system routes polluting the middleware ...</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/158bf304bdd8047eec192540fa5bf7fe3862bffd "><code>158bf30</code></a>
Release 3.10.11rc0 (<a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9848 ">#9848</a>)</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/e5917cd3480b01e7527b6524f9bec954325e1d5f "><code>e5917cd</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9844 ">#9844</a>/fabf3884
backport][3.10] Fix compressed get request benchmark paylo...</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/68a1f42af90a5beae28c8617e0dfc15c3bd5153c "><code>68a1f42</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9840 ">#9840</a>/cc5fa316
backport][3.10] Add benchmark for sending compressed paylo...</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/4f4b90fef082fbb37395c394d68ee0ab3fcbc7e6 "><code>4f4b90f</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9835 ">#9835</a>/32ccfc9a
backport][3.10] Adjust client payload benchmarks to better...</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/f3dd0f9fece79dc3cd9d00e2ffddd49c36598361 "><code>f3dd0f9</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9832 ">#9832</a>/006f4070
backport][3.10] Increase allowed import time for Python 3....</li>
<li><a
href="https://github.com/aio-libs/aiohttp/commit/f2aab2e40336848d6a53ea03dc6d072a38c5e7f9 "><code>f2aab2e</code></a>
[PR <a
href="https://redirect.github.com/aio-libs/aiohttp/issues/9827 ">#9827</a>/14fcfd4c
backport][3.10] Adjust client GET read benchmarks to inclu...</li>
<li>Additional commits viewable in <a
href="https://github.com/aio-libs/aiohttp/compare/v3.10.6...v3.10.11 ">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>
2024-11-21 07:56:56 -08:00
72dac006f4
build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /libs/cli/js-examples ( #2456 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from
7.0.3 to 7.0.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md ">cross-spawn's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6 ">7.0.6</a>
(2024-11-18)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>update cross-spawn version to 7.0.5 in package-lock.json (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176 ">f700743</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5 ">7.0.5</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>fix escaping bug introduced by backtracking (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f ">640d391</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4 ">7.0.4</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160 ">#160</a>)
(<a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff ">5ff3a07</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0 "><code>77cd97f</code></a>
chore(release): 7.0.6</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85 "><code>6717de4</code></a>
chore: upgrade standard-version</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176 "><code>f700743</code></a>
fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263 "><code>9a7e3b2</code></a>
chore: fix build status badge</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184 "><code>0852683</code></a>
chore(release): 7.0.5</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f "><code>640d391</code></a>
fix: fix escaping bug introduced by backtracking</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464 "><code>bff0c87</code></a>
chore: remove codecov</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973 "><code>a7c6abc</code></a>
chore: replace travis with github workflows</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19 "><code>9b9246e</code></a>
chore(release): 7.0.4</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff "><code>5ff3a07</code></a>
fix: disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160 ">#160</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 ">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>
2024-11-21 07:56:33 -08:00
William FH and GitHub
54d848913f
[CLI] Update Inmem Version ( #2500 )
2024-11-21 15:49:59 +00:00
Nuno Campos and GitHub
7021e81150
Merge pull request #2496 from langchain-ai/vb/fix-error-message
...
langgraph: fix error message on invalid update
2024-11-20 18:46:50 -08:00
vbarda
b977045679
langgraph: fix error message on invalid update
2024-11-20 21:24:50 -05:00
William FH and GitHub
a933776436
[CLI] Validate node version ( #2489 )
2024-11-20 17:24:34 -08:00
Nuno Campos
588373c2d5
0.2.53
2024-11-20 17:13:42 -08:00
Nuno Campos and GitHub
267962bece
Merge pull request #2491 from langchain-ai/nc/20nov/stream-putnowait-loop
...
lib: For subgraphs / stream modes call stream.put as a callback in the original event loop
2024-11-20 17:11:56 -08:00
Nuno Campos and GitHub
4ae29b6e2a
Merge pull request #2492 from langchain-ai/wfh/accept_313
...
[CLI] Accept 3.13 in build
2024-11-20 17:04:15 -08:00
William Fu-Hinthorn
3c0de26914
Accept 3.13 in build
2024-11-20 16:26:17 -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
Vadym Barda and GitHub
7e8eef88ca
docs: small fix for tutorial ( #2487 )
2024-11-20 14:36:42 -05:00
Eugene Yurtsev and GitHub
e3e63c70c9
docs: how-to guide language changes ( #2462 )
2024-11-19 14:54:08 -05:00
Brace Sproul and GitHub
312f0982bc
Merge pull request #2476 from langchain-ai/release
...
(sdk-js): Release 0.0.26
2024-11-19 11:38:11 -08:00
bracesproul
153245145e
(sdk-js): Release 0.0.26
2024-11-19 11:32:22 -08:00
Brace Sproul and GitHub
c95abd88a1
Merge pull request #2117 from langchain-ai/brace/default-assign-api-key
...
fix(sdk-js): Pass api key in headers by default if in env
2024-11-19 11:26:01 -08:00
Brace Sproul and GitHub
a2b357bed5
Merge branch 'main' into brace/default-assign-api-key
2024-11-19 11:16:55 -08:00
Nuno Campos
253090f34d
lint
2024-11-19 10:29:32 -08:00
Brace Sproul and GitHub
7090d7e9a8
Merge pull request #2471 from langchain-ai/brace/drop-trailing-slash
...
fix(sdk-js): remove trailing slash from url
2024-11-19 09:31:59 -08:00
bracesproul
b3fa43e4a6
fix(sdk-js): remove trailing slash from url
2024-11-19 09:23:47 -08:00
Vadym Barda and GitHub
b1779cf348
docs: update autogen docs ( #2470 )
2024-11-19 11:57:26 -05:00
Harrison Chase and GitHub
26d18d3ca5
add how to guides for autogen integration ( #2466 )
2024-11-19 08:44:17 -08:00
Christopher Brooks and GitHub
7d80176137
Merge branch 'langchain-ai:main' into issue2159
2024-11-19 11:19:34 -05:00
Christopher Brooks
ca7da2fc41
feat: Make CompiledGraph displayable in Juypyter with display() ( #2159 )
2024-11-19 11:18:53 -05:00
12052d7d26
CLI docs ( #2464 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-11-19 10:57:07 -05:00
Vadym Barda and GitHub
e3a30a9b69
docs: fix prompt ( #2467 )
2024-11-19 09:42:20 -05:00
William FH and GitHub
ff1370a9a5
Release CLI ( #2465 )
2024-11-19 08:41:18 +00:00
William FH and GitHub
679a7365da
Add default ns in put_writes ( #2404 )
2024-11-18 22:55:12 -08:00
b2522ffe19
CLI Dev command ( #2463 )
...
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2024-11-19 05:12:03 +00:00
Eugene Yurtsev and GitHub
4212a795a0
docs[minor]: Fix layout issues in available templates ( #2452 )
2024-11-18 22:53:19 -05:00
Eugene Yurtsev and GitHub
517d67aa32
docs: Update to use LANGSMITH_API_KEY throughout ( #2461 )
2024-11-18 22:51:36 -05:00
Brace Sproul and GitHub
feaf14765a
Merge pull request #2458 from langchain-ai/brace/expose-command-interface
...
fix(sdk-js): Expose Command interface
2024-11-18 18:54:19 -08:00
Vadym Barda and GitHub
cc6063c729
docs: simplify multi-agent tutorials ( #2443 )
2024-11-19 02:31:12 +00:00
013397042e
docs: grammar ( #2449 )
...
Co-authored-by: Ian Sullivan <ian@frame.ai >
2024-11-18 21:01:37 -05: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
Erick Friis and GitHub
39eabd0fb8
Merge pull request #2459 from langchain-ai/erick/docs-self-hosted-plan-links
...
docs: self-hosted plan links
2024-11-18 16:42:02 -08:00
Erick Friis
e5cc2e2044
docs: self-hosted plan links
2024-11-18 16:35:19 -08:00
bracesproul
f00c0515e7
add jsdoc
2024-11-18 16:32:32 -08:00
bracesproul
d87c0d4d53
fix(sdk-js): Expose Command interface
2024-11-18 16:25:51 -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
Vadym Barda and GitHub
016a9c1936
checkpoint-postgres: release 2.0.3 ( #2455 )
2024-11-18 16:55:54 -05:00
Nuno Campos and GitHub
a2d6837fba
Merge pull request #2413 from langchain-ai/vb/fix-pipeline
...
checkpoint-postgres: handle cases when conn.pipeline is not supported
2024-11-18 10:39:56 -08:00
Andrew Nguonly and GitHub
f5bb2a3b04
docs: Update LangGraph Server API docs ( #2451 )
2024-11-18 09:38:38 -08:00
vbarda
f807b73092
use capabilities
2024-11-18 12:15:18 -05: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
William FH and GitHub
c6360e5408
[Checkpoint] 2.0.5 ( #2450 )
2024-11-18 08:19:17 -08:00
vbarda
f0505155a2
cache
2024-11-18 11:12:21 -05: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
Kevin Markham and GitHub
3f1792d6ba
docs: fix typo ( #2406 )
2024-11-18 09:11:57 -05:00
Zapiron and GitHub
9208052a94
docs: Update link to LCEL Concept Guide ( #2438 )
...
Updated the link to the LCEL concept guide
2024-11-18 09:09:12 -05: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
Nuno Campos
973ad76a58
Fix
2024-11-15 17:05:18 -08:00
Nuno Campos
36e49eb190
Add distinct source
2024-11-15 17:04:40 -08:00
Nuno Campos
66b9a7dee7
lib: When copying checkpoint, make it a child of the parent
2024-11-15 16:56:17 -08:00
Nuno Campos
5494855ffa
0.2.50
2024-11-15 15:43:37 -08:00
Nuno Campos
38d93a324c
0.2.49
2024-11-15 15:02:31 -08:00
Nuno Campos and GitHub
07c65321c1
Merge pull request #2432 from langchain-ai/nc/15nov/copy-checkpoint
...
lib: Restore prev behavior for update_state(None)
2024-11-15 15:00:18 -08:00
Nuno Campos
1dbdd7df2e
Lint
2024-11-15 14:54:55 -08:00
Nuno Campos
dab29ce094
lib: Restore prev behavior for update_state(None)
...
- update_state(None) copies checkpoint and keeps current (PUSH) tasks, eg for replay
- update_state(None, as_node=END) clears all tasks (PUSH or PULL)
2024-11-15 14:48:56 -08:00
Vadym Barda and GitHub
0388534b9f
docs: update double texting how-tos ( #2431 )
2024-11-15 22:45:36 +00:00
Nuno Campos and GitHub
81077e7c3a
Merge pull request #2429 from langchain-ai/nc/15nov/sdk-js-types
...
sdk-js: Update types for state.task
2024-11-15 11:54:59 -08:00
Nuno Campos
29a0042149
sdk-js: Update types for state.task
2024-11-15 11:54:00 -08:00
William FH and GitHub
e9162e2516
Update CLI pyproject.toml ( #2428 )
2024-11-15 11:00:32 -08:00
Vadym Barda and GitHub
0f6c001c25
docs: update replay in persistence concepts ( #2427 )
2024-11-15 18:49:20 +00:00
Eugene Yurtsev and GitHub
7f26325c87
cli: minor wording change in new command ( #2422 )
2024-11-15 03:13:53 +00:00
Nuno Campos and GitHub
3c4ce3f945
Merge pull request #2420 from langchain-ai/nc/14nov/js-sdk-command
...
Nc/14nov/js sdk command
2024-11-14 18:21:38 -08:00
Nuno Campos
84ef939bf4
sdk-js 0.0.24
2024-11-14 18:17:22 -08:00
Nuno Campos
bdc22ea127
sdk-js: Accept command when creating run
2024-11-14 18:17:04 -08:00
Vadym Barda and GitHub
5abbb79e1b
Merge branch 'main' into vb/fix-pipeline
2024-11-14 19:08:18 -05:00
vbarda
0a5220aa07
code review
2024-11-14 19:06:41 -05:00
Nuno Campos and GitHub
970e68edcc
Merge pull request #2417 from langchain-ai/vb/fix-debug-async
...
langgraph: add debug to AsyncPregelLoop
2024-11-14 06:53:18 -08:00
vbarda
da1a80e86d
lint
2024-11-14 09:37:39 -05:00
vbarda
c4b240e0c2
langgraph: add debug to AsyncPregelLoop
2024-11-14 09:36:33 -05:00
vbarda
c2052d11c2
checkpoint-postgres: remove pipeline flag in cursor
2024-11-13 21:42:51 -05:00
Vadym Barda and GitHub
dc0281b99c
docs: update rollback in double-texting concepts ( #2412 )
2024-11-13 21:21:12 -05:00
Nuno Campos
3a860ad537
0.2.48
2024-11-13 17:45:04 -08:00
Nuno Campos
7051bccc30
checkpoint 2.0.4
2024-11-13 17:37:01 -08:00
Nuno Campos
199e41b228
sdk py 0.1.36
2024-11-13 17:07:07 -08:00
Nuno Campos
229a9e19a8
sdk-py: Add command arg for creating runs
2024-11-13 17:06:56 -08:00
Nuno Campos
3c3a1a1f35
0.2.47
2024-11-13 14:02:25 -08:00
Nuno Campos and GitHub
f11127648e
Merge pull request #2346 from langchain-ai/nc/4nov/send-eager
...
lib: Execute Sends in the superstep that originated them (feature-flagged)
2024-11-13 13:39:50 -08:00
Nuno Campos and GitHub
29f833b1a7
Merge pull request #2393 from langchain-ai/nc/11nov/command-resume
...
lib: Add interrupt() function
2024-11-13 13:34:19 -08:00
Nuno Campos and GitHub
7a3ea42743
Merge pull request #2410 from langchain-ai/nc/13nov/command-dataclass
...
Nc/13nov/command dataclass
2024-11-13 13:28:13 -08:00
Nuno Campos
a94902db8a
Lint
2024-11-13 13:17:02 -08:00
Nuno Campos
9fd152ef3a
format
2024-11-13 13:14:03 -08:00
Nuno Campos
03bc9ba6e6
Make Command a dataclass
2024-11-13 13:11:28 -08:00
Nuno Campos
7fe6f88876
Add resumeable/ns properties to Interrupt
2024-11-13 12:51:55 -08:00
Nuno Campos and GitHub
1d88affd29
Merge pull request #2400 from langchain-ai/nc/12nov/command
...
Make Command accept generic arg for destinations
2024-11-13 10:03:27 -08:00
Eugene Yurtsev and GitHub
6906e12edb
cli: add ability to output docker compose file ( #2379 )
...
* Add ability to output docker compose file `langgraph dockerfile
Dockerfile --add-docker-compose`
* Add emoji in places
2024-11-13 12:42:58 -05:00
William FH and GitHub
7b4c29a20d
[Checkpointers] MemorySaver: refrain from overwriting writes ( #2399 )
2024-11-13 00:20:38 +00:00
Nuno Campos
16bfa80b58
Make Command accept generic arg for destinations
2024-11-12 16:18:23 -08:00
Eugene Yurtsev and GitHub
cb10437c3f
cli: Add default to interactive flow in new command ( #2398 )
2024-11-12 16:38:15 -05:00
Eugene Yurtsev and GitHub
2bcf1c0a20
cli[minor]: Add langgraph new command ( #2369 )
...
Adds a "new" command to create langgraph application from a template.
2024-11-12 14:30:51 -05:00
Nuno Campos
00964b18f6
Undo
2024-11-11 18:12:25 -08:00
Nuno Campos
0d5c6201d3
Disable in py 3.10 or below for async
2024-11-11 18:09:58 -08:00
Nuno Campos
86d2847dab
Use neg idx
2024-11-11 17:57:45 -08:00
Nuno Campos
b3a4eaa967
Remove print
2024-11-11 17:56:10 -08:00
Nuno Campos
87fc519ce7
Remove print
2024-11-11 17:54:56 -08:00
Nuno Campos
ef3a1ee997
Undo
2024-11-11 17:54:04 -08:00
Nuno Campos
311e16dffd
Remove prints
2024-11-11 17:52:18 -08:00
Nuno Campos
c83b8f6d04
Update
2024-11-11 17:49:58 -08:00
Nuno Campos
62d3a85b07
Add sync test
2024-11-11 17:46:54 -08:00
Nuno Campos
810ae0ef51
lib: Add interrupt() function
...
- This works similarly to the input() function from stdlib
- calling it in a node interrupts execution
- invoking the graph with Command(resume=...) will set ... as the return value of interrupt() so that the node can access the "answer" to the "question"
- This PR also starts the work to control the graph on invoke/stream with Command() input, to be continued in a future PR
2024-11-11 17:44:03 -08:00
Nuno Campos
2ff49d2200
Update
2024-11-11 15:43:20 -08:00
Nuno Campos
d0567dc7be
Add feature flag (default off) so we can merge this before releasing
...
- Add additional ci job to test with FF on
2024-11-11 15:38:48 -08:00
Nuno Campos
ea64ac5c07
Update
2024-11-11 14:18:14 -08:00
Nuno Campos
090b53ccc1
Lint
2024-11-11 14:14:23 -08:00
Nuno Campos
0e872e7482
Lin t
2024-11-11 14:12:33 -08:00
Nuno Campos
3ad966e057
Update
2024-11-11 14:08:59 -08:00
Nuno Campos and GitHub
a73f9affab
Merge pull request #2391 from langchain-ai/nc/11nov/control-to-command
...
lib: Rename Control to GraphCommand
2024-11-11 14:06:17 -08:00
Nuno Campos
89a0859928
Execute Sends in same super step that triggered them
...
- Keep old code path for compatibility with existing checkpoints
- Keep a similar order of application of updates, in some cases there will be no visible change
- Update task path for Sends to contain the path of all the parent tasks (multiple parents when a Send task creates another Send)
- That lineage path is used to ensure order of application of updates respects their logical lineage (ie updates from parents always applied before their child tasks)
- Move Interrupt writes to use negative indexes, which allow replacing/shadowing (when task is re-run it may interrupt again, or succeed)
- Runner will now attempt to schedule new Send tasks as soon as the write is received (ie while the originating node is still running)
- Update kafka scheduler to support new Send behavior
2024-11-11 14:01:16 -08:00
Nuno Campos
75c502cd93
Lint
2024-11-11 13:59:18 -08:00
Nuno Campos
0cc45f7a35
Lint
2024-11-11 13:04:23 -08:00
Nuno Campos
efb1dd6a10
lib: Rename Control to GraphCommand
2024-11-11 13:01:04 -08:00
Nuno Campos and GitHub
6edb213fe7
Merge pull request #2388 from langchain-ai/nc/11nov/update-none-clear-all-tasks
...
lib: update_state(values=None) should clear all tasks
2024-11-11 12:07:51 -08:00
Nuno Campos
c0513076a2
Lint
2024-11-11 11:07:36 -08:00
Nuno Campos
c043f148a6
lib: update_state(values=None) should clear all tasks
2024-11-11 10:48:34 -08:00
David Duong and GitHub
366b5e04c7
Merge pull request #2376 from langchain-ai/dqbd/js-0.0.23-lc_build
...
fix(sdk-js): move to `@langchain/scripts` for building, bump to 0.0.23
2024-11-11 15:33:53 +01:00
Tat Dat Duong
72239d2228
Bump to 0.0.23, use @langchain/scripts 0.1.4
2024-11-11 15:01:12 +01:00
Vadym Barda and GitHub
b7f238975a
docs: fix nav sidebar ( #2382 )
2024-11-10 16:32:14 -05:00
Tat Dat Duong
a3c45141ee
Make sure we actually build the CJS
2024-11-08 20:52:44 +01:00
Tat Dat Duong
f7b899a54d
fix(sdk-js): move to @langchain/scripts for building
2024-11-08 20:08:38 +01:00
Vadym Barda and GitHub
95477277a2
docs: improve breadcrumbs behavior ( #2375 )
2024-11-08 18:39:59 +00:00
Andrew Nguonly and GitHub
64b446f671
Update LangGraph server API docs ( #2374 )
2024-11-08 10:32:17 -08:00
David Duong and GitHub
c2d2e44794
Merge pull request #2372 from langchain-ai/dqbd/0.0.22-sdk-js
...
feat(sdk-js): bump to 0.0.22
2024-11-08 16:17:45 +01:00
Eugene Yurtsev and GitHub
f60b9f3b43
cli: add --version option ( #2373 )
...
- add version option
- add unit test
2024-11-08 02:49:30 +00:00
Tat Dat Duong
e3acfa3435
feat(sdk-js): bump to 0.0.22
2024-11-08 03:19:27 +01:00
Vadym Barda and GitHub
0f92c89529
docs: show nav menu for mobile ( #2371 )
2024-11-07 20:31:49 -05:00
Andrew Nguonly and GitHub
7cba75ec35
sdk-js: Add custom and messages-tuple stream modes ( #2370 )
2024-11-07 16:32:08 -08:00
Vadym Barda and GitHub
8408ba3a3e
docs: add breadcrumbs ( #2363 )
2024-11-07 21:33:55 +00:00
Nuno Campos and GitHub
c8c58b30d5
Merge pull request #2368 from langchain-ai/nc/7nov/control
...
lib: Rename args in Control object
2024-11-07 13:19:12 -08:00
Nuno Campos
b4bed3329c
lib: Rename args in Control object
...
- update_state -> state
- trigger -> goto
2024-11-07 13:12:19 -08:00
Eugene Yurtsev and GitHub
4eec3aa69e
docs: fix some typos ( #2364 )
2024-11-07 14:52:47 -05:00
Vadym Barda and GitHub
35e3276e34
langgraph: add add_sequence to StateGraph ( #2352 )
2024-11-07 13:16:34 -05:00
Nuno Campos and GitHub
b346f4ead8
Merge pull request #2358 from langchain-ai/nc/6nov/kafka-missing-task-id
...
kafka: Add missing task id for TaskNotFound error
2024-11-06 16:48:25 -08:00
Vadym Barda and GitHub
fef748e6cc
docs: add another ignore url pattern to link check ( #2357 )
2024-11-07 00:43:22 +00:00
Nuno Campos
19cc95f7b6
kafka: Add missing task id for TaskNotFound error
2024-11-06 16:41:43 -08:00
Vadym Barda and GitHub
eef65d94ac
docs: fix numbered list in assistant versioning ( #2356 )
2024-11-06 22:17:01 +00:00
Nuno Campos
72d497e052
Move code
2024-11-06 09:02:06 -08:00
Nuno Campos and GitHub
32f58258aa
Merge pull request #2355 from langchain-ai/nc/6nov/loop-match-writes
...
lib: Split out _match_writes util in PregelLoop
2024-11-06 08:55:10 -08:00
Nuno Campos
87d57b434a
lib: Split out _match_writes util in PregelLoop
2024-11-06 08:48:30 -08:00
Nuno Campos and GitHub
4bbbb7d246
Merge pull request #2354 from langchain-ai/nc/6nov/cached-tasks-output-timing
...
lib: For cached tasks, emit output events after task events
2024-11-06 08:29:38 -08:00
Nuno Campos
c1ce3c6b5f
lib: For cached tasks, emit output events after task events
2024-11-06 08:22:54 -08:00
Nuno Campos and GitHub
511de6f5f6
Merge pull request #2353 from langchain-ai/dqbd/runnable-passthrough-test
...
fix(graph): invalid graph representation if RunnablePassthrough is used
2024-11-06 08:14:19 -08:00
Nuno Campos
4dc08cd724
Fix
2024-11-06 08:07:48 -08:00
Tat Dat Duong
d7b9b3b01d
fix(graph): invalid graph representation if RunnablePassthrough is used
2024-11-06 16:34:29 +01:00
Vadym Barda and GitHub
a82ded65c6
docs: fix install/env cell for customer support tutorial ( #2350 )
2024-11-05 19:50:05 -05:00
Brace Sproul and GitHub
1ca49fa568
Merge pull request #2348 from langchain-ai/brace/filter-status-js
...
feat(js-sdk): Add status field in search args
2024-11-05 16:40:23 -08:00
bracesproul
4eb3cd32fa
cr
2024-11-05 16:04:52 -08:00
Brace Sproul and GitHub
80d2a315aa
Merge branch 'main' into brace/filter-status-js
2024-11-05 16:03:58 -08:00
bracesproul
82c9aa8485
feat(js-sdk): Add status field in search args
2024-11-05 16:03:24 -08:00
Nuno Campos and GitHub
8ecfafefbf
Merge pull request #2347 from langchain-ai/nc/5nov/control-serializable
...
lib: Make Control object serializable
2024-11-05 15:34:13 -08:00
Nuno Campos
010564cbb3
lib: Make Control object serializable
2024-11-05 15:24:20 -08:00
Nuno Campos
18a3fa4a00
Ignore unknown tasks
2024-11-05 14:22:23 -08:00
Nuno Campos
de8e487ff1
Add todo
2024-11-05 10:53:42 -08:00
Nuno Campos and GitHub
e5ebdff4d8
Merge pull request #2342 from langchain-ai/nc/5nov/send-test-interrupt-before
...
Add two more test cases for Send + interrupt
2024-11-05 09:34:04 -08:00
Nuno Campos
f283dac325
Add one more test for send-react-interrupt flow with replacing tool call
2024-11-05 09:27:02 -08:00
Nuno Campos
639501809c
api: Add one more test case for send + interrupt before
...
- Testing same exact behavior as send + interrupt after
2024-11-05 09:15:46 -08:00
Nuno Campos and GitHub
36e6b89081
Merge pull request #2333 from langchain-ai/nc/apply-writes-order
...
lib: Enforce write application order in apply_writes
2024-11-05 09:07:23 -08:00
Nuno Campos and GitHub
90639e6cd7
Merge pull request #2332 from langchain-ai/nc/4nov/update-state-latest
...
lib: When updating state from latest, apply pending writes first
2024-11-04 16:59:51 -08:00
Nuno Campos
dec0b7f439
Lint
2024-11-04 16:43:07 -08:00
Nuno Campos
04657408f8
lib: Enforce write application order in apply_writes
...
- Previously order was enforced in prepare_next_tasks, but that's not a good fit for future features
- This changes order between PULL and PUSH tasks, updates from PUSH tasks will now be applied after updates from PULL tasks
2024-11-04 16:39:04 -08:00
Nuno Campos
971d746061
Lint
2024-11-04 16:33:20 -08:00
Nuno Campos
9a2ba8c8cd
lib: When updating state from latest, apply pending writes first
...
- This picks a default value for as_node which matches the node which last acted, even if the step didnt finish (due to an interrupt)
2024-11-04 16:20:21 -08:00
Nuno Campos and GitHub
b50d41bbf3
Merge pull request #2331 from langchain-ai/nc/4nov/get-state-latest-next
...
lib: When getting latest state, alst make `next` reflect pending writes
2024-11-04 16:16:53 -08:00
Nuno Campos
b71fd5092b
lib: When getting latest state, alst make next reflect pending writes
...
- ie. tasks already executed should not show up in `next` list
2024-11-04 16:03:34 -08:00
Nuno Campos and GitHub
f9b151b67f
Merge pull request #2330 from langchain-ai/nc/4nov/test-react-send
...
lib: Add test for react architecture using Send + interrupt_before
2024-11-04 15:58:27 -08:00
William FH and GitHub
7ba9a66301
[Docs] Clarify checkpointer options ( #2328 )
2024-11-04 15:43:00 -08:00
Nuno Campos and GitHub
1b85764bf6
Merge pull request #2329 from langchain-ai/nc/4nov/get-state-apply-pending-writes
...
lib: In calls to get_state apply pending writes
2024-11-04 15:42:23 -08:00
Nuno Campos and GitHub
5e4c928948
Merge pull request #2327 from langchain-ai/nc/4nov/send-tests
...
lib: Add two more tests for Send
2024-11-04 15:42:08 -08:00
Nuno Campos
ae282e3ae1
lib: Add test for react architecture using Send + interrupt_before
...
- Both for cond edge and edgeless graphs
2024-11-04 15:41:02 -08:00
Nuno Campos
de3b654735
Add one more assertion
2024-11-04 15:14:29 -08:00
Nuno Campos
d28734f287
Lint
2024-11-04 15:12:34 -08:00
Nuno Campos
f9409022ed
lib: In calls to get_state apply pending writes
...
- When calling get_state without a checkpoint id (ie to get the latest state) apply any pending writes for current checkpoint
2024-11-04 15:10:12 -08:00
Nuno Campos
8138c88b41
Add async versions
2024-11-04 11:56:31 -08:00
Nuno Campos
38332fd3c6
Lint
2024-11-04 11:55:14 -08:00
Nuno Campos
5606bef3dd
lib: Add two more tests for Send
2024-11-04 11:52:39 -08:00
Vadym Barda and GitHub
895079bbdc
langgraph: release 0.2.45 ( #2326 )
2024-11-04 14:34:07 -05:00
Nuno Campos and GitHub
6aaf80f2fd
Merge pull request #2325 from langchain-ai/nc/4nov/unset-skip-done-tasks
...
lib: Unset skip_done_tasks after each tick of the loop
2024-11-04 11:30:08 -08:00
Vadym Barda and GitHub
2e656d9145
langgraph: add config metadata to pregel loop ( #2323 )
2024-11-04 19:26:34 +00:00
Nuno Campos and GitHub
1fb8e013f7
Merge pull request #2303 from langchain-ai/nc/1nov/test-send-order
...
Test order of update application after Send
2024-11-04 11:26:04 -08:00
Nuno Campos and GitHub
f8fe2041d9
Merge pull request #2144 from langchain-ai/nc/19oct/graph-control
...
lib: Add support for graphs without edges
2024-11-04 11:25:40 -08:00
Nuno Campos
014f8485a6
lib: Unset skip_done_tasks after each tick of the loop
2024-11-04 11:23:53 -08:00
David Duong and GitHub
58d7eb9b17
Merge pull request #2322 from langchain-ai/dqbd/cli-prebuild-js
...
feat(cli): add JS prebuild script
2024-11-04 18:13:25 +01:00
Tat Dat Duong
44ff5f1a5a
Update tests
2024-11-04 14:00:02 +01:00
David Duong and GitHub
46f25cf926
Merge pull request #2307 from langchain-ai/dqbd/cli-js-other-pkg-managers
...
feat(cli): add support for other JS package managers based off package lock
2024-11-04 13:59:28 +01:00
Tat Dat Duong
e1467c27cb
Remove newline
2024-11-04 13:52:40 +01:00
Tat Dat Duong
5deedfe548
Bump to 0.1.53
2024-11-04 13:51:46 +01:00
Tat Dat Duong
30937d0406
feat(cli): add JS prebuild script
2024-11-04 13:50:41 +01:00
David Duong and GitHub
6eb8130419
Merge pull request #2310 from langchain-ai/dqbd/sdk-js-types
...
feat(sdk-js): improve types for drawable graph, interrupts and metadata
2024-11-04 13:26:58 +01:00
Tat Dat Duong
8455771eb9
Bump to 0.0.21
2024-11-04 13:20:36 +01:00
Tat Dat Duong
39dcafcdea
feat(sdk-js): improve types for drawable graph, interrupts and metadata
2024-11-02 02:48:47 +01:00
Tat Dat Duong
7854a19dac
Update test
2024-11-02 02:05:42 +01:00
Allen and GitHub
18cea39090
fix(docs): function call in partial ( #2297 )
...
Docs use prompts with partial + function call, which would result in a
static datetime as opposed to a dynamic datetime being rendered on use.
2024-11-02 00:37:16 +00:00
Vadym Barda and GitHub
46ffa0e8d4
langgraph: release 0.2.44 ( #2308 )
2024-11-01 20:27:17 -04:00
Tat Dat Duong
bf3098a075
feat(cli): add support for other JS package managers based off package lock
2024-11-02 00:44:08 +01:00
Andrew Nguonly and GitHub
cdd7899564
RemoteGraph: If node name is not present, fallback to node id as the node name ( #2304 )
2024-11-01 15:21:39 -07:00
Vadym Barda and GitHub
eeebd44a87
docs: add subgraph streaming example for remote graph ( #2306 )
2024-11-01 22:16:09 +00:00
Vadym Barda and GitHub
805f437534
docs: fix link in the tutorial ( #2305 )
2024-11-01 17:52:09 -04:00
Vadym Barda and GitHub
782b9a7903
langgraph: add message list validation to create_react_agent + a troubleshooting guide ( #2182 )
2024-11-01 17:40:53 -04:00
Andrew Nguonly and GitHub
ecb584cbe0
sdk: Add action query param to cancel Run methods ( #2284 )
2024-11-01 13:32:49 -07:00
Nuno Campos
1e3953d1e0
Test order of update application after Send
...
- updates from inside Send tasks are applied in the order the Sends were created, if when you fan out, and have each task write results to a list with reducer, the final list is in the order you used when triggering
2024-11-01 13:23:10 -07:00
William FH and GitHub
509291fc1a
Bump CLI ( #2302 )
2024-11-01 19:53:48 +00:00
Vadym Barda and GitHub
dbb1958be5
docs: add more redirects & remove unused cloud pages ( #2301 )
2024-11-01 19:40:21 +00:00
Vadym Barda and GitHub
d261d43b39
docs: update the docs for streaming messages ( #2299 )
2024-11-01 14:38:41 -04:00
Andrew Nguonly and GitHub
6986a50711
Update LangGraph Server API docs ( #2300 )
2024-11-01 11:38:12 -07:00
Nuno Campos and GitHub
e9fe3e8bd9
Merge pull request #2298 from langchain-ai/dqbd/cli-debugger-rename
...
chore(cli): rename Debugger to LangGraph Studio
2024-11-01 11:11:07 -07:00
ccurme and GitHub
bdca2f590a
Merge pull request #2294 from langchain-ai/cc/webhooks
...
docs: add some detail on webhooks
2024-11-01 14:01:42 -04:00
Tat Dat Duong
f4801ae9ae
chore(cli): rename Debugger to LangGraph Studio
2024-11-01 18:47:35 +01:00
Nuno Campos and GitHub
47ea264b46
Merge pull request #2296 from langchain-ai/vb/remap
...
langgraph: handle messages-tuple stream mode in RemoteGraph
2024-11-01 09:50:51 -07:00
vbarda
84e023e10b
langgraph: handle messages-tuple stream mode in RemoteGraph
2024-11-01 12:43:59 -04:00
Chester Curme
52f0953786
add detail
2024-11-01 11:23:16 -04:00
Vadym Barda and GitHub
d9743f684e
docs: update annotation in tutorial ( #2293 )
2024-11-01 13:57:16 +00:00
Vadym Barda and GitHub
4aebb461e9
docs: update core in docs dependencies ( #2291 )
2024-11-01 09:51:34 -04:00
Vadym Barda and GitHub
c2cc1e2e5e
docs: remove token-by-token streaming from stream events ( #2292 )
2024-11-01 13:27:06 +00:00
William FH and GitHub
66cf2e6779
Add Tree of Thoughts ( #1128 )
2024-10-31 21:27:13 -07:00
Vadym Barda and GitHub
7bacb8c984
langgraph: release 0.2.43 ( #2286 )
2024-10-31 17:57:21 -04:00
Bagatur and GitHub
e2de59c6fb
langgraph[patch]: bump core ^0.3.15 || ^ 0.2.43 ( #2285 )
2024-10-31 17:53:03 -04:00
Vadym Barda and GitHub
c28dc26356
docs: fix typo ( #2283 )
2024-10-31 16:27:07 -04:00
Eugene Yurtsev and GitHub
ea012fb7dc
docs: reorder reference ( #2282 )
2024-10-31 20:25:58 +00:00
Nuno Campos
18e71469e1
Lint
2024-10-31 12:57:00 -07:00
Eugene Yurtsev and GitHub
4b1d30906e
ci: update deploy docs workflow to check external links on langchain.com ( #2280 )
...
Reverts temporary change that was made yesterday to accommodate a link
that was only available on the staging version of langchain.com
2024-10-31 14:48:32 -04:00
Eugene Yurtsev and GitHub
8b36013a03
Fix bad tab in how-to guide ( #2278 )
2024-10-31 14:48:21 -04:00
Vadym Barda and GitHub
ed91572ceb
docs: expose how-to on rebuilding graph at runtime ( #2281 )
2024-10-31 18:34:16 +00:00
Eugene Yurtsev and GitHub
4150abf18c
docs: update reference layout ( #2279 )
...

2024-10-31 18:23:27 +00:00
Vadym Barda and GitHub
e132dfc955
docs: update FAQ ( #2277 )
...
Sync with https://www.langchain.com/langgraph
2024-10-31 13:43:08 -04:00
Nuno Campos
2624fc43dd
Fix
2024-10-31 09:40:24 -07:00
Nuno Campos
0c5c2e6370
lib: Add support for graphs without edges
...
- Return Control(update_state=, trigger=, send=) from your nodes instead
- Annotate nodes with Control[Literal["destination"]] to see your graph connections drawn
2024-10-31 09:38:43 -07:00
Harrison Chase and GitHub
f7a93f99ef
cp readme over ( #2274 )
2024-10-31 15:17:26 +00:00
Vadym Barda and GitHub
9f29bbfce8
docs: add flags to self-hosted ( #2272 )
2024-10-31 11:11:26 -04:00
Vadym Barda and GitHub
0075080827
docs: update quick start ( #2273 )
2024-10-31 11:11:07 -04:00
Harrison Chase and GitHub
63318e5690
Harrison/update readme 1 ( #2262 )
2024-10-31 10:02:40 -05:00
Harrison Chase and GitHub
d0c12b1b7f
Harrison/update language ( #2271 )
2024-10-31 10:01:22 -05:00
Vadym Barda and GitHub
194b4e0d9b
langgraph: release 0.2.42 ( #2270 )
2024-10-31 10:32:13 -04:00
Nuno Campos and GitHub
c6c7f400ae
Merge pull request #2256 from langchain-ai/nc/30oct/fix-messages-subgraphs
...
Fix stream_mode=messages used together with subgraphs=True
2024-10-31 07:27:04 -07:00
Vadym Barda and GitHub
c91e6bcc46
Merge branch 'main' into nc/30oct/fix-messages-subgraphs
2024-10-31 10:14:04 -04:00
vbarda
ca69566d67
remove events
2024-10-31 10:13:24 -04:00
Jacob Lee and GitHub
0bedfa3628
docs: Fix typos ( #2266 )
2024-10-31 10:00:37 -04:00
Vadym Barda and GitHub
fd82f037c6
docs: update remote graph how-to ( #2269 )
2024-10-31 09:58:11 -04:00
Vadym Barda and GitHub
2bacc42e01
docs: fix typo in remote graph how-to ( #2268 )
2024-10-31 09:29:10 -04:00
Eugene Yurtsev and GitHub
b527b785fd
disable more link checking ( #2265 )
2024-10-31 04:10:10 +00:00
Eugene Yurtsev and GitHub
c3622cb0fe
docs: disable link check for link that doesn't exist yet ( #2263 )
2024-10-31 03:51:44 +00:00
d0e59f406b
docs: concepts for cloud and doc-reorg ( #2196 )
...
Update langgraph documentation
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
Co-authored-by: Nuno Campos <nuno@langchain.dev >
Co-authored-by: Chester Curme <chester.curme@gmail.com >
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-10-30 23:34:02 -04:00
Nuno Campos
4cc6d789ed
Fix stream_mode=messages used together with subgraphs=True
2024-10-30 19:35:28 -07:00
Bagatur and GitHub
d6d6ab9b73
langgraph[patch]: fix core dep specification ( #2253 )
2024-10-30 21:50:46 -04:00
Vadym Barda and GitHub
e7816eb197
ci: turn off release attestations ( #2252 )
2024-10-30 21:28:34 -04:00
Vadym Barda and GitHub
4f8b69360c
langgraph: release 0.2.41 ( #2251 )
2024-10-30 21:22:54 -04:00
Vadym Barda and GitHub
0718d0a660
langgraph: fix caller_ns in remote graph ( #2250 )
2024-10-31 01:20:36 +00:00
Bagatur and GitHub
3641e65cac
langgraph[patch]: fix annotations in inherited tool schemas ( #2236 )
...
fix #2220
2024-10-30 21:19:02 -04:00
Nuno Campos and GitHub
b17141604d
Merge pull request #2247 from langchain-ai/jacob/nit
...
fix: Fix typo in remote graph astream
2024-10-30 14:59:27 -07:00
Nuno Campos
5fece1cbfc
langgraph 0.2.40
2024-10-30 14:58:27 -07:00
Nuno Campos and GitHub
a85b7fca15
Merge pull request #2246 from langchain-ai/nc/30oct/node-callback
...
Add "node finished" callback
2024-10-30 14:57:51 -07:00
jacoblee93
af9a09b182
Fix typo in remote graph astream
2024-10-30 14:52:59 -07:00
Nuno Campos
75c8f99d3c
Add "node finished" callback
2024-10-30 14:45:09 -07:00
Nuno Campos and GitHub
46892855c5
Merge pull request #2242 from langchain-ai/nc/30oct/remote-subgraphs
...
fix: RemoteGraph should propagate subgraphs streaming
2024-10-30 14:23:45 -07:00
Nuno Campos
59e8d59b7c
Fix
2024-10-30 14:17:50 -07:00
Nuno Campos
5cb6ff79ca
Prepend ns
2024-10-30 14:09:43 -07:00
Nuno Campos
9c41ce0b1c
Lint
2024-10-30 14:07:27 -07:00
Nuno Campos
61abee4bd4
Lint
2024-10-30 13:59:31 -07:00
Nuno Campos
43d9567c5d
fix: RemoteGraph should propagate subgraphs streaming
2024-10-30 13:47:27 -07:00
Nuno Campos and GitHub
3923979479
Merge pull request #2235 from langchain-ai/nc/30oct/remote-invoke
...
lib: Ensure RemoteGraph.invoke emits all subgraph events as expected
2024-10-30 13:26:56 -07:00
Nuno Campos
5312fbd7f4
Fix
2024-10-30 13:20:55 -07:00
David Duong and GitHub
ae412bbede
Merge pull request #2237 from langchain-ai/jacob/sdk
...
feat(sdk-js): Support if_not_exists in SDK runs
2024-10-30 19:16:22 +01:00
jacoblee93
69c8d21ba6
Support if_not_exists
2024-10-30 11:10:08 -07:00
Nuno Campos
2dfc4e3cc0
lib: Ensure RemoteGraph.invoke emits all subgraph events as expected
...
- Just delegate to stream
2024-10-30 10:40:14 -07:00
74c8589045
Add support for Docker arg passthrough in langgraph CLI ( #2206 )
...
Added a js-example to show it builds
Adapted integration tests after removing the test CLI command
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-10-29 22:33:40 -07:00
Vadym Barda and GitHub
4717632ce7
sdk-py: more docstring updates ( #2225 )
2024-10-30 01:22:29 +00:00
Andrew Nguonly and GitHub
726a85f26b
Add docstring to RemoteGraph ( #2217 )
2024-10-29 15:31:21 -07:00
Vadym Barda and GitHub
8a0650a46b
sdk-py: update docstrings ( #2221 )
2024-10-29 20:31:12 +00:00
Vadym Barda and GitHub
e7dc43b7ca
langgraph: validate sync/async clients initialized correctly in RemoteGraph ( #2214 )
2024-10-29 13:21:10 -04:00
Nuno Campos
90195af1d8
sdk-py 0.1.35
2024-10-28 15:22:05 -07:00
Nuno Campos
da707343dc
sdk-js 0.0.19
2024-10-28 15:21:57 -07:00
Nuno Campos and GitHub
1f5fc505c6
Merge pull request #2204 from langchain-ai/nc/28oct/sdk-wait-raise-error
...
sdk: By default raise errors in /wait endpoint
2024-10-28 14:46:14 -07:00
Nuno Campos
4c655f841e
Lint
2024-10-28 14:40:25 -07:00
Nuno Campos
be27c96f3c
sdk: By default raise errors in /wait endpoint
2024-10-28 14:27:13 -07:00
eric-langchain and GitHub
5090e30f71
Merge pull request #2185 from langchain-ai/update-docs-for-homepage-redesign
...
home page redesign docs
2024-10-28 11:47:34 -05:00
Lance Martin and GitHub
688de89864
Fix link that is causing docs build to fail ( #2194 )
2024-10-25 23:34:08 +00:00
Lance Martin and GitHub
62444d4c63
Update memory concept doc ( #2181 )
...
Add content on [memory
types](https://blog.langchain.dev/memory-for-agents/ ).
2024-10-25 14:08:04 -07:00
Eugene Yurtsev and GitHub
4a970cca8b
docs: update main site layout ( #2191 )
...
* Remove land hand sidebar on most pages
* Cleans up some headings
* Adds error reference information to index (it was already on the
sidebar for the how-to page) -- should probably be its own tab?
* Adds an index page for the reference (so it's easier to link to a main
reference page), alternatively we can set up a redirect from index to
graph
2024-10-25 16:49:31 -04:00
Eugene Yurtsev and GitHub
18b9135770
docs: update tutorials index page ( #2190 )
...
Minor formatting update -- since this section stands right now looks
quite bad
2024-10-25 18:08:21 +00:00
David Duong and GitHub
d266ddb312
Merge pull request #2167 from langchain-ai/dqbd/sdk-js-timeout
...
feat(sdk-js): implement abort signal timeout, make default timeout for runs 5 minutes
2024-10-25 15:40:30 +02:00
Tat Dat Duong
7a348ac19c
Don't enforce timeouts for run stream / block endpoints
2024-10-25 15:34:36 +02:00
Eric han
123d93539a
some more spots
2024-10-24 17:14:02 -05:00
Eric han
785e7dab3a
home page redesign docs
2024-10-24 17:04:20 -05:00
Vadym Barda and GitHub
582fb11dd4
checkpoint-sqlite: release 2.0.1 ( #2184 )
2024-10-24 17:08:25 -04:00
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
David Duong and GitHub
a4fab2a867
Merge pull request #2178 from langchain-ai/dqbd/sdk-bump-24oct
...
feat(sdk): bump SDK to js@0.0.18 and py@0.1.34
2024-10-24 18:58:07 +02: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
Nuno Campos and GitHub
6c05b66c7c
Merge pull request #2176 from langchain-ai/dqbd/error-thread-state
...
fix(sdk): add error thread state
2024-10-24 09:23:20 -07: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
Vadym Barda and GitHub
6202e0f1d9
docs: update branching how-to notebook ( #2174 )
2024-10-24 14:56:19 +00:00
Tat Dat Duong
ccfeafa975
feat(sdk-js): implement abort signal timeout, make default timeout for runs 5 minutes
2024-10-24 09:38:42 +02: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
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 )
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
bracesproul
433c382280
cr
2024-10-15 11:37:20 -07:00
bracesproul
7352ab14a2
cr
2024-10-15 11:36:37 -07:00
bracesproul
85a76912d3
fix(sdk-js): Pass api key in headers by default if in env
2024-10-15 11:33:40 -07:00
Nuno Campos
f6fb2ef5ca
langgraph 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
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
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 and GitHub
edec5c055e
Merge pull request #2065 from langchain-ai/dqbd/debug-stream-checkpoint-map
...
fix(debug): send checkpoint_map as well
2024-10-14 15:50:39 -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
Tat Dat Duong and Nuno Campos
29548b2e27
fix(debug): add failing tests
2024-10-14 15:16:03 -07:00
Nuno Campos
f2dc537696
langgraph 0.2.36
2024-10-14 12:28:43 -07:00
Nuno Campos
31d21c8d24
sdk-py 0.1.33
2024-10-14 12:28:22 -07:00
Nuno Campos and GitHub
4a03ed5915
Merge pull request #2091 from langchain-ai/nc/11oct/checkpoint-task-result
...
lib: Add result for each task in a checkpoint
2024-10-14 11:37:28 -07:00
Nuno Campos
dc083c6563
Fix
2024-10-14 11:31:03 -07:00
Nuno Campos
bfe005fef0
Lint
2024-10-14 10:30:59 -07:00
vbarda
5388b7c74f
install dev sdk
2024-10-14 13:23:18 -04:00
vbarda
0d4617817d
Merge branch 'nc/11oct/checkpoint-task-result' of github.com:langchain-ai/langgraph into nc/11oct/checkpoint-task-result
2024-10-14 13:20:25 -04:00
Nuno Campos
5046ec4f43
Lint
2024-10-14 10:16:14 -07:00
Nuno Campos
c26bb9e156
lib: Add result for each task in a checkpoint
...
- Note this requires disabling the optimization that avoids saving writes for the last task in a step
2024-10-14 10:16:14 -07:00
Nuno Campos and GitHub
3982090c6d
Merge pull request #2088 from langchain-ai/nc/11oct/stream-interrupt
...
lib: Add interrupts to stream_mode=updates
2024-10-14 10:15:53 -07:00
Nuno Campos and GitHub
6d3a2c59da
Merge pull request #2102 from langchain-ai/vb/ci-update
...
ci: run core 0.2.x for a single python version
2024-10-14 10:15:38 -07:00
vbarda and Nuno Campos
79444dee9c
ci: run core 0.2.x for a single python version
2024-10-14 10:10:42 -07:00
Nuno Campos and GitHub
07f8f87780
Merge pull request #2103 from langchain-ai/nc/14oct/docker-ro-token
...
Add read-only token for pulling public images from dockerhub
2024-10-14 10:07:45 -07:00
Nuno Campos
99bde8774e
Add read-only token for pulling public images from dockerhub
2024-10-14 09:56:24 -07:00
Nuno Campos and GitHub
5946f4ff2b
Merge pull request #2100 from langchain-ai/vb/copy
...
langgraph: support copy without update in Pregel
2024-10-14 09:12:36 -07:00
vbarda
b99734d157
langgraph: support copy without update in Pregel
2024-10-14 10:14:41 -04:00
Vadym Barda and GitHub
d1c29fc8be
docs: remove example with missing link ( #2099 )
2024-10-14 14:05:48 +00:00
Andrew Nguonly
19ccb0c6af
Update astream_events() to process interrupt.
2024-10-11 19:06:52 -07:00
Andrew Nguonly
a277b86fcb
Fix unit test.
2024-10-11 18:53:45 -07:00
Andrew Nguonly
2f819a6a9b
Update stream() and astream() to process 'updates' event types.
2024-10-11 18:40:40 -07:00
Nuno Campos
dc47c7b357
lib: Add result for each task in a checkpoint
...
- Note this requires disabling the optimization that avoids saving writes for the last task in a step
2024-10-11 16:08:00 -07:00
Nuno Campos
561aa3080e
Lint
2024-10-11 14:28:16 -07:00
Nuno Campos
c6a450b857
lib: Add interrupts to stream_mode=updates
2024-10-11 14:28:16 -07:00
Nuno Campos
0557fb03a4
format
2024-10-11 14:28:08 -07:00
Nuno Campos and GitHub
c9adf995c2
Merge pull request #2087 from langchain-ai/nc/11oct/o-flag
...
fix: Work w python's O flag
2024-10-11 12:03:21 -07:00
Nuno Campos
fc20de5bba
Fix
2024-10-11 11:39:19 -07:00
Nuno Campos
0822a287e3
fix: Work w python's O flag
...
- assert statements are skipped in that case, so we need to move calls to apply_writes to outside assert statements
2024-10-11 11:24:56 -07:00
Andrew Nguonly and GitHub
66741ba071
Rename RemotePregel to RemoteGraph ( #2085 )
2024-10-11 10:55:04 -07:00
Andrew Nguonly and GitHub
e72c25873f
Implement PregelProtocol and RemotePregel class (attempt 2) ( #2078 )
...
### Summary
Redo of [this PR](https://github.com/langchain-ai/langgraph/pull/2034 )
(branched from clean branch).
2024-10-11 09:23:12 -07:00
Vadym Barda and GitHub
739336516d
docs: remove empty cells for admonitions ( #2082 )
2024-10-11 13:36:24 +00:00
Nuno Campos and GitHub
ae6c793bdf
Merge pull request #2077 from langchain-ai/nc/10oct/313
...
Test w Python 3.13 in CI
2024-10-10 16:35:53 -07:00
Nuno Campos
d8954963b4
Update snapshots
2024-10-10 16:27:43 -07:00
Nuno Campos
ea38ba9e29
Update uvloop
2024-10-10 16:22:34 -07:00
Nuno Campos
76229ade66
Update psycopg
2024-10-10 16:17:19 -07:00
Nuno Campos
4aad36947e
Upgrade pydantic
2024-10-10 16:13:05 -07:00
Nuno Campos
cb7b667e6f
Update psycopg
2024-10-10 16:09:24 -07:00
Nuno Campos
822ddb5f48
Test aux libs
2024-10-10 16:06:05 -07:00
Nuno Campos
de355ee2d2
Update rpds-py
2024-10-10 16:05:43 -07:00
Nuno Campos
9ca270d62d
Test w Python 3.13 in CI
2024-10-10 15:58:59 -07:00
David Duong and GitHub
28b5105913
Merge pull request #2070 from langchain-ai/dqbd/debug-self-referencing-checkpoint
...
fix(debug): self-referencing checkpoints when resuming streaming mid-thread
2024-10-10 12:44:45 +02:00
Tat Dat Duong
be47752f0e
Initialise to None
2024-10-10 11:15:54 +02:00
Isaac Francisco and GitHub
aa83f4a33e
adding support for more notebooks in CI ( #2060 )
2024-10-10 01:48:13 +00:00
Tat Dat Duong
4d69331a52
Add async tests
2024-10-10 02:29:28 +02:00
Tat Dat Duong
fb8c386958
fix(debug): address self-referencing
2024-10-10 02:21:32 +02:00
Tat Dat Duong
ac8b51f1f2
fix(debug): add failing test for self-referencing
2024-10-10 02:21:17 +02:00
Vadym Barda and GitHub
db0f508269
docs: add custom hooks for rendering jupyter notebooks ( #2067 )
2024-10-09 18:49:54 -04:00
Vadym Barda and GitHub
fe110ae145
docs: fix intro in supervisor tutorial ( #2068 )
2024-10-09 20:59:49 +00:00
David Duong and GitHub
fc276c5ac0
Merge pull request #2066 from langchain-ai/dqbd/checkpoint-sdk-js
...
fix(sdk-js): pass checkpoint when creating run
2024-10-09 20:50:54 +02:00
Tat Dat Duong
9360545659
Remove deprecated message
2024-10-09 20:41:18 +02:00
Tat Dat Duong
26e30ad6af
Remove error warning
2024-10-09 20:40:24 +02:00
Tat Dat Duong
8df533b489
fix(sdk-js): allow passing checkpoint when creating a run
2024-10-09 20:34:19 +02:00
Vadym Barda and GitHub
f9df0f4700
docs: update many tools how-to chart ( #2059 )
2024-10-09 13:46:59 +00:00
David Duong and GitHub
5d0afa3888
Merge pull request #2048 from langchain-ai/dqbd/debug-tasks-state
...
feat(debug): send tasks info
2024-10-09 14:38:26 +02:00
Tat Dat Duong
a53a566730
Bump to 0.2.35
2024-10-09 14:33:14 +02:00
Andrew Nguonly and Tat Dat Duong
d2c359f7c9
docs: Update LangGraph API docs ( #2056 )
...
### Summary
Adding endpoints for `/subgraphs` and `/store`.
2024-10-09 14:33:14 +02:00
Andrew Nguonly and Tat Dat Duong
c4d251b05c
sdk-py: Add Sequence[dict] type to values param type for update_state() ( #2054 )
...
### Summary
The LangGraph API supports a list of `dict` for the `values` field for
the `POST /threads/<thread_id>/state` endpoint.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L3005-L3021
2024-10-09 14:33:14 +02:00
Andrew Nguonly and Tat Dat Duong
9a752e1563
sdk-py: Add "*" literal to interrupt_before and interrupt_after types ( #2053 )
...
### Summary
The LangGraph API supports the literal string `"*"` for
`interrupt_before` and `interrupt_after`.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L2425
2024-10-09 14:33:14 +02:00
Andrew Nguonly and Tat Dat Duong
6d4a426059
sdk-py: Add custom stream mode to StreamMode type ( #2051 )
...
### Summary
The LangGraph API supports `custom` stream mode type.
Reference:
https://github.com/langchain-ai/langgraph/blob/main/docs/docs/cloud/reference/api/openapi.json#L2403
2024-10-09 14:33:14 +02:00
Andrew Nguonly and Tat Dat Duong
598bb5a641
sdk-py: Update return type annotation for Thread.update_state() methods. ( #2050 )
...
### Summary
The response body of the endpoint `POST /threads/{thread_id}/state`
looks like this:
```
{
"checkpoint": {
"thread_id": "e2496803-ecd5-4e0c-a779-3226296181c2",
"checkpoint_ns": "",
"checkpoint_id": "1ef4a9b8-e6fb-67b1-8001-abd5184439d1",
"checkpoint_map": {}
}
}
```
2024-10-09 14:33:14 +02:00
Andrew Nguonly and GitHub
28ff7fd7ba
docs: Update LangGraph API docs ( #2056 )
...
### Summary
Adding endpoints for `/subgraphs` and `/store`.
2024-10-08 16:44:01 -07:00
Tat Dat Duong
0628c6402f
Fix typo
2024-10-09 01:00:36 +02:00
Tat Dat Duong
db61d294a6
Code review
2024-10-09 01:00:06 +02:00
Andrew Nguonly and GitHub
7883ceae64
sdk-py: Add Sequence[dict] type to values param type for update_state() ( #2054 )
...
### Summary
The LangGraph API supports a list of `dict` for the `values` field for
the `POST /threads/<thread_id>/state` endpoint.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L3005-L3021
2024-10-08 13:49:27 -07:00
Andrew Nguonly and GitHub
6698e25a04
sdk-py: Add "*" literal to interrupt_before and interrupt_after types ( #2053 )
...
### Summary
The LangGraph API supports the literal string `"*"` for
`interrupt_before` and `interrupt_after`.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L2425
2024-10-08 13:29:11 -07:00
Andrew Nguonly and GitHub
fd1a9e4da3
sdk-py: Add custom stream mode to StreamMode type ( #2051 )
...
### Summary
The LangGraph API supports `custom` stream mode type.
Reference:
https://github.com/langchain-ai/langgraph/blob/main/docs/docs/cloud/reference/api/openapi.json#L2403
2024-10-08 12:44:37 -07:00
Andrew Nguonly and GitHub
82c316b3f7
sdk-py: Update return type annotation for Thread.update_state() methods. ( #2050 )
...
### Summary
The response body of the endpoint `POST /threads/{thread_id}/state`
looks like this:
```
{
"checkpoint": {
"thread_id": "e2496803-ecd5-4e0c-a779-3226296181c2",
"checkpoint_ns": "",
"checkpoint_id": "1ef4a9b8-e6fb-67b1-8001-abd5184439d1",
"checkpoint_map": {}
}
}
```
2024-10-08 12:04:26 -07:00
Tat Dat Duong
7a282f82dc
Tests?
2024-10-08 20:55:49 +02:00
Tat Dat Duong
45a12c938b
Add more nested tests for nested subgraphs
2024-10-08 20:49:16 +02:00
Tat Dat Duong
b51f5d6345
Fix optional types
2024-10-08 20:09:51 +02:00
Tat Dat Duong
f9e900f39a
Fix 3.9
2024-10-08 19:58:42 +02:00
Tat Dat Duong
e564902753
Add async tests
2024-10-08 19:57:39 +02:00
Tat Dat Duong
e3bee7d843
Add tests
2024-10-08 19:52:05 +02:00
Tat Dat Duong
4f61dd1aa6
Fix tests
2024-10-08 19:18:52 +02:00
Tat Dat Duong
7e9cf02922
Use casting instead
2024-10-08 17:08:08 +02:00
Tat Dat Duong
50b1a1e230
Cleanup, move instanceof checks to an util
2024-10-08 17:01:40 +02:00
Tat Dat Duong
c1081af6bc
Fix lint
2024-10-08 16:41:48 +02:00
Tat Dat Duong
dfb265f296
feat(debug): send tasks info
2024-10-08 16:21:38 +02:00
William FH and GitHub
254b12a62d
Use AsyncBatch for postgres store ( #2020 )
2024-10-08 06:58:26 +00:00
7c2a89dbc8
docs memory concept: Suggestion batch 1 ( #2040 )
...
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-10-08 02:55:51 +00:00
Eugene Yurtsev and GitHub
34b23fce06
docs: batch 2 Update memory.md ( #2041 )
2024-10-07 19:53:50 -07:00
Vadym Barda and GitHub
4633364e8e
docs: small edits to memory concepts ( #2039 )
2024-10-07 18:31:48 -07:00
William FH and GitHub
23c1957812
Update glossary ( #2038 )
2024-10-08 01:03:11 +00:00
William FH and GitHub
90b8b4d745
Fixup Grammar ( #2037 )
2024-10-07 16:56:13 -07:00
William FH and GitHub
45957cc72a
Docs Nits Pass 2 ( #2036 )
2024-10-07 16:48:22 -07:00
d5da547850
Shared state conceptual docs ( #1958 )
...
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-10-07 23:16:34 +00:00
Riya Sinha and GitHub
61798d09d2
checkpoint: set CheckpointNS ConfigurableFieldSpec model default to empty string ( #2019 )
2024-10-07 18:38:18 +00:00
Nuno Campos and GitHub
4685dc103a
Merge pull request #2032 from langchain-ai/nc/7oct/kafka-loop-arg
...
scheduler-kafka: Pass loop arg to default async consumer and producer
2024-10-07 10:22:31 -07:00
Nuno Campos
e5b4cd2701
scheduler-kafka: Pass loop arg to default async consumer and producer
...
- Some forks of aiokafka make this a required arg
2024-10-07 10:16:36 -07:00
David Duong and GitHub
debfd85ff8
Merge pull request #2031 from langchain-ai/dqbd/js-0.0.16
...
feat(sdk-js): bump to 0.0.16
2024-10-07 18:15:46 +02:00
Tat Dat Duong
24f21a0ad8
feat(sdk-js): bump to 0.0.16
2024-10-07 18:10:32 +02:00
David Duong and GitHub
b5138cd8f9
Merge pull request #2029 from langchain-ai/dqbd/js-get-history-checkpoint
...
feat(sdk-js): add `checkpoint` arg in `getHistory`
2024-10-07 17:52:27 +02:00
Tat Dat Duong
05f645b87c
Make types more explicit
2024-10-07 17:47:36 +02:00
Tat Dat Duong
9ff5715961
feat(sdk-js): add checkpoint arg in getHistory
2024-10-07 17:24:29 +02:00
William FH and GitHub
b42a31fdae
Rm dup END ( #2022 )
2024-10-06 21:24:11 -07:00
William FH and GitHub
57727be9db
Checkpoint 2.0.1 ( #2018 )
2024-10-06 14:10:48 -07:00
William FH and GitHub
05dbc1d498
Validate in async batched store ( #2017 )
2024-10-06 14:09:35 -07:00
b35fe5864d
docs: update how-to for passing runtime values ( #1984 )
...
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-10-05 01:23:55 +00:00
Andrew Nguonly and GitHub
db3271ace5
docs: Update field descriptions for API spec ( #2013 )
2024-10-04 22:32:20 +00:00
bacf92c441
langgraph: add support for passing store via state_modifier ( #1992 )
...
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-10-04 15:28:56 -07:00
Andrew Nguonly and GitHub
c847f7df4e
docs: Updates to API spec ( #2012 )
2024-10-04 22:12:13 +00:00
Vadym Barda and GitHub
c2dc498b1c
docs: clean up memory docs ( #2000 )
2024-10-04 16:58:22 -04:00
Andrew Nguonly and GitHub
c2171f4a20
docs: Create API spec ( #2009 )
2024-10-04 20:40:01 +00:00
William FH and GitHub
d8d4714a73
Update JS sdk version ( #2008 )
2024-10-04 11:04:10 -07:00
William FH and GitHub
018e9ac42e
Check is string in store namespace validation (on put) ( #2007 )
2024-10-04 17:55:30 +00:00
Brace Sproul and GitHub
f9afd3c215
Merge pull request #1993 from langchain-ai/brace/after-seconds-js
...
fix(js): Add afterSeconds run arg
2024-10-03 11:18:02 -07:00
Eugene Yurtsev and GitHub
ac7903b3dc
docs: how to guide batch 4 ( #1991 )
...
Updated the following guides:
docs/docs/how-tos/streaming-content.ipynb
docs/docs/how-tos/streaming-events-from-within-tools-without-langchain.ipynb
docs/docs/how-tos/streaming-events-from-within-tools.ipynb
docs/docs/how-tos/streaming-tokens-without-langchain.ipynb
2024-10-03 14:11:53 -04:00
Eugene Yurtsev and GitHub
4a8510b690
docs: minor formatting change for how to docs
2024-10-03 13:47:59 -04:00
bracesproul
92e75aac17
cr
2024-10-03 09:40:37 -07:00
bracesproul
3e8be7fd79
fix(js): Add afterSeconds run arg
2024-10-03 09:40:10 -07:00
Vadym Barda and GitHub
99fd0eedbd
docs: clean up and standardize more how-tos ( #1959 )
2024-10-03 13:40:34 +00:00
f55586ea23
[Docs] Drop memory doc ( #1986 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-10-03 03:05:49 +00:00
Vadym Barda and GitHub
055b2ae74f
ci: filter to added/modified for notebooks ( #1987 )
2024-10-03 02:27:57 +00:00
Isaac Francisco and GitHub
c39e08ec8e
export checkpoint type from js-sdk ( #1973 )
2024-10-02 18:47:34 -07:00
William FH and GitHub
c74aba8cc5
[Docs] Storage ref docs ( #1985 )
2024-10-02 16:53:39 -07:00
Eugene Yurtsev and GitHub
d683630094
docs: how-to fix some issues ( #1983 )
...
Fixes some issues introduced while updating how-to docs
2024-10-02 22:06:03 +00:00
Vadym Barda and GitHub
86edf631e3
langgraph: release 0.2.34 ( #1982 )
2024-10-02 17:42:14 -04:00
Vadym Barda and GitHub
93c22fbdde
langgraph: add store to the prebuilt agent ( #1981 )
2024-10-02 21:38:15 +00:00
Eugene Yurtsev and GitHub
7f95d7de42
docs: how to guide batch 2 ( #1956 )
...
Updates the following how to guides
docs/docs/how-tos/disable-streaming.ipynb
docs/docs/how-tos/input_output_schema.ipynb
docs/docs/how-tos/many-tools.ipynb
docs/docs/how-tos/map-reduce.ipynb
docs/docs/how-tos/node-retries.ipynb
docs/docs/how-tos/pass-config-to-tools.ipynb
docs/docs/how-tos/pass_private_state.ipynb
2024-10-02 17:29:21 -04:00
Eugene Yurtsev and GitHub
1a4f375226
docs: how-to guides batch 3 ( #1979 )
...
Updates the following how to guides:
docs/docs/how-tos/persistence.ipynb
docs/docs/how-tos/persistence_mongodb.ipynb
docs/docs/how-tos/persistence_postgres.ipynb
docs/docs/how-tos/persistence_redis.ipynb
docs/docs/how-tos/react-agent-from-scratch.ipynb
docs/docs/how-tos/react-agent-structured-output.ipynb
docs/docs/how-tos/recursion-limit.ipynb
docs/docs/how-tos/return-when-recursion-limit-hits.ipynb
docs/docs/how-tos/run-id-langsmith.ipynb
docs/docs/how-tos/state-model.ipynb
2024-10-02 17:29:01 -04:00
William FH and GitHub
6c0da426c6
[PostGres Checkpointer] Run CI on PG15 as well ( #1953 )
2024-10-02 19:16:58 +00:00
William FH and GitHub
7ede237508
[Docs] Add SDK ref docs for the Store client ( #1974 )
2024-10-02 19:16:36 +00:00
Jacob Lee and GitHub
fb382c20f7
fix: Fix for drawing subgraphs with multiple sinks ( #1962 )
...
* Fix for drawing subgraphs with multiple sinks
* Expand error message
2024-10-02 12:03:30 -07:00
Vadym Barda and GitHub
9821638965
docs: add InjectedStore to reference ( #1976 )
2024-10-02 18:54:25 +00:00
Vadym Barda and GitHub
e48d9d3c38
docs: add a note for shared memory to persistence how-to ( #1975 )
2024-10-02 18:41:23 +00:00
Vadym Barda and GitHub
7ecc672e61
langgraph: release 0.2.33 ( #1972 )
2024-10-02 13:43:17 -04:00
Vadym Barda and GitHub
7efd3c726e
langgraph: add support for store in ToolNode ( #1968 )
2024-10-02 17:39:25 +00:00
Eugene Yurtsev and GitHub
74b36adb18
docs: update how-to guides batch 1 ( #1918 )
...
Add links to the following how-to guides:
docs/docs/how-tos/async.ipynb
docs/docs/how-tos/branching.ipynb
docs/docs/how-tos/configuration.ipynb
docs/docs/how-tos/create-react-agent-hitl.ipynb
docs/docs/how-tos/create-react-agent-memory.ipynb
docs/docs/how-tos/create-react-agent-system-prompt.ipynb
docs/docs/how-tos/create-react-agent.ipynb
Identified two missing concepts:
1) RunnableConfig in LangChain
2) Unclear where ReAct should link in langgraph
2024-10-02 15:09:11 +00:00
Eugene Yurtsev and GitHub
2f7da90a38
docs: check for format violations with ruff ( #1967 )
2024-10-02 14:40:33 +00:00
William FH and GitHub
a3cb9c1a94
Validate no empty namespace is added ( #1961 )
...
Also check the root label isn't "langgraph"
2024-10-01 18:43:45 -07:00
Vadym Barda and GitHub
e0fd95b22a
docs: update tutorial for long-term memory ( #1955 )
2024-10-01 17:56:43 -07:00
William FH and GitHub
db87642a10
Revert "Validate not empty ( #1957 )" ( #1960 )
...
This reverts commit cf67acb699 .
2024-10-01 17:44:08 -07:00
William FH and GitHub
cf67acb699
Validate not empty ( #1957 )
2024-10-01 17:23:44 -07:00
Lance Martin and GitHub
36be928791
Fix link ( #1954 )
2024-10-01 20:47:30 +00:00
Brace Sproul and GitHub
702b5949d9
fix(sdk-js): Release 0.0.14
2024-10-01 13:18:02 -07:00
Brace Sproul and GitHub
267485f3e6
Merge branch 'main' into rc
2024-10-01 13:13:01 -07:00
William FH and GitHub
5c3ac5d16d
Update PG Implementation ( #1948 )
2024-10-01 13:11:19 -07:00
Vadym Barda and GitHub
db6f8a53b6
docs: add shared memory how to ( #1920 )
2024-10-01 19:54:59 +00:00
98d1f27471
Add memory conceptual doc ( #1868 )
...
* Add memory conceptual doc
* update
* typo
* v1 conceptual doc
* Update per feedback
* Capture feedback
* Update based on feedback
* Remove memory service
* Address comments
---------
Co-authored-by: Chester Curme <chester.curme@gmail.com >
2024-10-01 12:54:23 -07:00
bracesproul
79cded748d
fix(sdk-js): Release 0.0.14
2024-10-01 12:45:57 -07:00
Brace Sproul and GitHub
c08dd2f71c
Merge pull request #1949 from langchain-ai/brace/update-rc
...
fix: Update rc branch
2024-10-01 12:44:02 -07:00
bracesproul
7dbb5ce98f
Merge branch 'main' of https://github.com/langchain-ai/langgraph into rc
2024-10-01 12:37:22 -07:00
Brace Sproul and GitHub
813aadeb47
Merge pull request #1947 from langchain-ai/brace/fix-null-obj-err
...
fix(sdk-js): Fix null item error
2024-10-01 12:36:57 -07:00
Vadym Barda and GitHub
4a45f6c99a
langgraph, sqlite, postgres: update to use langgraph-checkpoint==2.0.0 ( #1946 )
2024-10-01 15:28:06 -04:00
bracesproul
38a3e11c9f
cr
2024-10-01 11:32:07 -07:00
bracesproul
8486c9d413
fix(sdk-js): Fix null item error
2024-10-01 11:31:29 -07:00
Vadym Barda and GitHub
00662ab557
ci: update the check for changed notebooks ( #1945 )
2024-10-01 18:14:32 +00:00
Brace Sproul and GitHub
db4191b89e
Merge pull request #1943 from langchain-ai/release
...
Release 0.0.14-rc.0
2024-10-01 10:48:36 -07:00
bracesproul
45bf27bafe
Release 0.0.14-rc.0
2024-10-01 10:45:49 -07:00
Brace Sproul and GitHub
11d636ff83
Merge pull request #1910 from langchain-ai/wfh/js_store_client
...
Add JS SDK Store Client
2024-10-01 10:44:06 -07:00
Vadym Barda and GitHub
78c9c15b14
langgraph, checkpoint: update versions ( #1942 )
2024-10-01 13:43:07 -04:00
Vadym Barda and GitHub
46b52b2426
ci: run notebook checks for changed notebooks ( #1941 )
2024-10-01 16:50:24 +00:00
Eugene Yurtsev and GitHub
674180ad0c
docs: Add linting check as part of docs deploy ( #1939 )
...
We'll need to add the same thing as part of CI testing, but a second check
during deployment wont hurt in case CI is by passed for whatever reason.
2024-10-01 10:50:39 -04:00
Vadym Barda and GitHub
71efff7cee
ci: add a script to check sync and async methods in SDK ( #1938 )
2024-10-01 09:50:26 -04:00
William FH and GitHub
dd88ac6224
Bump SDK Py ( #1935 )
2024-10-01 08:17:51 +00:00
Nuno Campos and GitHub
53c2e4d8c2
Merge pull request #1932 from langchain-ai/eugene/format_docs
...
docs: format with ruff
2024-09-30 19:13:47 -07:00
Eugene Yurtsev
70b0032191
format docs
2024-09-30 22:08:27 -04:00
William FH and GitHub
445b795037
[Docs] update min bounds from API ( #1929 )
2024-09-30 17:06:34 -07:00
William FH and GitHub
29f58fd9e5
Custom loads support in postgres checkpointer ( #1930 )
2024-09-30 16:42:23 -07:00
Vadym Barda and GitHub
716d23e269
langgraph: release 0.2.31 ( #1928 )
2024-09-30 18:33:34 -04:00
Vadym Barda and GitHub
a9df3a3515
langgraph: use correct logic for binding tools in prebuilt agent ( #1927 )
2024-09-30 22:22:48 +00:00
Vadym Barda and GitHub
da935e7805
langgraph: fix edge case with string enums as node names ( #1926 )
2024-09-30 18:00:33 -04:00
Andrew Nguonly and GitHub
6d1d705b84
Update API docs. ( #1925 )
2024-09-30 14:23:32 -07:00
William FH and GitHub
97f79fc66b
Add Postgres Store Implementation ( #1906 )
2024-09-30 21:18:58 +00:00
Isaac Francisco and GitHub
17dc1108a3
docs: __start__/__end__ consistency ( #1874 )
...
* changes
* skip mermaid
* retries fix
* viz error
* changes
2024-09-30 13:55:53 -07:00
Eugene Yurtsev and GitHub
d29747906d
docs: Add ruff commands to Makefile and pyproject ( #1921 )
2024-09-30 16:19:17 -04:00
Vadym Barda and GitHub
cb8db211c2
langgraph: bump checkpoint ( #1922 )
2024-09-30 15:56:46 -04:00
Isaac Francisco and GitHub
865436529e
simple -> simply ( #1919 )
2024-09-30 19:30:29 +00:00
Vadym Barda and GitHub
3c9441c039
checkpoint: release 1.0.14 ( #1917 )
2024-09-30 14:54:00 -04:00
Vadym Barda and GitHub
7071817155
checkpoint: fix namespace issues ( #1915 )
2024-09-30 14:52:57 -04:00
William Fu-Hinthorn
4fca814d3a
Merge branch 'main' into wfh/js_store_client
2024-09-30 10:49:09 -07:00
William Fu-Hinthorn
d309c36388
Review
2024-09-30 10:48:49 -07:00
William FH and GitHub
9ad617bb7a
[Release] 1.0.13 ( #1903 )
2024-09-30 10:16:50 -07:00
Vadym Barda and GitHub
78f3ee9cae
langgraph: check if model passed as runnable binding with tools in create_react_agent ( #1647 )
2024-09-30 13:01:47 -04:00
William FH and GitHub
e332869a0c
Ensure configurable ( #1912 )
2024-09-30 09:54:47 -07:00
William Fu-Hinthorn
f064a5969d
Add JS SDK Store Client
2024-09-30 09:08:37 -07:00
David Duong and GitHub
f6f3f85d03
Merge pull request #1900 from langchain-ai/dqbd/xray-int
...
feat(sdk): add int xray parameter support
2024-09-30 17:08:15 +02:00
David Duong and GitHub
a69c58bfe9
Merge pull request #1894 from langchain-ai/dqbd/xray-bool
...
fix(graph): xray=True should be distinct from xray=1
2024-09-30 17:06:52 +02:00
Tat Dat Duong
d69bc78a25
Update docs
2024-09-30 17:03:11 +02:00
Nuno Campos and GitHub
904904c419
Merge pull request #1904 from langchain-ai/nc/29sep/thread-history-subgraph
...
sdk-py: Add arg to get history for subgraphs
2024-09-29 19:32:23 -07:00
Nuno Campos
7fba675e8a
sdk-py: Add arg to get history for subgraphs
2024-09-29 19:28:52 -07:00
Nuno Campos and GitHub
620cffd62d
Merge pull request #1902 from langchain-ai/dqbd/debug-parent-config
...
fix(debug): send parent_config in debug checkpoint events
2024-09-29 18:30:24 -07:00
Tat Dat Duong
005a9a33cb
Fix tests
2024-09-30 03:14:34 +02:00
Tat Dat Duong
a8556bf2b8
Uncomment back the conftest checkpointers
2024-09-30 03:06:48 +02:00
Tat Dat Duong
a8a99688bf
fix(api): send parent_config in debug checkpoint events
2024-09-30 03:01:44 +02:00
Nuno Campos and GitHub
b1a4243055
Implement new Store interface ( #1834 )
2024-09-29 17:06:42 -07:00
David Duong and GitHub
ab47768bfd
Merge pull request #1901 from langchain-ai/dqbd/sdk-js-0.0.13
...
chore: bump JS SDK to 0.0.13
2024-09-30 00:44:02 +02:00
Tat Dat Duong
53525141a2
chore: bump JS SDK to 0.0.13
2024-09-30 00:39:01 +02:00
Tat Dat Duong
10b6227304
feat(api): add int xray parameter support
2024-09-30 00:18:07 +02:00
Dan Siwiec and GitHub
748c92e59c
docs: remove duplicated statements ( #1863 )
2024-09-29 15:33:51 +00:00
Tat Dat Duong
358603b31d
fix(graph): xray=True should be distinct from xray=1
2024-09-28 02:09:05 +02:00
Nuno Campos and GitHub
946e2a831e
Merge pull request #1879 from langchain-ai/dqbd/sdk-js-subgraphs
...
feat(sdk-js): add support for subgraphs, match schema
2024-09-27 15:59:46 -07:00
Andrew Nguonly and GitHub
b0b7b681ba
Fix typo. ( #1893 )
2024-09-27 22:59:32 +00:00
Vadym Barda and GitHub
03be3b6567
docs: reorganize API refs ( #1884 )
2024-09-27 18:12:12 -04:00
98f5df4f6f
ci: fix notebook runner & VCR cassette recorder ( #1849 )
...
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-27 17:56:55 -04:00
Vadym Barda and GitHub
ea0418334b
checkpoint-postgres: release 1.0.9 ( #1890 )
2024-09-27 16:12:06 -04:00
Andrew Nguonly and GitHub
ec55fc2147
docs: Update Cloud deployment docs ( #1853 )
...
* Update Cloud deployment docs.
* Update docs.
2024-09-27 12:53:54 -07:00
Vadym Barda and GitHub
a319727a9e
checkpoint: release 1.0.12 ( #1888 )
2024-09-27 14:19:00 -04:00
Isaac Francisco and GitHub
a2db3879cd
add back graph.update_line, update output ( #1887 )
2024-09-27 12:51:28 -04:00
Vadym Barda and GitHub
bf19dc7d08
checkpoint-postgres: handle null chars in metadata ( #1885 )
2024-09-27 16:02:03 +00:00
David Duong and GitHub
75d309a52f
Merge pull request #1880 from langchain-ai/dqbd/sdk-xray
...
feat(sdk): expose xray kwarg to get_graph/getGraph
2024-09-27 16:59:51 +02:00
Tat Dat Duong
80f12c8f5c
Update sync client
2024-09-27 16:43:41 +02:00
Tat Dat Duong
be44d0cfb6
feat(sdk): expose xray kwarg to get_graph/getGraph
2024-09-27 15:15:56 +02:00
947c74c10d
docs: add long-term memory tutorial ( #1850 )
...
Co-authored-by: ccurme <chester.curme@gmail.com >
2024-09-27 08:26:57 -04:00
Tat Dat Duong
e4a4889b6d
Add .prettierrc file to make vscode prettier work
2024-09-27 13:30:47 +02:00
Tat Dat Duong
f1c6e13e96
Ignore tgz and tar files
2024-09-27 13:26:58 +02:00
Tat Dat Duong
51be5b6ac3
feat(sdk-js): add support for subgraphs, match schema
2024-09-27 13:24:46 +02:00
Nuno Campos and GitHub
509e2d2207
Merge pull request #1873 from langchain-ai/vb/secret-str
...
checkpoint: support serde for SecretStr
2024-09-26 19:10:45 -07:00
vbarda
4271afeb42
checkpoint: support serde for SecretStr
2024-09-26 21:09:07 -04:00
Vadym Barda and GitHub
29a03309c9
docs: update typing -> typing_extensions for TypedDict ( #1871 )
2024-09-26 18:06:45 -04:00
William FH and GitHub
fe7e7b9121
Use typing_extensions typeddict ( #1869 )
2024-09-26 13:41:40 -07:00
Vadym Barda and GitHub
72c5bc35cd
checkpoint: update note in MemorySaver ( #1862 )
2024-09-26 15:07:36 +00:00
Lance Martin and GitHub
c5b9845216
Update RAG agent w/ llama3.2 ( #1852 )
...
* Update RAG agent llama3.2
* Move to doc
* Rename
2024-09-25 21:43:45 -07:00
Vadym Barda and GitHub
942dfa841e
docs: remove shared state how-to ( #1851 )
2024-09-25 22:44:03 +00:00
Andrew Nguonly and GitHub
c3cbf2eb0d
Update Deploy to Cloud docs. ( #1847 )
2024-09-25 15:22:54 -07:00
David Duong and GitHub
f337d5d9f8
Merge pull request #1844 from langchain-ai:dqbd/js-sdk-0.0.12-types
...
fix(sdk-js): match schema types, bump to 0.0.12
2024-09-25 23:42:37 +02:00
Nuno Campos
f05b546299
langgraph 0.2.28
2024-09-25 11:12:38 -07:00
Nuno Campos and GitHub
f1711a127a
Merge pull request #1845 from langchain-ai/nc/25sep/fix-stream-time
...
Fix stream_mode=messages/custom buffering for sync calls with single node
2024-09-25 11:12:05 -07:00
Nuno Campos
72edec5be2
Add test
2024-09-25 11:00:27 -07:00
Nuno Campos
67d907eb1c
Fix stream_mode=messages/custom buffering for sync calls with single node
2024-09-25 10:38:06 -07:00
042653207f
docs: add docs for assistant versioning ( #1828 )
...
* draft of conceptual docs
* Improve the conceptual docs
* adding how-to
* add diagram, make callout to conceptual guide
* updated image
* updated screenshots to new UI
* add link, typo
---------
Co-authored-by: Lance Martin <lance@langchain.dev >
2024-09-25 16:13:08 +00:00
Tat Dat Duong
68fb04bb0c
fix(sdk-js): match schema types, bump to 0.0.12
2024-09-25 17:33:13 +02:00
Vadym Barda and GitHub
6c171e2838
docs: update streaming content how-to ( #1841 )
2024-09-25 11:23:31 -04:00
Vadym Barda and GitHub
6136eb7471
docs: fix redis pending_writes ( #1842 )
2024-09-25 14:54:40 +00:00
David Duong and GitHub
206420d4cc
Merge pull request #1830 from langchain-ai/dqbd/bump-js-0.0.11
...
feat(js): bump JS sdk to 0.0.11
2024-09-24 21:45:56 +02:00
Tat Dat Duong
a3be376453
feat(js): bump JS sdk to 0.0.11
2024-09-24 21:40:48 +02:00
Nuno Campos and GitHub
44afec9da7
Merge pull request #1829 from langchain-ai/vb/combine-sdk-into-single-file
...
sdk-py: combine sync & async into a single file
2024-09-24 11:35:51 -07:00
vbarda
cc8ea9e608
sdk-py: combine sync & async into a single file
2024-09-24 14:24:14 -04:00
Lance Martin and GitHub
88335ea405
Update conceptual docs on dynamic breakpoints ( #1816 )
...
* Update conceptual docs in dynamic breakpoints
* Improve explaination
* Add skipping logic to dynamic breakpoints
2024-09-24 11:18:01 -07:00
Nuno Campos and GitHub
15823c78eb
Merge pull request #1827 from langchain-ai/nc/24sep/sdk-subgraphs
...
sdk: Add subgraphs method
2024-09-24 11:07:45 -07:00
Nuno Campos
30ed61479e
Fix
2024-09-24 11:06:07 -07:00
Yuxuan1998 and GitHub
e909cb6815
fix TypeError ( #1820 )
2024-09-24 14:05:03 -04:00
Nuno Campos
dfa874aaf6
sdk: Add subgraphs method
2024-09-24 11:02:50 -07:00
Nuno Campos and GitHub
247e2bae8d
Merge pull request #1401 from langchain-ai/vb/add-sync-client
...
sdk-py: add sync client
2024-09-24 10:46:06 -07:00
Nuno Campos
26eca4a42f
langgraph 0.2.27
2024-09-24 10:42:02 -07:00
Nuno Campos and GitHub
2f7826ed79
Merge pull request #1826 from langchain-ai/nc/24sep/get-subgraphs-namespace
...
Add namesapce filter to get_subgraphs
2024-09-24 10:41:36 -07:00
Nuno Campos
8205c85383
Add namesapce filter to get_subgraphs
...
- If passed it returns a single subgraph, mathching that namespace, if found
2024-09-24 09:38:24 -07:00
Vadym Barda and GitHub
5235ad08ec
docs: remove context channel ( #1824 )
2024-09-24 10:51:22 -04:00
Vadym Barda and GitHub
37948b3348
docs: update pydantic comments -> callouts in tutorials ( #1825 )
2024-09-24 13:09:59 +00:00
Nuno Campos
bb5ff42bcd
langgraph 0.2.26
2024-09-23 17:50:16 -07:00
Nuno Campos and GitHub
beea3beb48
Merge pull request #1818 from langchain-ai/nc/23sep/stream-messages-fix
...
Fix edge cases with stream_mode=messages
2024-09-23 17:43:27 -07:00
Nuno Campos
58aaffb6bf
Fix edge cases with stream_mode=messages
...
- running callback handler in background thread could potentially lead to ordering issues
- deduping on `id()` could lead to messages being dropped if they reused memory address of a previous chunk
2024-09-23 17:34:04 -07:00
Vadym Barda and GitHub
ae2185a431
Merge branch 'main' into vb/add-sync-client
2024-09-23 19:42:13 -04:00
vbarda
985f1b1e26
code review
2024-09-23 19:41:08 -04:00
Lance Martin and GitHub
e1a33360e0
Update HIL conceptual docs ( #1774 )
...
* Update HIL conceptual docs
* Update images
* Update figures and text per feedback
* Update links for how-tos
* Embed img directly in ntbks
* Add dynamic breakpoints
* Update figure in ntbk
* Fix link to dynamic breakpoints
2024-09-23 15:46:33 -07:00
Vadym Barda and GitHub
659d127d2b
checkpoint postgres,sqlite: update langgraph-checkpoint to 1.0.11 ( #1815 )
2024-09-23 22:09:28 +00:00
Isaac Francisco and GitHub
d2d5e9f655
docs: add docs on disabling streaming ( #1775 )
2024-09-23 18:01:19 -04:00
Vadym Barda and GitHub
434e7519bc
checkpoint: release 1.0.11 ( #1814 )
2024-09-23 17:58:25 -04:00
Vadym Barda and GitHub
7d513bcde2
checkpoint postgres,sqlite: update langgraph-checkpoint ( #1813 )
2024-09-23 21:47:26 +00:00
Vadym Barda and GitHub
c8265a21cd
Merge branch 'main' into vb/add-sync-client
2024-09-23 17:39:54 -04:00
Vadym Barda and GitHub
515c619bc2
checkpoint postgres,sqlite: update version ( #1812 )
2024-09-23 17:33:19 -04:00
Vadym Barda and GitHub
342aee7945
langgraph: release 0.2.25 ( #1811 )
2024-09-23 17:31:23 -04:00
Bagatur and GitHub
ee638fdbf8
langgraph[patch]: remove stringify of tool msg contnt ( #1810 )
2024-09-23 17:29:38 -04:00
vbarda
2d741c7cbf
update
2024-09-23 17:28:02 -04:00
William FH and GitHub
3c672abc1b
Reword how-to ( #1808 )
2024-09-23 14:08:08 -07:00
vbarda
81c10a5f8e
Merge branch 'main' into vb/add-sync-client
2024-09-23 16:56:12 -04:00
Nuno Campos and GitHub
68c1fa8280
Merge pull request #1803 from langchain-ai/nc/23sep/exc-async-checkpointer-block
...
Raise exception if sync method on async checkpointer is called from event loop thread
2024-09-23 13:05:02 -07:00
Vadym Barda and GitHub
9e42977273
sdk-py: release 0.1.31 ( #1809 )
2024-09-23 15:12:43 -04:00
Brace Sproul and GitHub
e333889c19
Merge pull request #1807 from langchain-ai/brace/drop-annoncements-bar
...
fix(docs): Drop announcement bar
2024-09-23 10:56:02 -07:00
bracesproul
81e05ffb69
fix(docs): Drop announcement bar
2024-09-23 10:50:15 -07:00
Isaac Francisco and GitHub
f9431d1bec
remove error ( #1806 )
2024-09-23 13:45:08 -04:00
William FH and GitHub
1601c3a47d
Fix mobile nav nesting ( #1804 )
2024-09-23 16:08:10 +00:00
Nuno Campos
e71c24ea9b
Raise exception if sync method on async checkpointer is called from main thread
...
- The thread running the event loop can block waiting for a coro to run, only background threads can
2024-09-23 08:41:57 -07:00
Nuno Campos
68d378def5
langgraph 0.2.24
2024-09-23 08:26:55 -07:00
Nuno Campos and GitHub
0b0b6e17d3
Merge pull request #1797 from langchain-ai/nc/22sep/perf-intern-strings
...
perf: Intern string constants
2024-09-23 07:40:59 -07:00
Nuno Campos and GitHub
d5a1152064
Merge pull request #1794 from langchain-ai/nc/21sep/remove-runtime-value-substitution
...
Remove runtime value substitution
2024-09-23 07:03:44 -07:00
Nuno Campos and GitHub
00290c8e06
Merge pull request #1792 from langchain-ai/nc/21sep/docstrings-comments
...
Add more comments and docstrings
2024-09-23 07:03:05 -07:00
Nuno Campos
47fe321e31
Lint
2024-09-22 12:51:06 -07:00
Nuno Campos
1f347ed48e
perf: Intern string constants
2024-09-22 12:45:47 -07:00
Nuno Campos
d6015e7bf9
Remove runtime value substitution
...
- doesn't work as expected
2024-09-22 12:44:48 -07:00
Nuno Campos
84a45d186c
Fix
2024-09-22 12:42:34 -07:00
Nuno Campos
e76f49c7f0
Fix flaky test
2024-09-22 12:37:24 -07:00
Nuno Campos and GitHub
33d18593bf
Merge pull request #1793 from langchain-ai/nc/21sep/detect-multi-subgraphs-in-node
...
Detect multiple subgraphs in single node
2024-09-22 12:18:35 -07:00
Nuno Campos
74f34db9e4
Fix sync kafka
2024-09-22 12:04:43 -07:00
Nuno Campos
644f14991e
Fix kfka
2024-09-22 12:04:17 -07:00
Isaac Francisco and GitHub
94433eb790
docs: thread_ts -> checkpoint_id ( #1791 )
2024-09-22 09:17:18 -04:00
Nuno Campos
81a9a2f903
Use a different strategy, add test
2024-09-21 18:48:23 -07:00
Nuno Campos
2fccd09585
Fix
2024-09-21 17:52:17 -07:00
Nuno Campos
89bb7fe178
Skip test for now
2024-09-21 17:47:36 -07:00
Nuno Campos
beeb2aa8ba
Detect multiple subgraphs in single node
2024-09-21 17:44:11 -07:00
Nuno Campos
30b631aaff
Rewrite imports
2024-09-21 17:41:05 -07:00
Nuno Campos
d9854b36eb
Move to langgraph.types
2024-09-21 17:37:17 -07:00
Nuno Campos
3cbd70ffc9
Fix docs
2024-09-21 17:30:04 -07:00
Nuno Campos
313e3eed3e
Fix circular import
2024-09-21 17:26:29 -07:00
Nuno Campos
9f8d71c65b
Lint
2024-09-21 17:23:12 -07:00
Nuno Campos
89fb8d506f
Add more comments and docstrings
2024-09-21 17:21:18 -07:00
Nuno Campos
41537c583a
sdk: Add support for resuming from checkpoint
2024-09-20 17:20:04 -07:00
David Duong and GitHub
d42bdd0153
Merge pull request #1785 from langchain-ai/isaac/changeendpoint
...
set_latest -> latest
2024-09-21 02:07:20 +02:00
isaac hershenson
75ef1e790e
fmt
2024-09-20 17:02:15 -07:00
isaac hershenson
4eaa1bb8ca
set_latest -> latest
2024-09-20 16:57:43 -07:00
Nuno Campos
e3d2f233a7
sdk: Update thread state methods for subgraphs
2024-09-20 16:52:41 -07:00
Isaac Francisco and GitHub
8b95adb1bd
sdk-py: add versioning for assistants ( #1665 )
...
* add get_versions to python sdk
* fml
* add change_version to sdk
* add assistant name to create
* document assistant name
* change method
* version in payload
* fml
* add js methods and types
* name -> assistant_name
* export onconflictbehavior
* add assistant name to create
* add metadata/limit/offset to sdk
* add assistant_name to update
* assistantversion schema
* export assistnatversion
* add metadata/limit/offset to sdk
* assistantversion schema
* fmt
* fmt
* change version -> set version
* fmt
* assistant_name -> name
* naming
2024-09-20 16:48:19 -07:00
Nuno Campos
41cb54722d
Add stream_subgraphs param
2024-09-20 16:13:44 -07:00
Isaac Francisco and GitHub
eadcec7304
fixed some ( #1784 )
2024-09-20 15:12:35 -07:00
Nuno Campos
265003dda0
langgraph 0.2.23
2024-09-20 14:40:46 -07:00
Nuno Campos and GitHub
fcff81d10e
Merge pull request #1782 from langchain-ai/nc/20sep/sdk-py-after-seconds
...
sdk: Add support for scheduled runs
2024-09-20 12:53:27 -07:00
Nuno Campos
9121a1e14f
sdk: Add support for scheduled runs
...
- after_seconds param to Runs.wait/stream/create
2024-09-20 12:45:13 -07:00
Isaac Francisco and GitHub
662eae4359
adding tutorials to notebook checks ( #1747 )
...
* wip
* actually catch errors
* fixing tool-calling-errors and persistence-redis
* poetry changes
* poetry update
* run tutorials
* only tutorials (testing)
* print errors
* rewoo fixes
* remove customer support because of user input
* skip notebooks programatically
* add back how-tos
* remove redundant if
* add cassetes for tutorials
* remove no execution since it is generated by CI,
* remove multi-agent/usaco
* try to run in parallel
* skip notebooks fix
* remove magic/non-magic cells
* msgpack instead of yaml
* prepare_notebooks change
* ignore msgpack for spelling
* use compression for cassettes
* update spell check
* reset poetry changes
* upgrade packages for latest
* no update
* poetry changes
2024-09-20 12:11:23 -07:00
William FH and GitHub
10a66acc44
Add return_direct support ( #1780 )
2024-09-20 18:59:37 +00:00
Nuno Campos and GitHub
7b94f1e326
Update __init__.py
2024-09-20 10:50:40 -07:00
Nuno Campos and GitHub
bf289dbee4
Merge pull request #1772 from langchain-ai/jacob/nit
...
fix: Use imported constant for namespace end
2024-09-20 09:21:18 -07:00
Nuno Campos and GitHub
b03d9ae52c
Merge pull request #1776 from langchain-ai/nc/19sep/stream-mode-custom
...
Add stream_mode=custom
2024-09-20 09:18:51 -07:00
Nuno Campos and GitHub
531890e35a
Update types.py
2024-09-20 08:49:00 -07:00
Nuno Campos
1cf117ed9d
Lint
2024-09-19 17:09:04 -07:00
Nuno Campos
3b0f27c777
Add stream_mode=custom
...
- adds the ability for nodes (including in subgraphs) to emit chunks directly to the output stream, emitted chunks can have any type
- when stream_mode=custom isnt requested by the caller emitted chunks are ignored
2024-09-19 17:03:30 -07:00
Nuno Campos and GitHub
b9fe38469f
Merge pull request #1773 from langchain-ai/nc/19sep/return-self
...
Allow chaning add_node/add_edge/etc calls
2024-09-19 17:02:27 -07:00
Nuno Campos
94e64f87b1
Allow chaning add_node/add_edge/etc calls
2024-09-19 16:54:00 -07:00
Nuno Campos and GitHub
0bbe461785
Merge pull request #1771 from langchain-ai/nc/19sep/mypy-langgraph-partial
...
Enable mypy for langgraph lib
2024-09-19 16:53:42 -07:00
Nuno Campos
7643c1171f
Lint
2024-09-19 16:49:05 -07:00
Nuno Campos and GitHub
ed27e54761
Update graph.py
2024-09-19 16:41:46 -07:00
Jacob Lee and GitHub
ec1f425632
Update algo.py
2024-09-19 15:53:50 -07:00
jacoblee93
093af1a893
Use imported constant for namespace end
2024-09-19 15:07:30 -07:00
Nuno Campos and GitHub
e96934533e
Update graph.py
2024-09-19 15:06:39 -07:00
a47dc2b634
Apply suggestions from code review
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-09-19 14:37:32 -07:00
Nuno Campos
95c1ca3adc
Fix
2024-09-19 13:20:45 -07:00
Lance Martin and GitHub
0cf1a13dab
Update conceptual docs for multiple schema ( #1770 )
...
* Update conceptual docs for multiple schema
* Link to conceptual docs from How-To
2024-09-19 13:20:20 -07:00
Nuno Campos
5de9b35416
Finish
2024-09-19 13:01:54 -07:00
Nuno Campos
4f767cd2ca
Fix
2024-09-19 11:46:21 -07:00
Nuno Campos
cc318b1156
Fix
2024-09-19 11:43:30 -07:00
Nuno Campos
9a8cc75ea2
Fix some typing issues in langgraph lib
2024-09-19 11:38:41 -07:00
Isaac Francisco and GitHub
96f9d29a43
stop before recursion limit callout ( #1769 )
2024-09-19 18:00:31 +00:00
Isaac Francisco and GitHub
c44f10c05e
docs: return state before recursion limit is hit ( #1736 )
...
* recursion limit return state
* links
* spelling
* remove bad link
2024-09-19 10:40:35 -07:00
Nuno Campos and GitHub
4065ac33d3
Merge pull request #1768 from langchain-ai/nc/19sep/mypy-sqlite
...
ci: Enable mypy checks for checkpoint-sqlite lib
2024-09-19 10:38:34 -07:00
Isaac Francisco and GitHub
55f8bb5227
docs: replaying from subgraph node ( #1759 )
...
* edits
* extra comment
2024-09-19 09:58:14 -07:00
Nuno Campos and GitHub
dc360fd342
Merge pull request #1767 from langchain-ai/nc/19sep/mypy-postgres
...
ci: Enable mypy checks for checkpoint-postgres lib
2024-09-19 09:27:38 -07:00
Nuno Campos
b529365f5b
Remove ignore for 3.9
2024-09-19 09:19:26 -07:00
Nuno Campos
fdf7bad988
Remove ignore for 3.9
2024-09-19 09:19:00 -07:00
Nuno Campos
faa652cbf4
Only lint on 3.12
2024-09-19 09:18:36 -07:00
Nuno Campos
95304d658a
Fix 3.9
2024-09-19 08:51:15 -07:00
Nuno Campos
495d258322
Fix 3.9
2024-09-19 08:50:17 -07:00
Nuno Campos and GitHub
bc95a797a9
Merge pull request #1766 from langchain-ai/nc/18sep/mypy-checkpoint
...
ci: Enable mypy checks for checkpoint lib
2024-09-19 08:47:05 -07:00
Nuno Campos
6c0339ca4b
ci: Enable mypy checks for checkpoint-sqlite lib
2024-09-19 08:46:44 -07:00
Nuno Campos
b8a8651c23
ci: Enable mypy checks for checkpoint-postgres lib
2024-09-19 08:40:31 -07:00
Nuno Campos
c793a9e36d
Use type var default
2024-09-19 08:28:59 -07:00
Nuno Campos
333c5f5501
Fix type issues in tests
2024-09-18 18:16:51 -07:00
Nuno Campos
4d26c3599f
ci: Enable mypy checks for checkpoint lib
2024-09-18 18:12:11 -07:00
Andrew Nguonly and GitHub
d4ba315ae2
Add section for LANGCHAIN_TRACING_SAMPLING_RATE to env vars page. ( #1760 )
2024-09-18 15:08:00 -07:00
Nuno Campos and GitHub
4ba803b415
Merge pull request #1751 from langchain-ai/nc/17sep/stream-messages
...
Add stream_mode=messages
2024-09-18 14:01:12 -07:00
Nuno Campos
9235178c88
Finish
2024-09-18 13:56:04 -07:00
22c78050dd
docs: Clarify default_retry_on retry behavior for exceptions ( #1754 )
...
* docs: Clarify exceptions retried by default_retry_on in retry policy tutorial
- Added a remark in the tutorial explaining that the `default_retry_on` function retries on any exception except for the following:
- ValueError
- TypeError
- ArithmeticError
- ImportError
- LookupError
- NameError
- SyntaxError
- RuntimeError
- ReferenceError
- StopIteration
- StopAsyncIteration
- OSError
* http status codes
---------
Co-authored-by: Itay Etelis <itay.etelis@ibm.com >
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
2024-09-18 20:48:10 +00:00
Nuno Campos and GitHub
babcf10c1c
Merge pull request #1688 from langchain-ai/wfh/tracing_interops_norebase
...
Add tracing propagation test
2024-09-18 13:43:58 -07:00
William Fu-Hinthorn and Nuno Campos
2d98024487
Assert invariants
2024-09-18 13:37:38 -07:00
William Fu-Hinthorn and Nuno Campos
f7d440ec5f
Add tracing propagation test
2024-09-18 13:37:33 -07:00
Nuno Campos
efb572f15b
Add missing branch
2024-09-18 13:18:37 -07:00
William FH and GitHub
b062b2462f
[Docs] Add add message ref ( #1758 )
2024-09-18 13:13:39 -07:00
Nuno Campos and GitHub
d46fd258bf
Merge pull request #1753 from Etelis/bugfix-retry-nodes-exception-handling
...
[Bug Fix] retry_on handling and add support for lists in RetryPolicy
2024-09-18 13:01:38 -07:00
Nuno Campos and GitHub
e40aabb1c1
Update retry.py
2024-09-18 10:36:40 -07:00
Nuno Campos and GitHub
0bfeb7f4e1
Update types.py
2024-09-18 10:24:28 -07:00
Nuno Campos and GitHub
fd0b52f4ff
Update retry.py
2024-09-18 10:23:52 -07:00
Nuno Campos and GitHub
f4962479d8
Merge pull request #1757 from langchain-ai/nc/18sep/unit-test-cancelled
...
Add one more unit test for exception propagation
2024-09-18 09:01:31 -07:00
Nuno Campos and GitHub
94fa06e5f7
Merge pull request #1749 from langchain-ai/nc/17sep/stream-subgraph-sync
...
Stream output from subgraphs while in-progress for sync stream
2024-09-18 09:01:15 -07:00
Nuno Campos
680fa3c226
Add one more unit test for exception propagation
...
- we already have plenty of tests for this, but adding one more with a slight variation
2024-09-18 08:53:47 -07:00
Isaac Francisco and GitHub
0498ca346b
docs: remove warnings/update diagrams ( #1746 )
...
* remove warnings/udpate diagrams
* replace get_relevant_documents with invoke
2024-09-18 08:53:28 -07:00
Itay Etelis
adf5cb0ff1
Fix retry_on handling in run_with_retry
...
- Correctly distinguish between exception classes, lists/tuples of exception classes, and callables.
- Add support for lists in `retry_on`, alongside tuples.
- Prevent exception classes from being incorrectly treated as callables.
- Raise a `TypeError` if `retry_on` is of an unsupported type.
2024-09-18 13:41:22 +03:00
Itay Etelis
6873229bbf
Support lists in retry_on for RetryPolicy
...
Previously, `retry_on` in `RetryPolicy` accepted only exception classes, tuples of exception classes, or callables.
Update the `retry_on` type annotation to include `List[Type[Exception]]`
Changes:
- Updated `retry_on` in `RetryPolicy` to accept `List[Type[Exception]]`.
2024-09-18 13:39:04 +03:00
Nuno Campos
2a769fb39e
Less fun
2024-09-17 17:51:18 -07:00
Nuno Campos
c0d8493db5
Only look at chain runs which are nodes
2024-09-17 17:32:14 -07:00
Nuno Campos
01bb6cbd4d
Add stream_mode=messages
...
- yields messages token-by-token from LLMs, and any messages returned from a node
2024-09-17 17:27:37 -07:00
Isaac Francisco and GitHub
7d3389b6f1
docs: fix links ( #1748 )
...
* fix links
* branching link
* readme compatibility
2024-09-17 13:05:37 -07:00
Nuno Campos
3a2a4e44b2
Stream output from subgraphs while in-progress for sync stream
...
- previously implemented only for async stream
2024-09-17 12:50:29 -07:00
Eugene Yurtsev and GitHub
b11552a10a
Update all URLs to langchain docunotebooks ( #1745 )
2024-09-17 15:01:22 -04:00
Nuno Campos and GitHub
36c757e758
Merge pull request #1740 from langchain-ai/nc/17sep/deprecation-warnings
...
Fix some deprecation warnings in tests
2024-09-17 11:57:22 -07:00
Nuno Campos and GitHub
a520dc6106
Merge pull request #1744 from langchain-ai/nc/17sep/sync-benchmarks
...
Add sync benchmarks
2024-09-17 11:57:14 -07:00
Nuno Campos
da901b01d8
Fix flaky test
2024-09-17 10:52:39 -07:00
Nuno Campos and GitHub
f03dc2f006
Merge pull request #1743 from langchain-ai/nc/17sep/runner-fast-path
...
perf: Implement fast path in Runner for single-task steps
2024-09-17 10:44:35 -07:00
Nuno Campos
21d60b0d9c
Add sync benchmarks
2024-09-17 10:38:49 -07:00
Jacob Lee and GitHub
47a68c16d5
feat(js-sdk): Support CJS ( #1742 )
...
* feat(js-sdk): Support CJS
* Bump version
2024-09-17 10:28:23 -07:00
Nuno Campos
9644525b59
Fix some deprecation warnings in tests
2024-09-17 10:19:28 -07:00
Nuno Campos
76ff7c3f1a
perf: Implement fast path in Runner for single-task steps
...
- if the current step has a single task then we can execute it inline, instead of moving it to asyncio task / bg thread
2024-09-17 10:19:19 -07:00
Nuno Campos and GitHub
c4d4d61a43
Merge pull request #1735 from langchain-ai/nc/16sep/stream-subgraph-in-progress
...
Stream subgraph output while it executes
2024-09-17 10:14:26 -07:00
Nuno Campos
f59435a892
Add more comments
2024-09-17 09:31:48 -07:00
Nuno Campos
bd2ecba622
Fix for py 3.9
2024-09-17 09:29:16 -07:00
Isaac Francisco and GitHub
bfd18f76dd
docs: Tutorials up to date ( #1734 )
...
* edits
* add js code to web voyager
2024-09-17 08:11:41 -07:00
Nuno Campos and GitHub
0bf4bf8b6b
Merge pull request #1732 from langchain-ai/nc/16sep/stream-selected
...
perf: In PregelLoop, only emit stream values requested by caller
2024-09-16 21:26:30 -07:00
Nuno Campos
c30119824c
Add comment
2024-09-16 18:06:06 -07:00
Nuno Campos
54207f4d89
Add test
2024-09-16 18:02:57 -07:00
Nuno Campos
d163938a59
Stream subgraph output while it executes
2024-09-16 17:36:53 -07:00
f8ba4c3b7d
(wip) docs: revamp conceptual docs ( #1663 )
...
* docs: revamp conceptual docs
* multi-agent draft
* typo
* Update Why LangGraph page
* update multi-agent
* Update persistence page
* update
* Clarification of graph re-playing
* update persistence
* more updates
* more updates
* Add multiple schemas section to glossary
* more updates
* Clarify I/O schema
* dynamic breakpoints
* Update agentic concepts
* Fix comments
* Update figureds
* cr
* cr
* cr
---------
Co-authored-by: Lance Martin <lance@langchain.dev >
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-09-16 17:35:01 -07:00
William FH and GitHub
182dcea526
Docstring type ( #1733 )
2024-09-16 15:49:49 -07:00
Andrew Nguonly and GitHub
7934b67afa
Update API docs (openapi.json). ( #1731 )
2024-09-16 15:49:35 -07:00
Nuno Campos
f505afe066
perf: In PregelLoop, only emit stream values requested by caller
...
- this avoids creating stream values that will be ignored
2024-09-16 15:47:17 -07:00
Nuno Campos
4d0c12117b
postgres 1.0.7
2024-09-16 14:10:19 -07:00
Nuno Campos
70af3bc3cb
checkpoint 1.0.10
2024-09-16 14:10:03 -07:00
Nuno Campos and GitHub
3b05279e32
Implement serialization with msgpack library ( #1716 )
...
* Implement serialization with msgpack library
- encode custom python objects with a msgpack extension type, with constructor path string, and args encoded as nested msgpack doc
* Smaller msgpack extension types
* Update lock files
* lock
* Don't delegate to pydantic json
* Fix kafka serde
- should use our serializer to load, as inputs to subgraphs are serialized using it
2024-09-16 14:06:42 -07:00
Nuno Campos
afc64c4f62
langgraph 0.2.22
2024-09-16 13:45:14 -07:00
Bagatur and GitHub
29932bb59b
docs: clarify course free ( #1730 )
...
* docs: clarify course free
* sync
2024-09-16 20:07:16 +00:00
0b1d0eb40d
Retry subgraph starting at failing node ( #1695 )
...
* Failing test
* Ensure retried subgraphs resume from current point (if any)
* Lint
* Cleanup Test
---------
Co-authored-by: Nuno Campos <nuno@boringbits.io >
2024-09-16 12:53:43 -07:00
fa792e9f74
Update core in poetry lock ( #1717 )
...
* Update core in poetry lock
* ci: update langgraph test job for core 0.3 release (#1715 )
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-16 12:36:14 -07:00
Vadym Barda and GitHub
301a2c8c82
docs: remove mentions of pydantic_v1 in tutorials ( #1709 )
2024-09-16 10:53:21 -07:00
Vadym Barda and GitHub
d14b3aeef0
docs: remove pydantic v1 fallback from how-tos ( #1711 )
...
* docs: remove pydantic v1 fallback from how-tos
* sample callout
* update to use callout
2024-09-16 10:52:52 -07:00
Vadym Barda and GitHub
ab8aeea129
langgraph: use create_model_v2 and fallback on create_model ( #1708 )
...
* langgraph: use create_model_v2 and fallback on create_model
* fix
* code review
* fix
2024-09-16 10:44:33 -07:00
Nuno Campos
289e72b75f
Remove debug code
2024-09-16 10:44:20 -07:00
Nuno Campos
1943413d60
Debug again
2024-09-16 10:43:05 -07:00
Nuno Campos
5ec91445ac
Debug baseline job
2024-09-16 10:42:24 -07:00
Isaac Francisco and GitHub
b4e62492a7
add deprecation warning for no overall state ( #1698 )
...
* deprecation warning for no overall state
* lance comments
2024-09-16 15:09:23 +00:00
Eran Hirsch and GitHub
6b861d6c64
Fix LATS select to choose the best child at each level until reaching leaf child ( #1723 )
2024-09-16 03:16:27 +00:00
Nuno Campos
55d79b1507
Use unique cache keys
2024-09-13 16:42:59 -07:00
Nuno Campos and GitHub
e8cb6565ee
langgraph 0.2.21
2024-09-13 12:18:04 -07:00
Nuno Campos
4cd9540427
Remove grandalf from dev deps
...
- this was never included in published package, given it's a dev dep, but some people get confused, so easier to remove
2024-09-13 11:13:10 -07:00
Vadym Barda and GitHub
e87d3adb4c
docs: add a README for updating notebooks/cassettes ( #1705 )
2024-09-13 12:56:23 -04:00
Vadym Barda and GitHub
33f9ec6c04
langgraph: release 0.2.20 ( #1714 )
2024-09-13 10:36:05 -04:00
c3b4acf3f1
checkpoint postgres: allow passing custom serde ( #1699 )
...
* Use correct serde in postgres checkpoint
* Revert metadata serde
* Revert
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-12 21:09:23 -07:00
Nuno Campos and GitHub
66fc7c96aa
More performance improvements in checkpointing and channels ( #1685 )
...
* Performance improvements in checkpointer libs
- Use sha1 instead of md5 for hashing (faster in python 3.x)
- Use orjson instead of json for json dumping (sadly can't use for json loading)
* Update tests
* Update
* Use random number instead of hash for get_version_number
* Avoid saving writes for the last task to complete in each step
- only when possible, exceptions for ERROR, INTERRUPT, SEND
* Make Channel.from_checkpoint a regular function
- context manager no longer needed since Context became a managed value
* Use __slots__ for Channels
* Fix for kafka
2024-09-12 21:08:30 -07:00
Nuno Campos and GitHub
8a80b1d3b1
Add 2 more benchmark graphs ( #1707 )
2024-09-12 16:31:16 -07:00
Andrew Nguonly and GitHub
11319ae48b
Update API docs. ( #1706 )
2024-09-12 15:32:48 -07:00
Vadym Barda and GitHub
0b40c83fa8
ci: add VCR caching to the notebooks ( #1704 )
2024-09-12 16:07:41 -04:00
Nuno Campos and GitHub
95b97d69ec
Nc/12sep/perf ( #1702 )
...
* Remove unused fil;e
* Add benchmark-fast command for running locally
* Small improvements to jsonplus serializer
* Don't use PregelNode.mapper when schema is a typed dict
- All it would do is create a new copy of same dict
* Avoid copying checkpoint when fetching at beginning of loop
* Fix needs array
* Update tests
2024-09-12 12:50:53 -07:00
Nuno Campos
8e578a0f78
Add workflow dispatch
2024-09-12 11:07:39 -07:00
Nuno Campos and GitHub
dd0c17dda9
ci: Cache baseline benchmark results ( #1701 )
2024-09-12 11:06:31 -07:00
Nuno Campos and GitHub
8f87cd1c91
Performance improvements in core library ( #1683 )
...
* Performance improvements in core library
- Avoid creating new callback manager when received one as arg
- Avoid looking for config when already received one as arg
- Avoid copies of values in ensure_config/merge_configs
- Implement version of ensure_config that accepts multiple configs (avoids calling merge_configs first)
- Avoid calling merge_configs when we only need to attach extra tags/metadata
* Fix
* Fix
* Try again
* Debug ci job
* Fix
* Try again
* Try again
* Try again
* Some more variations
* Attach annotation to first changed file
* Fix
* Re-enable benchmarks
2024-09-12 11:01:37 -07:00
Vadym Barda and GitHub
2ef551fac7
ci: add more dependencies for dev notebook testing ( #1700 )
2024-09-12 16:59:03 +00:00
vbarda
fc4243ae67
ci: call -> dispatch for notebooks
2024-09-12 12:21:32 -04:00
Vadym Barda and GitHub
889cc9b394
ci: add GHA to execute how-to notebooks ( #1694 )
2024-09-12 15:39:15 +00:00
Nuno Campos and GitHub
73d1051034
Merge pull request #1693 from langchain-ai/nc/11sep/kafka-finally-send
...
kafka: Expose finally_send as public api
2024-09-11 16:48:41 -07:00
Nuno Campos
571623442a
Avoid closing drain before seeing first message in either topic
2024-09-11 16:45:43 -07:00
Nuno Campos and GitHub
33017b53d0
Update bench.yml
2024-09-11 16:38:06 -07:00
Nuno Campos and GitHub
c172362918
Merge pull request #1691 from langchain-ai/nc/11sep/kafka-sync
...
kafka: Implement sync orchestrator and executor classes
2024-09-11 16:34:01 -07:00
Nuno Campos and GitHub
115c37acea
Merge pull request #1686 from langchain-ai/nc/11sep/kafka-configurable-consumer-producer
...
kafka: Make consumer and producer classes configurable
2024-09-11 16:33:15 -07:00
vbarda
cd5f5c11f5
ci: update checks for overall CI success
2024-09-11 19:32:20 -04:00
Nuno Campos
dd68babac7
kafka: Expose finally_send as public api
...
- Enables attaching a list of messages (topic/key/value) to send when run finishes
2024-09-11 16:31:35 -07:00
Vadym Barda and GitHub
63c34ca992
langgraph: update snapshots for 0.3.x core tests ( #1692 )
2024-09-11 19:28:47 -04:00
Nuno Campos
4accc19734
kafka: Implement sync orchestrator and executor classes
2024-09-11 16:06:50 -07:00
Vadym Barda and GitHub
84643b2789
langgraph: update core & snapshots ( #1689 )
2024-09-11 21:59:12 +00:00
Nuno Campos
217b07ae65
kafka: Make consumer and producer classes configurable
...
- Define protocol for sync and async producer and consumer
- Accept consumer/producer as init args in Orchestrator/Executor
- If not passed in, create default consumer/producer as before
2024-09-11 14:27:08 -07:00
Nuno Campos
50744bc846
Fix
2024-09-11 13:43:24 -07:00
Nuno Campos
f179da00a0
update bench job
2024-09-11 13:41:45 -07:00
Nuno Campos and GitHub
8e275fa485
Merge pull request #1609 from langchain-ai/nc/4sep/benchmark
...
Add benchmark script
2024-09-11 12:29:22 -07:00
Nuno Campos
47dae71841
Remove files
2024-09-11 12:28:38 -07:00
Nuno Campos
de2850332d
Rename
2024-09-11 12:27:10 -07:00
Nuno Campos
bf4f8e67d8
Rename command
2024-09-11 12:25:22 -07:00
Nuno Campos
d844359d61
Fix output dir
2024-09-11 12:23:59 -07:00
Nuno Campos
5f2e9aafce
Fix
2024-09-11 12:22:18 -07:00
Nuno Campos
51b8cfca54
fix
2024-09-11 12:20:48 -07:00
Nuno Campos
309b259735
One more
2024-09-11 12:18:35 -07:00
Nuno Campos
c00e8c2b46
Fix
2024-09-11 12:17:56 -07:00
Vadym Barda and GitHub
ee28fd3324
docs: update how-tos to support pydantic v1 and v2 ( #1682 )
2024-09-11 19:16:00 +00:00
Nuno Campos
710b4179da
Add ci job
2024-09-11 12:14:06 -07:00
Nuno Campos
f577529356
Add benchmark/profile commands
2024-09-11 11:44:18 -07:00
David Duong and GitHub
0fa10d67f5
Merge pull request #1681 from langchain-ai/dqbd/sdk-js-0.0.9
...
fix(sdk-js): bump to 0.0.9
2024-09-11 19:44:57 +02:00
Tat Dat Duong
a60a4606fb
fix(sdk-js): bump to 0.0.9
2024-09-11 19:41:51 +02:00
Vadym Barda and GitHub
229765c4a5
ci: update link check ( #1680 )
2024-09-11 13:16:55 -04:00
gbaian10 and GitHub
bf6ad19963
refactor: Type narrowing for ToolNode.name ( #1678 )
...
Avoid type incompatibility when using `add_node` to add a `ToolNode`.
2024-09-11 13:11:39 -04:00
Vadym Barda and GitHub
4c59a5e249
ci: ignore link check for storm tutorial ( #1679 )
2024-09-11 13:08:46 -04:00
Vadym Barda and GitHub
1f9273b136
docs: put documentation in the docs folder instead of examples ( #1674 )
2024-09-11 12:27:31 -04:00
Vadym Barda and GitHub
f3b5d804ab
ci: fix kafka scheduler, split langgraph and kafka into separate test jobs ( #1677 )
2024-09-11 10:55:11 -04:00
Nuno Campos
26f23ea26c
Add benchmark script
2024-09-10 17:32:47 -07:00
Nuno Campos and GitHub
e3ca7bb3e9
Merge pull request #1630 from langchain-ai/nc/5sep/scheduler-kafka
...
Implement LangGraph Scheduler for Kafka
2024-09-10 17:31:58 -07:00
Nuno Campos
34d530d5d8
Fix
2024-09-10 17:24:24 -07:00
Nuno Campos
2b09c284d4
Remove empty build job
2024-09-10 17:22:48 -07:00
Nuno Campos
77083bf634
Disable test jobs for now
2024-09-10 17:22:06 -07:00
Nuno Campos
5de46f7472
Update stop condition for drain
2024-09-10 16:52:09 -07:00
vbarda
bb10acbe28
update cache keys
2024-09-10 19:51:23 -04:00
Nuno Campos
bdabb723b0
Add langgraph dep
2024-09-10 16:39:34 -07:00
Nuno Campos
edc0fd0210
Remove extraneous asserts
2024-09-10 16:20:45 -07:00
Nuno Campos
3886b76771
Lint
2024-09-10 16:17:22 -07:00
Nuno Campos
3a65460767
Use anyio for timeout in dran test helper
2024-09-10 16:17:22 -07:00
Nuno Campos
5e0273886e
Lint
2024-09-10 16:17:22 -07:00
Nuno Campos
943cc4d83a
Add readme, lint
2024-09-10 16:17:22 -07:00
Nuno Campos
fed6499a2e
Run ci for kafka lib
2024-09-10 16:17:22 -07:00
Nuno Campos
270559b880
Implement changes in sqlite checkpointer
2024-09-10 16:17:22 -07:00
Nuno Campos
98b8595a94
Move to dev deps
2024-09-10 16:17:22 -07:00
Nuno Campos
f7dffa023c
Implement subgraph delegation for distributed arch
2024-09-10 16:17:22 -07:00
Nuno Campos
7dc69a543d
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
8f91402642
Use thread_id for partition key, ignore tasks for stale checkpoints
2024-09-10 16:17:22 -07:00
Nuno Campos
030d6d2def
Fix subgraph test
2024-09-10 16:17:22 -07:00
Nuno Campos
ad7dd0dbb7
Add drain_topics test helper
2024-09-10 16:17:22 -07:00
Nuno Campos
0eb11a3cf9
Remove is_resuming arg
2024-09-10 16:17:22 -07:00
Nuno Campos
1ce8d628f2
In update state skip nodes not found in instance
...
eg, because removed since
2024-09-10 16:17:22 -07:00
Nuno Campos
5e6b58f847
Remove double shield usage
...
- we already shield from cancellation in PregelLoop so shouldnt be repeating in AsyncBackgroundExecutor
2024-09-10 16:17:22 -07:00
Nuno Campos
b13db42568
WIP Subgraphs
2024-09-10 16:17:22 -07:00
Nuno Campos
83d36761a4
Rename compose projects
2024-09-10 16:17:22 -07:00
Nuno Campos
d206621230
Rename test
2024-09-10 16:17:22 -07:00
Nuno Campos
8e6caab78c
Add test for interrupts
2024-09-10 16:17:22 -07:00
Nuno Campos
ad463ec90a
Add more test assertions
2024-09-10 16:17:22 -07:00
Nuno Campos
2d02e5e0c5
Add error topic, add retries (eg for checkpointer database exceptions)
2024-09-10 16:17:22 -07:00
Nuno Campos
5b3bd920d8
Catch errors thrown by nodes run by Executor
2024-09-10 16:17:22 -07:00
Nuno Campos
f09b130837
Use pool for postgres checkpointer
2024-09-10 16:17:22 -07:00
Nuno Campos
e6d6f565a5
Improvements to consumer and producer patterns
...
- await future returned by send() instead of flush()
- use consumer groups by default
- process tasks in batches by default, configurable
- manually commit offsets when batch is processed
2024-09-10 16:17:22 -07:00
Nuno Campos
dc5be3fd58
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
381ea9cec8
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
841aabf5b3
Implement LangGraph Scheduler for Kafka
...
- Orchestrator and Executor classes to run LangGraph in a distributed fashion using Kafka as a message bus for communication
- Orchestrator and Executor run on-demand when a new message is published to the topic they listen to
- Orchestrator is responsible for running the Pregel algorithm (deciding next tasks to run) and sending messages to the executor topic
- Executor is responsible for executing each task (node), and sending messages to the orchestrator topic when done
2024-09-10 16:17:22 -07:00
Vadym Barda and GitHub
5d4b276af2
ci: remove preview step ( #1675 )
2024-09-10 18:25:13 +00:00
jessicaou and GitHub
acd8325402
adding langchain academy link ( #1643 )
2024-09-10 12:04:19 -04:00
Vadym Barda and GitHub
ed0f55af85
docs: clean up how-to docs to make them runnable ( #1666 )
2024-09-10 01:56:51 +00:00
Vadym Barda and GitHub
215b87244b
docs: update dependencies in setup docs ( #1664 )
2024-09-09 20:08:16 -04:00
Nuno Campos and GitHub
ad04d4e154
Merge pull request #1658 from os1ma/fix-typo-node-interupt
...
docs: fix typo `NodeInterupt`
2024-09-09 09:35:11 -07:00
David Duong and GitHub
ba5cf0d00f
Merge pull request #1661 from langchain-ai/dqbd/sdk-js-fetch-types
...
fix(js): don't be strict on JS types for custom fetch
2024-09-09 18:00:34 +02:00
Tat Dat Duong
58c34cf40c
fix(js): don't be strict on JS types for custom fetch
2024-09-09 17:48:55 +02:00
Yuki Oshima
394ce83bb1
docs: fix typo NodeInterupt
2024-09-09 16:59:42 +09:00
1c9b1d29c3
docs: add page on creating react agent from scratch ( #1626 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 16:58:55 +00:00
db306cd01b
doc updates ( #1639 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 16:55:52 +00:00
38a644cf79
docs: how-to for finding graph runs in LangSmith ( #1631 )
...
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-08 14:59:44 +00:00
2c088fa1bb
docs: fix broken link ( #1652 )
...
* fix broken link
* actually fix link
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 14:36:59 +00:00
Vadym Barda and GitHub
282562f182
langgraph: add tests for MessagesState/AnyMessage ( #1637 )
...
* langgraph: add tests for MessagesState/AnyMessage
* bump to 0.3.0.dev4
* update
* update snapshots
2024-09-07 17:00:41 -04:00
Brace Sproul and GitHub
9302a589e0
Merge pull request #1646 from langchain-ai/brace/agent-survey-docs
...
docs[minor]: Add state of agents survey to docs announcement bar
2024-09-06 15:48:58 -07:00
Brace Sproul and GitHub
8f91ad005b
Merge branch 'main' into brace/agent-survey-docs
2024-09-06 14:36:46 -07:00
bracesproul
5b511a2386
docs[minor]: Add state of agents survey to docs announcement bar
2024-09-06 14:35:54 -07:00
Nuno Campos and GitHub
a424eb40bb
Merge pull request #1641 from langchain-ai/wfh/output_schema
...
Support optional fields in the output schema when defining as Dataclass or TypedDict
2024-09-06 13:55:49 -07:00
Vadym Barda and GitHub
40dd40a867
docs: fix indents for the markdown callouts ( #1644 )
...
* docs: fix indents for the markdown callouts
2024-09-06 20:54:37 +00:00
William Fu-Hinthorn
4aa28fb55f
Merge
2024-09-06 13:46:16 -07:00
William Fu-Hinthorn
822bdea146
update ye ol' snapshots
2024-09-06 13:40:45 -07:00
vbarda
142db1f020
fix links in the reference
2024-09-06 16:37:56 -04:00
vbarda
6fd6ef43f6
lint
2024-09-06 16:28:05 -04:00
vbarda
7f3c6e3d2f
Merge branch 'main' into vb/add-sync-client
2024-09-06 16:24:28 -04:00
Vadym Barda and GitHub
b4fe54623d
sdk-js: add missing methods ( #1640 )
2024-09-06 16:23:47 -04:00
vbarda
7233b06c2b
update sync
2024-09-06 16:23:17 -04:00
Nuno Campos and GitHub
5305cb7149
Merge pull request #1642 from langchain-ai/wfh/disallow_managed_io
...
Assert input/output channels aren't managed
2024-09-06 12:57:01 -07:00
William Fu-Hinthorn
cc55adac46
icanspell
2024-09-06 12:50:53 -07:00
William Fu-Hinthorn
1832ed46ef
Assert input/output channels aren't managed
2024-09-06 12:46:12 -07:00
vbarda
a73484d336
rename back
2024-09-06 15:33:29 -04:00
William Fu-Hinthorn
e86330ab05
Exclude shared
2024-09-06 12:28:33 -07:00
vbarda
a52f397db8
Merge branch 'main' into vb/add-sync-client
2024-09-06 15:28:24 -04:00
William Fu-Hinthorn
093dab1035
Update test
2024-09-06 12:09:37 -07:00
William Fu-Hinthorn
fd36ed794c
Merge branch 'main' into wfh/output_schema
2024-09-06 12:04:16 -07:00
William FH and GitHub
ec4e92792d
Optional types for dataclass state defs ( #1557 )
2024-09-06 11:50:45 -07:00
William Fu-Hinthorn
587335bfe6
Support optional output schema
2024-09-06 11:29:43 -07:00
Nuno Campos
a9ccd0fd79
langgraph 0.2.19
2024-09-06 09:29:24 -07:00
Nuno Campos and GitHub
b329164c6c
Merge pull request #1638 from langchain-ai/nc/6sep/fix-debug-task-event-timing
...
Fix timing of debug task events
2024-09-06 09:29:00 -07:00
Nuno Campos
61ca2444c0
Fix timing of debug task events
2024-09-06 09:17:36 -07:00
Isaac Francisco and GitHub
82988b8453
docs: adding lines to docker file ( #1633 )
2024-09-06 11:30:19 -04:00
28581e047a
Support pydantic & dataclasses in ToolNode ( #1625 )
...
Co-authored-by: Abinash Panda <abinashpanda205@gmail.com >
2024-09-06 07:39:49 -07:00
Isaac Francisco and GitHub
8fc0eecac1
[docs]: add subgraph streaming how-to (and some small cleanups) ( #1606 )
...
* wip
* spelling
* edit format_namespace
2024-09-05 20:37:47 -07:00
6134b0e995
docs: add shared value ( #1447 )
...
* add shared value
* changes
* z
* spelling
* z
* vadym comments
* spelling
* cloud compatibility
* spelling
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com >
2024-09-05 18:23:02 -07:00
Isaac Francisco and GitHub
dc1e33f4de
small fixes ( #1629 )
2024-09-05 20:34:37 -04:00
Nuno Campos
fb9f67c158
Fix copy
2024-09-05 17:19:42 -07:00
Nuno Campos
f13dd00b62
Fix import
2024-09-05 17:04:56 -07:00
Nuno Campos
b229c08027
langgraph 0.2.18
2024-09-05 17:02:07 -07:00
Nuno Campos
7cbad36956
Add back Pregel.copy()
2024-09-05 17:01:20 -07:00
Isaac Francisco and GitHub
80066280c9
docs: better time travel example ( #1622 )
...
* better example
* branching to select different tool instead of change args
* spelling
2024-09-05 14:56:51 -07:00
Isaac Francisco and GitHub
d1f06d6771
removing empty cells ( #1624 )
2024-09-05 14:46:37 -07:00
Vadym Barda and GitHub
46b6cd45e2
checkpoint: release 1.0.9 ( #1628 )
2024-09-05 17:24:18 -04:00
Vadym Barda and GitHub
8c05502e97
langgraph: update mermaid snapshots ( #1627 )
2024-09-05 17:11:05 -04:00
Nuno Campos
72e73e47c9
langgraph 0.2.17
2024-09-05 12:37:17 -07:00
Vadym Barda and GitHub
7bf99a5d2f
langgraph: changes for compatibility pydantic v2 / langchain-core==0.3 ( #1594 )
2024-09-05 15:26:35 -04:00
Nuno Campos and GitHub
7461978b8c
Merge pull request #1612 from langchain-ai/nc/4sep/prepare-single-task
...
Split out prepare_single_task from prepare_next_tasks
2024-09-05 10:21:27 -07:00
Nuno Campos
4f89cfc81d
Remove legacy id
2024-09-05 09:21:07 -07:00
Isaac Francisco and GitHub
ea5cb4d100
remove self hosted docs ( #1621 )
2024-09-05 16:16:32 +00:00
e14c17f6b8
docs: add a how-to on subgraph transform state ( #1595 )
...
* docs: add a how-to on subgraph transform state
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com >
2024-09-05 12:16:11 -04:00
Isaac Francisco and GitHub
b34bfe165a
docs fixes ( #1620 )
2024-09-05 12:03:55 -04:00
Nuno Campos
ca3715b809
Split out prepare_single_task from prepare_next_tasks
2024-09-04 18:09:42 -07:00
gbaian10 and GitHub
7e83cda0b5
docs: Correct the reference repo in the Cloud - Setup App (pyproject.toml) documents ( #1607 )
2024-09-04 21:05:10 -04:00
Nuno Campos and GitHub
6727277f8f
Merge pull request #1610 from langchain-ai/an/04sept/metadata-interrupts
...
Return `before,after` for `__interrupt` metadata if both interrupts are configured for a node
2024-09-04 17:29:07 -07:00
Andrew Nguonly
d89fb9eef0
Add before and after values to __interrupt metadata.
2024-09-04 15:36:05 -07:00
Isaac Francisco and GitHub
1774dbb860
[docs]: adding js/curl tabs ( #1558 )
...
* jsifying
* x
* z
* x
* fix background run output
* reformatting
* z
* z
* z
* z
* z
* add tabs to stream debug
* default urls
2024-09-04 22:13:19 +00:00
Harrison Chase and GitHub
82c989feea
docs: subgraphs manage state ( #1543 )
2024-09-04 17:57:06 -04:00
Nuno Campos
f66493f6db
Lint
2024-09-04 14:37:31 -07:00
Nuno Campos
eb88dfefa3
Speed improvements to local_read, emit output
2024-09-04 14:31:42 -07:00
Nuno Campos
b8d8a879d8
Fix ids in debug task events
2024-09-04 14:31:20 -07:00
Nuno Campos
dc10b3aa8e
Add test to confirm only one root run is produced
2024-09-04 12:56:32 -07:00
Nuno Campos and GitHub
af780f97a4
Merge pull request #1597 from langchain-ai/nc/3sep/perf-optimizations
...
Reduce cpu time spent on langchain-core utilities
2024-09-04 12:45:20 -07:00
Nuno Campos
3a1b90c882
Fix
2024-09-04 12:34:42 -07:00
Nuno Campos
b9361d69b4
Try to fix test
2024-09-04 12:30:27 -07:00
Nuno Campos
26b4d9139e
Avoid using json encoding when generating task ids
2024-09-04 12:19:14 -07:00
Nuno Campos
67a164ca2d
Run loop tick in bg thread
...
- prepare_next_tasks, apply_writes do some cpu-heavy work
2024-09-04 12:18:42 -07:00
Nuno Campos
b68f9211c2
Run branch.reader in bg thread
2024-09-04 12:13:38 -07:00
Nuno Campos
4efab93e2f
Use pseudo rng for uuid6 generation
2024-09-04 12:07:19 -07:00
Nuno Campos
cf345ef716
Store loop in async bg exec init
2024-09-04 12:07:02 -07:00
Nuno Campos
535dbd5b06
Reduce from 9s to 4s on benchmark graph
...
- Use a simpler version of RunnableSequence without tracing serialization
- Remove accepts_run_manager check in RunnableCallable
- Remove creation of ChannelWrite dynamically every time conditional edge runs
2024-09-04 11:02:33 -07:00
Nuno Campos
f2e0dc1042
Reduce cpu time spent on langchain-core utilities
...
- shaves off 2s of 11s runtime of a simple graph with 1,000 subgraphs
2024-09-04 11:02:33 -07:00
Nuno Campos and GitHub
6bf367300b
Merge pull request #1598 from langchain-ai/nc/3sep/runner
...
Move runner code to standalone class, use in Pregel.stream/astream
2024-09-04 11:01:38 -07:00
Nuno Campos
e42e1a9f6b
Fix test
2024-09-04 10:56:41 -07:00
Nuno Campos
0d51c8614d
Move runner code to standalone class, use in Pregel.stream/astream
2024-09-04 10:50:46 -07:00
Nuno Campos
b99a101b2c
Add large parallel graph test
2024-09-04 10:50:05 -07:00
Nuno Campos
e150193491
Avoid deepcopy
2024-09-04 10:50:05 -07:00
Nuno Campos and GitHub
7304ba683e
Merge pull request #1282 from langchain-ai/isaac/nodelogging
...
add task_id to node logs
2024-09-03 16:30:43 -07:00
isaac hershenson
ec51760f57
x
2024-09-03 13:45:22 -07:00
Isaac Francisco and GitHub
32d07df7a4
Merge branch 'main' into isaac/nodelogging
2024-09-03 13:39:05 -07:00
Isaac Francisco and GitHub
1ae60dccc5
test ( #1592 )
2024-09-03 10:12:36 -07:00
Nuno Campos
5d1ab66535
sqlite 1.0.3
2024-09-03 09:41:04 -07:00
Nuno Campos and GitHub
b4944fa0a0
Merge pull request #1582 from langchain-ai/nc/2sep/rm-pydantic-base-class
...
Remove pydantic base class from Pregel/PregelNode
2024-09-03 09:39:03 -07:00
Nuno Campos
4ddb4ae5a0
Update
2024-09-03 09:26:45 -07:00
Nuno Campos
a99b66ae3f
Update
2024-09-03 09:20:17 -07:00
Nuno Campos and Nuno Campos
4793b3f5e1
Use a lock for all operations on sqlite checkpointer
...
- Otherwise when used in multiple subgraphs in parallel separate queries can interfere w each other
2024-09-03 09:20:17 -07:00
Nuno Campos and Nuno Campos
3c5913aa29
Remove pydantic base class from Pregel/PregelNode
2024-09-03 09:20:17 -07:00
Sreenivasan R S and GitHub
43d5dbf174
examples: fix missing import introduction ( #1584 )
2024-09-03 12:12:31 -04:00
Nuno Campos and GitHub
974b6c7bf3
Merge pull request #1549 from langchain-ai/wfh/optional_types
...
Support optional types from typeddict
2024-09-03 09:11:14 -07:00
Vadym Barda and GitHub
d492475c61
checkpoint-sqlite: close connection in from_conn_string ( #1589 )
2024-09-03 11:00:37 -04:00
gbaian10 and GitHub
e5b09b8c20
docs: update Postgres checkpointer for persistence ( #1556 )
2024-09-03 11:00:14 -04:00
Jacob Lee and GitHub
c1d7cbd67c
Adds JS deploy guide to index ( #1590 )
2024-09-03 07:47:31 -07:00
gbaian10 and GitHub
8c0b27a85b
docs: fix Corrective RAG (CRAG) miss function ( #1563 )
...
`Corrective RAG (CRAG) using local LLMs` miss `find_tool_calls_react` function
2024-09-03 09:50:00 -04:00
322d6c8dde
patch(docs): Update docs with JS cloud instructions ( #1560 )
...
* Update docs with JS cloud instructions
* Add to index
* Add md fence
* nits
* nits
* Update setup_javascript.md
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
2024-09-02 18:48:50 -07:00
Nuno Campos
af666a87fb
sqlite 1.0.2
2024-09-02 17:58:01 -07:00
Nuno Campos
6e9f54e5ae
postgres 1.0.6
2024-09-02 17:57:55 -07:00
Nuno Campos
dd4a15b569
Require latest version of langgraph-checkpoint
2024-09-02 17:57:33 -07:00
Nuno Campos and GitHub
1122e5cbbb
Merge pull request #1579 from langchain-ai/nc/2sep/async-checkpoint-test-setup
...
test: Ensure that async checkpointers in tests are setup in same event loop as they are used in
2024-09-02 17:57:05 -07:00
Nuno Campos and GitHub
29311f054d
Merge pull request #1580 from langchain-ai/nc/2sep/async-checkpointers-implement-async
...
checkpoint: Implement sync methods in async checkpointers
2024-09-02 17:51:52 -07:00
Nuno Campos
3b2a237deb
Lint
2024-09-02 17:45:57 -07:00
Nuno Campos
0cc3799298
checkpoint: Implement sync methods in async checkpointers
...
- These are needed when subgraphs are invoked synchronously in nodes
2024-09-02 17:43:34 -07:00
Nuno Campos
ddeb9d7314
Disable test in old versions of py
2024-09-02 17:42:37 -07:00
Nuno Campos
d65d0ec665
test: Ensure that async checkpointers in tests are setup in same event loop as they are used in
...
- This more closely remembers the environment they're used in, so it's what we should be testing
- Remove unnecessary pytest-asyncio dependency, use anyio pytest plugin instead
- Convert remaining async tests using only memory checkpointer to use all existing ones
2024-09-02 17:24:54 -07:00
Nuno Campos and GitHub
a937754132
lib 0.2.16
2024-09-01 12:15:20 -07:00
Reuben M and GitHub
8c698fc362
Return replan response in dict. Add Replan example ( #1566 )
2024-08-31 23:41:48 +00:00
gbaian10 and GitHub
3a07fe2efb
docs: fix agent_supervisor.ipynb ( #1562 )
...
fix #1561
2024-08-31 16:35:59 -07:00
William Fu-Hinthorn
1191dc1b48
Handle py3.9
2024-08-30 23:52:41 -07:00
isaac hershenson
ee5801511b
fmt
2024-08-30 18:25:02 -07:00
isaac hershenson
d14477c891
x
2024-08-30 18:22:22 -07:00
isaac hershenson
01765fbda4
x
2024-08-30 17:39:45 -07:00
Isaac Francisco and GitHub
54bcd490ef
Merge branch 'main' into isaac/nodelogging
2024-08-30 16:58:31 -07:00
William Fu-Hinthorn
85e827ae85
Merge branch 'main' into wfh/optional_types
2024-08-30 16:40:56 -07:00
William Fu-Hinthorn
55263c640f
Return a default value instead
2024-08-30 16:28:01 -07:00
William Fu-Hinthorn
51f58279ba
Update snapshot
2024-08-30 16:20:22 -07:00
Nuno Campos and GitHub
7d6a302858
Merge pull request #1514 from vermapratyush/patch-1
...
[docs]: Fix typo
2024-08-30 16:20:18 -07:00
Nuno Campos and GitHub
d225ef074f
Merge pull request #1487 from langchain-ai/isaac/fixcustomersupportbot
...
customer support bot doc nit
2024-08-30 16:14:50 -07:00
Nuno Campos
eca419008c
checkpoint 1.0.8
2024-08-30 16:10:57 -07:00
Nuno Campos and GitHub
76994f3c9a
Merge pull request #1521 from langchain-ai/nc/28aug/pydantic-serialization
...
checkpoint: Avoid changes to pydantic models breaking deserialization while still relying on pydantic's type coercion
2024-08-30 15:56:43 -07:00
Nuno Campos
ca4ebe1031
Update tests
2024-08-30 15:51:57 -07:00
Nuno Campos and GitHub
299179bc33
Merge pull request #1555 from langchain-ai/nc/30aug/detect-nested-graph-in-function-node
...
Detect subgraphs called inside function nodes
2024-08-30 15:19:40 -07:00
Nuno Campos
487fc8a8ca
Detect subgraphs called inside function nodes
2024-08-30 15:13:56 -07:00
Vadym Barda and GitHub
cf4de9a1a5
cli: remove jupyter from examples pyproject ( #1554 )
2024-08-30 21:45:35 +00:00
Nuno Campos and GitHub
921c366708
Merge pull request #1531 from langchain-ai/dependabot/pip/libs/langgraph/notebook-7.2.2
...
Bump notebook from 7.2.1 to 7.2.2 in /libs/langgraph
2024-08-30 14:34:45 -07:00
Nuno Campos and GitHub
243881ae90
Merge pull request #1532 from langchain-ai/dependabot/pip/libs/langgraph/jupyterlab-4.2.5
...
Bump jupyterlab from 4.2.2 to 4.2.5 in /libs/langgraph
2024-08-30 14:34:26 -07:00
Nuno Campos
770132dd79
sdk-py: Add values to get/list threads
2024-08-30 14:23:10 -07:00
Nuno Campos
3943637202
Bump them all
2024-08-30 14:18:35 -07:00
Nuno Campos and GitHub
13cf9b7ec5
Merge pull request #1552 from langchain-ai/nc/30aug/sort-pending-writes-on-fetch
...
postgres/sqlite: Sort pending writes when fetching from db
2024-08-30 14:12:54 -07:00
Nuno Campos
e744db169a
postgres/sqlite: Sort pending writes when fetching from db
2024-08-30 14:07:46 -07:00
Nuno Campos and GitHub
770c092b57
Merge pull request #1551 from langchain-ai/nc/30aug/rm-none-default-node-inputs
...
Remove None default for missing keys when generating input for each node
2024-08-30 14:06:51 -07:00
Nuno Campos
c5c10a41e5
Remove None default for missing keys when generating input for each node
2024-08-30 13:59:36 -07:00
Nuno Campos
af1f218e00
Try init, then construct
2024-08-30 13:35:33 -07:00
Nuno Campos and GitHub
35807068ef
Merge pull request #1545 from langchain-ai/nc/29aug/input-metadata-from-writes
...
For input checkpoint use filtered input writes in checkpoint metadata
2024-08-30 13:30:54 -07:00
Nuno Campos
5db13dffbe
checkpoint: Avoid changes to pydantic models breaking deserialization while still relying on pydantic's type coercion
2024-08-30 13:28:32 -07:00
Nuno Campos
6379cdc36d
Fix tests
2024-08-30 13:25:35 -07:00
Nuno Campos and Nuno Campos
8154ab784e
For input checkpoint use filtered input writes in checkpoint metadata
...
- if we use the raw input we can end up saving keys that were actually ignored (because not one of the input keys), which is incosistent
2024-08-30 13:24:41 -07:00
Vadym Barda and GitHub
c761b80970
docs: update subgraph how-to ( #1520 )
2024-08-30 14:41:29 -04:00
Nuno Campos and GitHub
36d1570c0f
Merge pull request #1550 from langchain-ai/nc/30aug/replay-without-fork
...
Remove the need to fork a thread to replay a past state
2024-08-30 10:39:57 -07:00
Nuno Campos and GitHub
99a845128e
Merge pull request #1522 from langchain-ai/nc/28aug/sdk-join-return-val
...
sdk-py: Update signature for runs.join
2024-08-30 10:36:15 -07:00
Nuno Campos
6036b4a7d4
Remove the need to fork a thread to replay a past state
2024-08-30 10:35:16 -07:00
Nuno Campos
33edc8e808
sdk-py: Update signature for runs.join
2024-08-30 10:31:33 -07:00
Nuno Campos and GitHub
15a204b2be
Merge pull request #1539 from langchain-ai/nc/29aug/nested-update-state
...
Implement update_state for nested graphs
2024-08-30 10:30:40 -07:00
Nuno Campos and GitHub
24a7e6403f
Merge pull request #1538 from langchain-ai/nc/29aug/nested-replay
...
Replay a nested checkpoint
2024-08-30 10:30:14 -07:00
William Fu-Hinthorn
a07ec9d8c8
Handle total=false
2024-08-30 10:21:57 -07:00
Nuno Campos
9fd64cd37b
Lint
2024-08-30 10:19:20 -07:00
Nuno Campos
fcd0f094f9
Add test from harrison, always produce output when resuming graph
2024-08-30 10:10:51 -07:00
William Fu-Hinthorn
65b64c1331
Support optional types from typeddict
...
In the input schema
2024-08-30 09:42:53 -07:00
Vadym Barda and GitHub
30598cd913
docs: fix images in structured react agent ( #1544 )
2024-08-30 01:50:14 +00:00
Nuno Campos
44153e4a49
Update test
2024-08-29 16:52:50 -07:00
Nuno Campos
4133910670
Implement update_state for nested graphs
2024-08-29 16:41:47 -07:00
Nuno Campos
4fc4080597
Enable test for doubly nested interrupts
2024-08-29 15:49:43 -07:00
Nuno Campos
8865831104
Update async test
2024-08-29 15:42:29 -07:00
Nuno Campos
a707eef6f7
Lint
2024-08-29 15:42:25 -07:00
Nuno Campos
090c759da0
Replay a nested checkpoint
...
- note this isn't very useful until update_state is added
2024-08-29 15:39:14 -07:00
Nuno Campos and GitHub
4ebaaba282
Merge pull request #1499 from langchain-ai/nc/27aug/print-output-skipped-tasks
...
Emit output for skipped tasks, with `cached` mark
2024-08-29 15:38:35 -07:00
Isaac Francisco and GitHub
5343350a5c
[docs]: conceptual guides for streaming from specific nodes/LLMs ( #1537 )
...
* x
* changes
* typo
2024-08-29 22:09:18 +00:00
Nuno Campos and GitHub
5dcb5976d9
Merge pull request #1536 from RafaelRViana/documentation-fix
...
[docs]: fix parameter "multitask_strategy" misspelled
2024-08-29 14:03:52 -07:00
Nuno Campos
791ab654cb
Add cached mark
2024-08-29 13:57:37 -07:00
Nuno Campos
c183f4f16a
Emit output for skipped tasks
2024-08-29 13:56:55 -07:00
Rafael Viana
11e8728685
[docs]: fix parameter misspelled
2024-08-29 17:49:04 -03:00
Nuno Campos and GitHub
b1f22d3d81
Merge pull request #1534 from langchain-ai/nc/29aug/stream-subgraphs
...
Stream output from subgraphs
2024-08-29 13:37:13 -07:00
Nuno Campos
ddf67d9233
Add ns to subgraph stream events
2024-08-29 13:32:21 -07:00
Nuno Campos
b479b88c7e
Add name of subgraph to streaming output
2024-08-29 13:20:28 -07:00
Isaac Francisco and GitHub
dd52248ef2
[docs]: make react agent HIL guide a little better ( #1526 )
...
* ocd
* x
* spelling
* changes
* edits
* nits
* changes
* last nit
2024-08-29 19:02:59 +00:00
Nuno Campos
80e442e13d
Stream output from subgraphs
...
- enabled by new argument stream(subgraphs=True)
- the same stream_mode requested for parent graph is applied to all subgraphs
2024-08-29 12:00:02 -07:00
Nuno Campos and GitHub
a627a30f4c
Merge pull request #1530 from langchain-ai/nc/29aug/get-state-subgraph
...
Enable passing subgraph checkpoint config to get_state/aget_state
2024-08-29 11:59:02 -07:00
Vadym Barda and GitHub
01f14d3166
docs: update how-to for streaming from final node ( #1533 )
2024-08-29 18:28:22 +00:00
dependabot[bot] and GitHub
209e4cef7b
Bump jupyterlab from 4.2.2 to 4.2.5 in /libs/langgraph
...
Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab ) from 4.2.2 to 4.2.5.
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases )
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/@jupyterlab/lsp@4.2.5/CHANGELOG.md )
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.2.2...@jupyterlab/lsp@4.2.5 )
---
updated-dependencies:
- dependency-name: jupyterlab
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 18:10:05 +00:00
dependabot[bot] and GitHub
98789acacc
Bump notebook from 7.2.1 to 7.2.2 in /libs/langgraph
...
Bumps [notebook](https://github.com/jupyter/notebook ) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/jupyter/notebook/releases )
- [Changelog](https://github.com/jupyter/notebook/blob/@jupyter-notebook/tree@7.2.2/CHANGELOG.md )
- [Commits](https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.2.1...@jupyter-notebook/tree@7.2.2 )
---
updated-dependencies:
- dependency-name: notebook
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 18:05:50 +00:00
Nuno Campos
9d68aac76f
Enable passing subgraph checkpoint config to get_state/aget_state
2024-08-29 10:47:50 -07:00
Nuno Campos and GitHub
e526674172
Merge pull request #1502 from langchain-ai/nc/27aug/subgraphs-cleanup
...
Nc/27aug/subgraphs cleanup
2024-08-29 10:17:04 -07:00
Nuno Campos
ca8614f873
Implement get_state and get_state_history for nested graphs
2024-08-29 09:45:45 -07:00
ae8b1e164b
docs: expand streaming conceptual guides ( #1524 )
...
* stash
* cr
* x
* spelling
* Update docs/docs/cloud/how-tos/stream_events.md
Co-authored-by: Vadym Barda <vadym@langchain.dev >
* Update docs/docs/cloud/how-tos/stream_updates.md
Co-authored-by: Vadym Barda <vadym@langchain.dev >
* Update docs/docs/cloud/how-tos/stream_values.md
Co-authored-by: Vadym Barda <vadym@langchain.dev >
* Update docs/docs/concepts/low_level.md
Co-authored-by: Vadym Barda <vadym@langchain.dev >
* final nits
* spelling
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com >
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-08-29 15:03:08 +00:00
gbaian10 and GitHub
cd28799215
fix: ToolNode output isn't a str and contains non-ASCII characters ( #1505 )
2024-08-29 09:57:23 -04:00
Harrison Chase and GitHub
883b39ba9f
docs: better name for react agent w/ structured output how-to ( #1527 )
2024-08-29 13:50:01 +00:00
Niklas Martin and GitHub
337ccc058f
[docs]: fix type hint for state ( #1528 )
2024-08-29 13:47:05 +00:00
Isaac Francisco and GitHub
6111d37b99
[docs]: different structured output method ( #1497 )
...
* wip
* spelling
* consistent headers
* slight changes
* spelling
* more comments
* link
* changes
* diagrams
* format
* final nits
* x
2024-08-28 20:45:23 -07:00
Isaac Francisco and GitHub
6962aa5acc
ocd ( #1525 )
2024-08-29 01:50:55 +00:00
Vadym Barda and GitHub
4769122828
docs: fix map-reduce issue ( #1523 )
2024-08-28 20:40:06 +00:00
Nuno Campos
c4010c03a6
Udpate async tests
2024-08-28 12:50:35 -07:00
Nuno Campos
03f6cf779d
Fix test setup
2024-08-28 12:48:29 -07:00
Nuno Campos
112700810c
Fix
2024-08-28 12:31:43 -07:00
Isaac Francisco and GitHub
2645eb5a48
[docs]: remove agent executor ( #1485 )
2024-08-28 14:54:52 -04:00
Isaac Francisco and GitHub
ab71d29286
[docs]: update node config info ( #1500 )
...
* config changes
* vadym comments
* format
* spelling
* x
2024-08-28 11:54:44 -07:00
Isaac Francisco and GitHub
da38905db7
[docs]: fix llm compiler ( #1517 )
2024-08-28 13:36:36 -04:00
Vadym Barda and GitHub
7d3527db38
cli: release 0.1.52 ( #1516 )
2024-08-28 12:12:46 -04:00
David Duong and GitHub
36ed1a5d4b
Merge pull request #1503 from langchain-ai/dqbd/cli-studio-js
...
feat(cli): add building support for JS
2024-08-28 18:08:32 +02:00
Vadym Barda and GitHub
7637a769dd
docs: update reflection notebook ( #1515 )
...
* docs: update reflection notebook
* update more
* update more
2024-08-28 12:07:29 -04:00
Tat Dat Duong
3bbe09dac4
Fix missing comma
2024-08-28 17:56:26 +02:00
Pratyush Verma and GitHub
8e6019a6b8
Merge branch 'main' into patch-1
2024-08-28 15:46:39 +01:00
Pratyush Verma and GitHub
666fb3f31d
Fix typo
2024-08-28 15:45:02 +01:00
Vadym Barda and GitHub
947f8c8c1d
docs: fix astream in reflection notebook ( #1512 )
2024-08-28 14:32:09 +00:00
Isaac Francisco and GitHub
84cb3ea151
[docs]: recursion limit info ( #1501 )
...
* draft
* vadym comments
* spelling
* final nits
* final nits
2024-08-27 21:06:09 -07:00
Tat Dat Duong
f4dea9c5f7
feat(cli): add building support for JS
2024-08-28 02:07:21 +02:00
Nuno Campos
a8a2a89602
Fix docstring
2024-08-27 16:59:20 -07:00
Nuno Campos
e338a4ec98
Fix filtering on ns
2024-08-27 16:09:11 -07:00
Nuno Campos
499fe10ef2
Undo addition of Send.id
2024-08-27 13:34:50 -07:00
Isaac Francisco and GitHub
a8758661bc
acesss tool calls directly ( #1495 )
2024-08-27 14:47:20 -04:00
Nuno Campos and GitHub
8912d50312
Merge pull request #1498 from langchain-ai/nc/27aug/store-sends-once
...
Avoid storing Sends twice in memory and postgres checkpointers
2024-08-27 11:24:27 -07:00
Nuno Campos
8d23929288
Remove print
2024-08-27 11:18:53 -07:00
Nuno Campos
9b6100bc4f
Avoid storing Sends twice in memory and postgres checkpointers
...
- Sends are stored through put_writes, so we don't need to also store them inside checkpoint object
- On reading checkpoint, reconstruct pending_sends from the stored writes
2024-08-27 11:10:18 -07:00
Nuno Campos and GitHub
238b562e78
Merge pull request #1496 from langchain-ai/nc/27aug/update-ruff
...
Update ruff
2024-08-27 11:06:43 -07:00
Nuno Campos
7fcc0da4e3
Reformat
2024-08-27 11:00:25 -07:00
Nuno Campos
d7eff6ab85
Remove abc
2024-08-27 10:52:26 -07:00
Nuno Campos
330c91f622
Update ruff
2024-08-27 10:50:39 -07:00
3dbf6f144e
[docs]: structured output from tool calling agent ( #1480 )
...
* first draft
* vadym comments
* Update docs/mkdocs.yml
Co-authored-by: Vadym Barda <vadym@langchain.dev >
* vadym comments
* spellign
* more comments
* spelling
* final nits
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-08-27 10:26:28 -07:00
Nuno Campos
8c2fefcb28
sdk-py: Add values to Thread schema
2024-08-27 08:42:55 -07:00
Vadym Barda and GitHub
c88d289a73
checkpoint-postgres: release 1.0.4 ( #1493 )
2024-08-27 11:34:26 -04:00
Vadym Barda and GitHub
d12f5c6d8b
checkpoint-postgres: allow passing pool ( #1452 )
...
* checkpoint-postgres: allow passing pool
* make psycopg_pool a non-dev dependency
* code review
* lockfile
* move methods
* relax requirements, remove binary
* add binary to dev dependencies
* update readme
2024-08-27 15:30:13 +00:00
9ff54e029e
[docs]: conceptual guide for astream_events ( #1482 )
...
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-08-27 15:18:51 +00:00
Nuno Campos and GitHub
2a89c7a5b4
Merge pull request #1492 from langchain-ai/nc/27aug/all-value-channels-same-checkpoint-get
...
lib: For all value channels the return value of checkpoint() and get() are the same
2024-08-27 08:15:45 -07:00
Nuno Campos
f2ec99b9a8
lib: For all value channels the return value of checkpoint() and get() are the same
2024-08-27 08:10:26 -07:00
Vadym Barda and GitHub
eb387cc946
docs: update cloud time travel docs to pass checkpoint_id correctly ( #1483 )
2024-08-27 13:26:22 +00:00
Vadym Barda and GitHub
54b53f384d
sdk-js: release 0.0.8 ( #1490 )
2024-08-27 09:11:57 -04:00
isaac hershenson
86c047eb31
changes
2024-08-26 18:05:17 -07:00
Nuno Campos and GitHub
65784d8174
Merge pull request #1108 from langchain-ai/vb/update-get-state
...
langgraph: update get_state to handle nested subgraph state
2024-08-26 17:58:41 -07:00
vbarda
507930e5b7
lint
2024-08-26 19:29:05 -04:00
vbarda
85e698e20b
filter on checkpoint NS
2024-08-26 19:26:35 -04:00
vbarda
bf4dc5d5f6
Merge branch 'main' into vb/update-get-state
2024-08-26 19:17:26 -04:00
Nuno Campos and GitHub
ce0fad8ddb
Merge pull request #1484 from langchain-ai/vb/add-checkpoint-id-js-sdk
...
sdk-js: add checkpoint_id arg to runs create/stream/wait payload
2024-08-26 15:36:03 -07:00
Nuno Campos
1315c0d743
sdk-py0.1.29
2024-08-26 15:27:53 -07:00
vbarda
ada751d19b
better comment
2024-08-26 18:25:43 -04:00
vbarda
f310716921
sdk-js: add checkpoint_id arg to runs create/stream/wait payload
2024-08-26 17:16:06 -04:00
Nuno Campos and GitHub
568044171b
Merge pull request #1479 from langchain-ai/nc/26aug/with-config
...
Override with_config to store config in Pregel instance
2024-08-26 13:22:30 -07:00
Nuno Campos
1d0f3577a7
Catch any type error when reviving saved values
2024-08-26 13:17:19 -07:00
Nuno Campos
3979bdb792
Type as self
2024-08-26 13:14:11 -07:00
Nuno Campos and GitHub
d8d663ccd5
Merge pull request #1371 from langchain-ai/wfh/set_entry
...
Use START
2024-08-26 12:01:51 -07:00
Nuno Campos
25a72e77ef
Override with_config to store config in Pregel instance
...
- This enables eg customizing callbacks/metadata in langgraph cloud deployments
2024-08-26 11:57:57 -07:00
Alexander Kovrigin and GitHub
da806c466d
Allow passing ToolNode as tools in create_react_agent ( #1451 )
2024-08-26 13:47:50 -04:00
Vadym Barda and GitHub
49c316578b
langgraph: allow END end key in add_edge with list inputs ( #1478 )
2024-08-26 12:51:18 -04:00
Nuno Campos and GitHub
7039a54871
Merge pull request #1477 from langchain-ai/nc/26aug/update-docs-constraints
...
docs: Update langgraph-api/cloud version constraints
2024-08-26 08:34:55 -07:00
Nuno Campos and GitHub
ef17e0351a
Merge pull request #1457 from langchain-ai/dependabot/npm_and_yarn/libs/sdk-js/micromatch-4.0.8
...
Bump micromatch from 4.0.7 to 4.0.8 in /libs/sdk-js
2024-08-26 08:25:46 -07:00
Nuno Campos
0d9c0732d4
docs: Update langgraph-api/cloud version constraints
2024-08-26 08:25:24 -07:00
William FH and GitHub
a2cfe694f1
Fix import ( #1472 )
2024-08-25 20:47:05 -07:00
Nuno Campos and GitHub
858c166cae
Merge pull request #1463 from langchain-ai/nc/24aug/sdk-on-completion
...
sdk: Add on_completion param
2024-08-24 21:38:11 -07:00
Nuno Campos
03785c7d83
sdk: Add on_completion param
2024-08-24 21:34:35 -07:00
David Duong and GitHub
93cb2a7730
Merge pull request #1460 from langchain-ai/dqbd/js-api-key
...
feat(sdk-js): add apiKey property
2024-08-24 19:29:57 +02:00
Tat Dat Duong
4b48e71d2c
Bump to 0.0.7
2024-08-24 19:24:39 +02:00
Tat Dat Duong
b7744aff9b
feat(sdk-js): add apiKey property
2024-08-24 19:24:13 +02:00
Nuno Campos
4a4dd16535
checkpoint 1.0.6
2024-08-23 18:25:56 -07:00
Nuno Campos
ef790a57c6
Lint
2024-08-23 18:17:51 -07:00
Nuno Campos
c49692d794
checkpoint 1.0.5
2024-08-23 18:15:48 -07:00
Nuno Campos
3cda14b069
lib 0.2.14
2024-08-23 18:15:31 -07:00
Nuno Campos
66a13b8865
Add test for runtime value replacement with pydantic model
2024-08-23 18:15:15 -07:00
Nuno Campos
58e139e7fd
Lint
2024-08-23 18:15:04 -07:00
Nuno Campos
a8d860273b
Skip runtime value replacement when not needed
2024-08-23 18:14:59 -07:00
Nuno Campos
3ac4cdf3d4
Fix pydantic model deserialization
2024-08-23 18:14:40 -07:00
Nuno Campos
3a524e0e56
Fix attributeerror
2024-08-23 17:55:14 -07:00
Andrew Nguonly and GitHub
134f8faf8c
Add section about authentication to API reference. ( #1458 )
2024-08-23 17:14:16 -07:00
vbarda
904a1a3471
extra paranoia
2024-08-23 18:09:10 -04:00
vbarda
cb30f68642
remove more reused code
2024-08-23 18:01:35 -04:00
vbarda
15692acef9
refactor to remove nested DB calls
2024-08-23 17:56:28 -04:00
dependabot[bot] and GitHub
610257665f
Bump micromatch from 4.0.7 to 4.0.8 in /libs/sdk-js
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 20:36:31 +00:00
Nuno Campos
bc482431c3
lib0.2.13
2024-08-23 13:35:21 -07:00
155e0c66d5
docs: add how-to for dynamic interrupts ( #1446 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-08-23 20:34:33 +00:00
Nuno Campos and GitHub
ca63a06549
Merge pull request #1455 from langchain-ai/nc/23aug/some-magic-for-will
...
lib: Context values never stored in checkpoints
2024-08-23 13:17:50 -07:00
Nuno Campos
e8c553c41e
Lint
2024-08-23 13:12:46 -07:00
Nuno Campos
beafddf7c8
Lint
2024-08-23 13:09:28 -07:00
1e6da19257
Update libs/langgraph/langgraph/managed/context.py
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-08-23 13:08:56 -07:00
Nuno Campos
e0898409b9
Lint
2024-08-23 12:57:31 -07:00
Nuno Campos
bc86757e73
lib: Context values never stored in checkpoints
...
- Convert Context to a ManagedValue
- Add shim for old Context constructor
- Add `runtime` flag for managed values, which, prior to serialization, replaces the value with a placeholder, and replaces it back with the actual value on resuming from checkpoint
2024-08-23 12:46:31 -07:00
vbarda
71442916e5
lint
2024-08-23 14:52:31 -04:00
vbarda
1f29925034
add max recursion depth
2024-08-23 14:44:42 -04:00
Vadym Barda and GitHub
4c4d7054ab
Merge branch 'main' into vb/update-get-state
2024-08-23 14:27:40 -04:00
vbarda
1333d8b478
cleanup
2024-08-23 14:26:54 -04:00
vbarda
2bac0d0f41
re-trigger CI
2024-08-23 13:51:57 -04:00
David Duong and GitHub
ed7b2c9e8a
Merge pull request #1443 from langchain-ai:dqbd/js-sdk-end-event
...
fix(sdk-js): support sending end events
2024-08-23 16:48:02 +02:00
Nuno Campos and GitHub
0597aedaff
Merge pull request #1448 from langchain-ai/nc/22aug/serde-exceptions
...
Don't try to serialize exceptions
2024-08-22 21:41:06 -07:00
Nuno Campos
82db383199
Don't try to serialize exceptions
...
- Store their string repr instead
2024-08-22 21:36:27 -07:00
William FH and GitHub
dec7eb6f58
[Docs] Use injected RunnableConfig ( #1444 )
...
* Pass via type
* Format
2024-08-22 18:54:42 -07:00
vbarda
065055e587
small change
2024-08-22 20:37:48 -04:00
vbarda
4162be8119
optimize subgraph state lookups
2024-08-22 20:35:08 -04:00
Nuno Campos
6ece7124ed
Fix param name in docstring
2024-08-22 17:21:01 -07:00
Nuno Campos and GitHub
ffa9b8672a
Merge pull request #1445 from langchain-ai/nc/22aug/sdk-on-disconnect
...
sdk: Add on_disconnect arg to create/wait streaming run
2024-08-22 17:06:24 -07:00
Nuno Campos
19b382335f
sdk: Add on_disconnect arg to create/wait streaming run
2024-08-22 17:03:11 -07:00
Tat Dat Duong
c72acc9145
Add missing status
2024-08-23 01:38:53 +02:00
Nuno Campos and GitHub
c30aa1ca13
Merge pull request #1337 from langchain-ai/nc/13aug/sdk-py-join-stream
...
sdk-py: Add Runs.join_stream endpoint
2024-08-22 15:38:23 -07:00
Nuno Campos
15c3105748
cli0.1.51
2024-08-22 15:37:02 -07:00
Tat Dat Duong
0b7f451b40
Bump to 0.0.6
2024-08-23 00:18:28 +02:00
Tat Dat Duong
75dec9b924
fix(sdk-js): support sending end events
2024-08-23 00:18:06 +02:00
Vadym Barda and GitHub
8090ca67c5
checkpoint-postgres: pass row_factory in cursor ( #1433 )
2024-08-22 17:39:21 -04:00
vbarda
9f6e57d2a7
more code review
2024-08-22 17:37:46 -04:00
vbarda
72893d9abb
code review
2024-08-22 17:33:17 -04:00
Nuno Campos and GitHub
7074604204
Try to improve async stack traces for exceptions in tasks ( #1442 )
...
* Try to improve async stack traces for exceptions in tasks
* Lint
2024-08-22 21:23:48 +00:00
Nuno Campos and GitHub
0720b931e8
Merge pull request #1441 from langchain-ai/nc/22aug/test-checkpointers
...
Test all checkpointers everywhere we test 1 of them
2024-08-22 14:14:49 -07:00
vbarda
4935cf52bf
lint
2024-08-22 16:52:16 -04:00
Nuno Campos
45e3d1a3f1
Test all checkpointers everywhere we test 1 of them
2024-08-22 13:51:38 -07:00
vbarda
acd8acf237
lint
2024-08-22 16:47:12 -04:00
Nuno Campos
3ec419a2f6
lib0.2.12
2024-08-22 12:45:27 -07:00
Nuno Campos
8a00a0026e
checkpoint1.0.4
2024-08-22 12:45:20 -07:00
Nuno Campos and GitHub
7e32de9405
Remove current_tasks from checkpoint interface ( #1440 )
...
* Remove current_tasks from checkpoint interface
- Not used, now clear that it can be supported with put_writes(SCHEDULE)
* Add comment
2024-08-22 19:44:26 +00:00
Nuno Campos and GitHub
96af4c72ce
Merge pull request #1439 from langchain-ai/nc/22aug/rm-unused-when-values
...
Remove unused when values for Interrupt
2024-08-22 12:38:28 -07:00
vbarda
6c7d9c35bc
remove interrupts
2024-08-22 15:37:20 -04:00
vbarda
5654d8fc86
Merge branch 'main' into vb/update-get-state
2024-08-22 15:34:14 -04:00
Nuno Campos
f93512e3b3
Remove unused when values for Interrupt
2024-08-22 12:33:25 -07:00
Nuno Campos and GitHub
a261e1a497
Fix semantics of put_writes/list ( #1436 )
...
* Fix semantics of put_writes/list
- put_writes(error) should not prevent saving future successful if task is retried successfully
- put_writes(writes) should be a no-op if non-error writes already exist for that task (this prevents tasks executed more than once from modifying writes previously saved / acted on)
- checkpoints should not include channel default values (ie those without a version)
- list() should fetch and return writes for each checkpoint
* Lint
* Rm print
* Fix import
* Lint
2024-08-22 19:04:42 +00:00
38daba5259
Better error messages for invalid update in all channel types ( #1437 )
...
* langgraph: support multiple edges for Topic channel annotations
* remove support_multiple_edges
* Better error messages for invalid update in all channel types
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-08-22 18:59:29 +00:00
Vadym Barda and GitHub
078f9f7275
docs: fix manage conversation history how-to ( #1438 )
2024-08-22 14:56:34 -04:00
gbaian10 and GitHub
22f5367af7
langgraph: fix add_node input schema error ( #1332 )
2024-08-22 12:32:21 -04:00
Hassan Memon and GitHub
4e2b508ebb
docs: remove extra line from generate function ( #1392 )
2024-08-22 12:27:23 -04:00
Vadym Barda and GitHub
7ec3c0e827
langgraph: release 0.2.11 ( #1432 )
2024-08-22 11:54:47 -04:00
Nuno Campos and GitHub
82408bacf1
Merge pull request #1431 from langchain-ai/vb/fix-get-state-bug
...
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 08:52:00 -07:00
vbarda
9a306ce931
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 11:47:36 -04:00
Harrison Chase and GitHub
a9a59dd4e4
fix notebook ( #1422 )
2024-08-22 09:29:23 -04:00
Nuno Campos
a545a70afb
lib0.2.10
2024-08-21 16:33:30 -07:00
Nuno Campos and GitHub
4521f9312d
Merge pull request #1420 from langchain-ai/nc/21aug/debug-mode-interrupts-errors
...
Add interrupts and errors to debug stream mode
2024-08-21 16:31:58 -07:00
Nuno Campos
d67419522d
Remove error
2024-08-21 16:27:23 -07:00
Nuno Campos
d85e267a83
Add interrupts and errors to debug stream mode
...
- move remaining output code from Pregel.stream to PregelLoop
2024-08-21 16:23:48 -07:00
Vadym Barda and GitHub
426125cf96
Merge branch 'main' into vb/update-get-state
2024-08-21 19:20:20 -04:00
Nuno Campos and GitHub
4827377191
Merge pull request #1419 from langchain-ai/nc/21aug/cli-redis
...
cli: Add redis container to `langgraph up`
2024-08-21 16:19:09 -07:00
vbarda
0b6088f913
remove futures.clear
2024-08-21 18:26:54 -04:00
vbarda
578ec48031
Merge branch 'main' into vb/update-get-state
2024-08-21 18:21:28 -04:00
vbarda
e7bc74e918
remove refactors
2024-08-21 18:06:18 -04:00
vbarda
0a87b9fa1c
update more tests
2024-08-21 17:49:51 -04:00
Nuno Campos
37848a5361
cli: Add redis container to langgraph up
2024-08-21 14:37:36 -07:00
Nuno Campos
9147d05cc4
lib0.2.9
2024-08-21 14:32:15 -07:00
Nuno Campos and GitHub
46171dd759
Merge pull request #1418 from langchain-ai/nc/21aug/fix-pending-interrupt-run
...
Fix pending run when interrupt exception is used
2024-08-21 14:29:59 -07:00
Nuno Campos
47ed3d97e9
Fix pending run when interrupt exception is used
2024-08-21 14:25:00 -07:00
Nuno Campos and GitHub
06c2481783
Merge pull request #1415 from langchain-ai/nc/21aug/loop-rm-pregel-arg
...
Remove graph arg to PregelLoop
2024-08-21 14:24:40 -07:00
Vadym Barda and GitHub
1907646bd4
sdk-py: release 0.1.28 ( #1417 )
2024-08-21 17:10:18 -04:00
Vadym Barda and GitHub
3a65f83ae1
sdk-py: allow passing custom headers ( #1416 )
2024-08-21 21:05:03 +00:00
Nuno Campos and GitHub
57811a6bfd
Merge pull request #1414 from langchain-ai/nc/21aug/combine-managers
...
Combine channel and managed values manager
2024-08-21 13:49:15 -07:00
Nuno Campos
02697b5712
Remove graph arg to PregelLoop
2024-08-21 13:45:42 -07:00
Nuno Campos
e76f4cc434
Combine channel and managed values manager
2024-08-21 13:30:18 -07:00
vbarda
f51e7ea9a4
pass pending writes in checkpointers
2024-08-21 15:38:30 -04:00
Nuno Campos
14ec51601c
lib0.2.8
2024-08-21 12:09:11 -07:00
Nuno Campos and GitHub
14976d4c56
Interrupts shouldn't be retried ( #1413 )
...
* Interrupts shouldn't be retried
* Add async test
* Lint
2024-08-21 12:08:58 -07:00
vbarda
a94168af7f
Merge branch 'main' into vb/update-get-state
2024-08-21 15:07:52 -04:00
Nuno Campos
2f41b2891b
lib0.2.7
2024-08-21 11:33:54 -07:00
Nuno Campos and GitHub
c857a77dd1
Merge pull request #1352 from langchain-ai/nc/14aug/scoped-value
...
Add SharedValue
2024-08-21 11:33:18 -07:00
Nuno Campos
5fb2c2c6f8
Lint
2024-08-21 11:27:04 -07:00
Nuno Campos
4250ff92b8
Fix
2024-08-21 11:25:37 -07:00
Nuno Campos
7fd4a9ed30
Lint
2024-08-21 10:48:52 -07:00
Nuno Campos
2106b5e4a6
Lint
2024-08-21 10:48:04 -07:00
Nuno Campos
1af0367b34
Add error message
2024-08-21 09:41:53 -07:00
Nuno Campos
f037a2e9cb
Update docstring
2024-08-21 09:39:58 -07:00
Nuno Campos
aa1a6be160
Rename more
2024-08-21 09:36:21 -07:00
Nuno Campos
c9e6ee6da7
Rename
2024-08-21 09:34:12 -07:00
Nuno Campos
bd7b9cca21
WIP
2024-08-21 09:30:47 -07:00
Nuno Campos
b228fc1a9b
Add serde
2024-08-21 09:30:34 -07:00
Nuno Campos
c3794f1fd3
Use batched async kv inside loop
2024-08-21 09:30:22 -07:00
Nuno Campos
4e1db854f6
Add async test
2024-08-21 09:30:22 -07:00
Nuno Campos
630d9c79ed
Split out async batch to sep file
2024-08-21 09:30:22 -07:00
Nuno Campos
8f8f3849fc
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
656f89e16a
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
9b90a24d94
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
77d7deb033
Rename
2024-08-21 09:30:22 -07:00
Nuno Campos
7ca37afc74
Fix
2024-08-21 09:30:21 -07:00
Nuno Campos
2bc0e2df42
Fix
2024-08-21 09:30:21 -07:00
Nuno Campos
1dc09dc45f
Remove warning on write to managed channel
2024-08-21 09:30:21 -07:00
Nuno Campos
1cc02825ea
Add ScopedValue
...
- state shared between threads
2024-08-21 09:30:21 -07:00
Nuno Campos
d1b7a787ee
lib0.2.6
2024-08-21 09:22:27 -07:00
Nuno Campos and GitHub
f8b053a286
Enable raising Interrupt from inside a node, add list of current interrupts to get_state ( #1354 )
...
* Enable raising Interrupt from inside a node, add list of current interrupts to get_state
* Lint
* Allow multiple interrupt values in exception
* Better typings
* Fix some tests
* Fix up
* Lint
* Add test
* Lint
* WIP stay=True
* Fix tests for get_state
* Remove ids
* Fix step count
* 999
* less fun
* Undo
* Update debug interface
* Remove ability to pass multiple values
* Undo
2024-08-21 16:19:15 +00:00
David Duong and GitHub
ebf060675d
feat(js-sdk): add config and parent_config to thread state schema ( #1411 )
...
* feat(js-sdk): add config and parent_config to thread state schema
* Bump to 0.0.5
2024-08-21 17:00:10 +02:00
Nuno Campos
3d33b575d6
0.2.5
2024-08-20 16:59:04 -07:00
vbarda
a161a9ca97
more explicit naming
2024-08-20 15:44:16 -04:00
vbarda
422ed92aef
sdk-py: add sync client
2024-08-20 15:42:43 -04:00
Vadym Barda and GitHub
314488b5c5
ci: run full test suite on all changes ( #1397 )
2024-08-20 08:47:12 -04:00
Nuno Campos and GitHub
6e4dc26890
Merge pull request #1396 from langchain-ai/nc/19aug/fix-args
...
postgres: Fix args to put_writes
2024-08-19 15:57:44 -07:00
Nuno Campos
9cfb4b01c8
postgres: Fix args to put_writes
2024-08-19 15:54:49 -07:00
Nuno Campos and GitHub
e7d2621a05
Merge pull request #1395 from langchain-ai/nc/19aug/put-writes-idempotent
...
checkpoint-*: In put_writes clear any previously saved writes for this task_id
2024-08-19 15:48:40 -07:00
Nuno Campos
c0c534cbe3
Add pipeline arg
2024-08-19 15:44:22 -07:00
Nuno Campos
7aaeedd7ba
checkpoint-*: In put_writes clear any previously saved writes for this task_id
...
- Previously implementations were clearing only tasks if the index matched a previously saved one, which isn't enough to guarantee idempotency
2024-08-19 15:40:04 -07:00
Nuno Campos and GitHub
e15d56c2f2
Merge pull request #1390 from langchain-ai/nc/19aug/add-xray-test
...
Add xray test for issue #593
2024-08-19 12:09:51 -07:00
Nuno Campos
8a7c6b4fa7
Add xray test
2024-08-19 12:05:36 -07:00
Nuno Campos and GitHub
2e073473dc
Merge pull request #1389 from langchain-ai/nc/19aug/fix-ready-signal
...
cli: Fix ready signal
2024-08-19 08:26:14 -07:00
Nuno Campos
31dcd15927
cli: Fix ready signal
2024-08-19 07:52:00 -07:00
William Fu-Hinthorn
1bd40b2ebf
Do markdown
2024-08-16 15:45:56 -07:00
William Fu-Hinthorn
b5429b6342
Use START
2024-08-16 15:43:24 -07:00
Nuno Campos and GitHub
fc95028738
Merge pull request #1370 from langchain-ai/nc/16aug/checkpoint-errors
...
Checkpoint errors in pending_writes, expose under StateSnapshot.tasks
2024-08-16 13:15:40 -07:00
Nuno Campos
e916cab08f
Checkpoint errors in pending_writes, expose under StateSnapshot.tasks
...
- Save errors produced by tasks, under pending_writes
- Re-work logic to cancel other tasks when one fails, ready to change for interrupt exception
- Update serializer to handle exceptions
- Update get_state/get_state_history with new return value property "tasks" which contains a richer description of the next tasks, currently with id, name and error (if already ran and errored)
2024-08-16 13:11:27 -07:00
Vadym Barda and GitHub
e4f1f90127
update pyproject in monorepo to reflect consistent min python version ( #1369 )
2024-08-16 15:41:56 +00:00
Nuno Campos
a16a33806c
lib0.2.4
2024-08-15 15:37:51 -07:00
Nuno Campos and GitHub
007f419bdc
Merge pull request #1363 from Glavin001/patch-1
...
Include exception traceback in run_with_retry logging
2024-08-15 15:37:01 -07:00
Isaac Francisco and GitHub
5bee9e92b5
[docs]: add studio desktop callout ( #1361 )
2024-08-15 22:35:04 +00:00
Nuno Campos
6a68581a9f
Lint
2024-08-15 15:32:48 -07:00
Nuno Campos
78781b0a90
Use exc_info
2024-08-15 15:23:54 -07:00
Glavin Wiechert and GitHub
d15c5a46de
Include exception traceback in run_with_retry logging
2024-08-15 18:29:05 -03:00
Isaac Francisco and GitHub
ce37fd3a04
[docs]: studio faqs ( #1207 )
...
* draft
* spelling
* rephrases
* vadym comments
2024-08-15 11:56:00 -07:00
Isaac Francisco and GitHub
64636ee978
[docs]: add auth and small changes ( #1356 )
...
* wip
* m
* nit
2024-08-15 18:25:53 +00:00
Isaac Francisco and GitHub
388a9643a5
[docs]: copying threads ( #1350 )
...
* wip
* wip
* wip
* vadym comments
2024-08-15 11:19:18 -07:00
Nuno Campos and GitHub
c9f4b5aede
Merge pull request #1360 from langchain-ai/nc/14auug/debug-checkpoint-full
...
Add missing attributes to checkpoint event in debug output
2024-08-15 10:26:27 -07:00
Nuno Campos and GitHub
855139d869
Merge pull request #1299 from langchain-ai/dependabot/pip/libs/langgraph/aiohttp-3.10.2
...
build(deps-dev): bump aiohttp from 3.9.5 to 3.10.2 in /libs/langgraph
2024-08-15 10:20:16 -07:00
Nuno Campos
d07cbd34ce
checkpoint1.0.3
2024-08-15 10:19:50 -07:00
Nuno Campos
c701fef634
Lint
2024-08-15 09:40:53 -07:00
Nuno Campos
2c8fc3c9c6
Add missing attributes to checkpoint event in debug output
2024-08-15 09:30:29 -07:00
vbarda
45054df71a
remove include_subgraph_state kwarg
2024-08-14 21:07:56 -04:00
Isaac Francisco and GitHub
8ad797e261
fix ( #1353 )
2024-08-14 17:16:00 -07:00
Nuno Campos and GitHub
2dbfc8aca3
Merge pull request #1344 from langchain-ai/nc/14aug/ignore-serialized-values-missing-constructor
...
checkpoint: Ignore serialized values when constructor no longer available
2024-08-14 14:43:57 -07:00
vbarda
7fa97898aa
correctly propagate all subgraph attributes
2024-08-14 16:15:08 -04:00
Isaac Francisco and GitHub
3b2d5f02e1
[docs]: cloud how to for checking thread status ( #1346 )
...
* draft
* nit
* harrison comments
* spelling
2024-08-14 11:56:43 -07:00
Isaac Francisco and GitHub
34fd833b04
[docs]: purge message graph ( #1330 )
...
* purge message graph
* docstrings
* use with dicts
2024-08-14 11:16:38 -07:00
vbarda
6531ec7669
remove inherit checkpointer
2024-08-14 14:14:06 -04:00
Nuno Campos
728b283063
checkpoint: Ignore serialized values when constructor no longer available
2024-08-14 10:59:14 -07:00
Isaac Francisco and GitHub
a3dd43b39b
x ( #1343 )
2024-08-14 16:32:49 +00:00
Isaac Francisco and GitHub
41a6eb7cf4
[docs]: add CURL commands to some how-tos ( #1325 )
2024-08-14 12:31:24 -04:00
vbarda
409b915a3f
code review
2024-08-14 12:10:07 -04:00
Isaac Francisco and GitHub
c04133b1df
[docs]: cloud hil review tool calls ( #1334 )
...
* hil review tool calls
* interrupt note
2024-08-14 08:03:15 -07:00
Hassan Memon and GitHub
d1450a463e
Improved description for chatbot node function ( #1339 )
...
Updated the documentation to describe the chatbot node function's return value in a more Pythonic and enthusiastic way. The description now emphasizes that the function returns a dictionary with the updated messages list neatly tucked under the messages key.
2024-08-14 14:12:37 +00:00
Hassan Memon and GitHub
8daeb56194
Fix typo in documentation: corrected 'they agent's' to 'their agent's' ( #1338 )
2024-08-14 10:08:26 -04:00
Nuno Campos
3b56cdf524
Add Runs.join_stream endpoint
2024-08-13 17:35:31 -07:00
vbarda
d9618880a3
update logic for latest snapshot's subgraph snapshots
2024-08-13 20:13:13 -04:00
Nuno Campos and GitHub
aa1b94166c
Merge pull request #1329 from langchain-ai/nc/13aug/config-checkpoint-passthrough
...
Passthrough checkpoint in config even when current sub-graph didn't choose to use it
2024-08-13 16:49:12 -07:00
Isaac Francisco and GitHub
307ae4cf66
link fixes ( #1336 )
2024-08-13 23:11:01 +00:00
Vadym Barda and GitHub
392891f5fc
Merge branch 'main' into vb/update-get-state
2024-08-13 18:20:32 -04:00
vbarda
58887a5a3b
checkpoints/interrupts for subgraphs triggered by sends
2024-08-13 18:15:57 -04:00
gbaian10 and GitHub
0a25e865b9
docs: fix persistence_postgres.ipynb ( #1328 )
...
* docs: fix DB_URI port
* docs: remove unuse import
2024-08-13 16:06:13 -04:00
Nuno Campos
a01c1c2bfa
Passthrough checkpoint in config even when current sub-graph didn't choose to use it
2024-08-13 10:27:48 -07:00
vbarda
3295274711
fix empty snapshot
2024-08-13 10:23:53 -04:00
vbarda
0135c6f743
correct check for using parent checkpointer
2024-08-13 10:07:52 -04:00
Nuno Campos and GitHub
e2a72bf511
Merge pull request #1311 from langchain-ai/nc/11aug/serde-more
...
checkpoint: Add support for serializing more python types
2024-08-12 17:54:07 -07:00
Vadym Barda and GitHub
519b3b9ce1
docs: add async python<=3.10 warning to streaming concepts ( #1324 )
...
* docs: add async python<=3.10 warning to streaming concepts
2024-08-13 00:48:20 +00:00
Vadym Barda and GitHub
0456f52195
Merge branch 'main' into vb/update-get-state
2024-08-12 20:30:56 -04:00
vbarda
b5caf1ad3f
Merge branch 'vb/update-get-state' of github.com:langchain-ai/langgraph into vb/update-get-state
2024-08-12 20:29:15 -04:00
vbarda
f65d9b2b7d
pass subgraph nodes/channels
2024-08-12 20:29:09 -04:00
Lenni Justen and GitHub
408676913c
Remove extra bullet from index.md ( #1149 )
2024-08-12 17:21:32 -04:00
Vadym Barda and GitHub
21c842baf6
docs: update streaming example ( #1321 )
...
* docs: update streaming example
2024-08-12 21:11:07 +00:00
Vadym Barda and GitHub
a03886b9e4
Merge branch 'main' into vb/update-get-state
2024-08-12 16:53:18 -04:00
Lance Martin and GitHub
f7bda4c940
Minor clarifications on Memory in docs ( #1301 )
...
* Minor clarifications on Memory in docs
* Address comments
2024-08-12 13:42:57 -07:00
vbarda
abe9b7c08e
lint
2024-08-12 16:32:22 -04:00
vbarda
6d4cdc9456
opt-in
2024-08-12 16:29:15 -04:00
vbarda
5033044587
update checkpointer tests
2024-08-12 16:22:27 -04:00
vbarda
246dd0f8c0
Merge branch 'vb/update-get-state' of github.com:langchain-ai/langgraph into vb/update-get-state
2024-08-12 15:52:33 -04:00
vbarda
fb05bdc2bf
return all checkpoints from .list
2024-08-12 15:52:17 -04:00
vbarda
9948125745
add checkpointer=INHERIT_CHECKPOINTER
2024-08-12 14:27:50 -04:00
gbaian10 and GitHub
b8233ded23
docs: fix filter_messages error in manage-conversation-history.ipynb ( #1315 )
...
fix : #1314
2024-08-12 14:16:59 -04:00
Vadym Barda and GitHub
6a22b7c26f
docs: update async connection pool example in postgres how-to ( #1318 )
2024-08-12 13:24:59 -04:00
vbarda
322cfc46d3
cleanup
2024-08-12 12:43:28 -04:00
vbarda
c9d6a41d75
Merge branch 'main' into vb/update-get-state
2024-08-12 10:26:56 -04:00
Nuno Campos
a64c0a2679
Add pathlib.Path and re.Pattern
2024-08-11 19:40:11 -07:00
Nuno Campos
fdc5aece52
Add Decimal
2024-08-11 19:34:22 -07:00
Nuno Campos
685db62029
checkpoint: Add support for serializing more python types
...
- all ip interfaces
- deque,
- ZoneInfo
- date
- time
2024-08-11 19:27:29 -07:00
Nuno Campos and GitHub
4e643baaa6
Merge pull request #1309 from langchain-ai/nc/11aug/skip-context-get-state
...
Skip initializing Context channels when calling get_state/get_state_history
2024-08-11 10:56:54 -07:00
Nuno Campos
9634468260
Skip initializing Context channels when calling get_state/get_state_history
2024-08-11 10:47:19 -07:00
Isaac Francisco and GitHub
00c1b6a2b0
callouts ( #1269 )
2024-08-09 16:43:03 -07:00
dependabot[bot] and GitHub
b45273d112
build(deps-dev): bump aiohttp from 3.9.5 to 3.10.2 in /libs/langgraph
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.9.5 to 3.10.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-09 18:26:13 +00:00
350adae672
hil concepts ( #1298 )
...
* hil concepts
* spelling
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
2024-08-09 10:59:04 -07:00
Isaac Francisco and GitHub
bdb3832985
[docs]: changing setup docs ( #1285 )
...
* wip
* draft
2024-08-09 10:07:39 -07:00
Vadym Barda and GitHub
1fc8718352
docs: update how-to for mongodb ( #1297 )
...
* docs: update how-to for mongodb
2024-08-09 16:34:11 +00:00
Vadym Barda and GitHub
d98eec6e91
checkpoint-postgres: vbump & add a note to readme ( #1295 )
2024-08-09 09:42:53 -04:00
Vadym Barda and GitHub
659586947d
checkpoint-postgres: fix setup for AsyncPostgresSaver ( #1294 )
2024-08-09 13:39:30 +00:00
Vadym Barda and GitHub
c303ef2a2b
docs: update redis how-to ( #1286 )
2024-08-09 02:06:28 +00:00
ff92beb88a
review tool calls ( #1283 )
...
* review tool calls
* spelling
* link
* link
---------
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
2024-08-08 18:02:02 -07:00
isaac hershenson
eee91d2129
wip
2024-08-08 15:29:40 -07:00
Jacob Lee and GitHub
dce73fde66
Clarify send API docstring ( #1280 )
2024-08-08 12:59:23 -07:00
Vadym Barda and GitHub
da6462e608
langgraph: release 0.2.3 ( #1279 )
2024-08-08 12:43:24 -04:00
Vadym Barda and GitHub
49bf8f6816
checkpoint-postgres: release 1.0.2 ( #1278 )
2024-08-08 12:42:06 -04:00
Vadym Barda and GitHub
71ce07d971
checkpoint: update docstrings for checkpoint libraries ( #1277 )
2024-08-08 16:26:16 +00:00
Vadym Barda and GitHub
a16f86b5bd
docs: update postgres persistence example ( #1276 )
2024-08-08 12:01:19 -04:00
Vadym Barda and GitHub
4dc27b98f1
langgraph, checkpoint-postgres: propagate new versions in update_state ( #1270 )
...
* langgraph, checkpoint-postgres: propagate new versions in update_state
2024-08-08 11:55:55 -04:00
Isaac Francisco and GitHub
be8476d981
added context ( #1242 )
2024-08-08 11:24:52 -04:00
Vadym Barda and GitHub
cd92f19858
docs (examples): replace SqliteSaver with MemorySaver ( #1271 )
2024-08-08 10:30:43 -04:00
a2f4d57bf2
langgraph: more checkpointer tests ( #1263 )
...
* langgraph: more checkpointer tests
* more tests
* lint
* update tests
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-08 00:45:46 +00:00
Nuno Campos and GitHub
f9fa35ed82
Merge pull request #1267 from langchain-ai/vb/update-empty-channels
...
checkpoint-postgres: set unset channel values to empty in blobs
2024-08-07 17:40:58 -07:00
Vadym Barda and GitHub
3b87a81c70
Merge branch 'main' into vb/update-empty-channels
2024-08-07 20:18:10 -04:00
Nuno Campos and GitHub
002b260e7a
Various small changes ( #1268 )
2024-08-07 20:17:47 -04:00
vbarda
659c9881cf
cleanup
2024-08-07 19:54:45 -04:00
vbarda
b535d38393
test
2024-08-07 19:53:41 -04:00
vbarda
d33807b5ea
checkpoint-postgres: remove unset channel values from blobs
2024-08-07 17:31:07 -04:00
Nuno Campos
9650f0d41d
postgres1.0.1
2024-08-07 12:15:40 -07:00
Nuno Campos
127b6dedee
lib0.2.2
2024-08-07 12:14:34 -07:00
Nuno Campos and GitHub
db5a6c569a
Merge pull request #1265 from langchain-ai/nc/7aug/stream-nodes-wout-writes
...
Include in stream output all nodes ran, even if they returned no writes to state keys
2024-08-07 12:11:58 -07:00
Nuno Campos and GitHub
b47ab6c30a
Merge pull request #1264 from langchain-ai/nc/7aug/fix-tests
...
fix test setup for checkpointers
2024-08-07 12:08:22 -07:00
Nuno Campos
281c97b9e5
Include in stream output all nodes ran, even if they returned no writes to state keys
...
- This also includes these nodes in checkpoint.metadata.writes
2024-08-07 12:05:45 -07:00
Nuno Campos
cb21a3547e
Skip async postgres tests in 3.9
2024-08-07 12:04:11 -07:00
Nuno Campos
6028eb02c9
Lint
2024-08-07 11:49:46 -07:00
Nuno Campos
712d52ad3b
fix test setup for checkpointers
2024-08-07 11:39:14 -07:00
Nuno Campos and GitHub
6078c408c3
Raise exception for reducers w wrong signature ( #1261 )
2024-08-07 17:48:07 +00:00
Nuno Campos and GitHub
9caeeaeeec
Merge pull request #1258 from langchain-ai/nc/7aug/postgres-dont-sync-too-much
...
postgres: Avoid syncing pipeline unless actually needed
2024-08-07 09:43:52 -07:00
Nuno Campos
2bd9eb4298
postgres: Avoid syncing pipeline unless actually needed
2024-08-07 09:40:18 -07:00
Nuno Campos and GitHub
4c2542aac6
Merge pull request #1257 from langchain-ai/nc/7aug/postgres-migrations
...
postgres: Add migration tracking
2024-08-07 09:33:10 -07:00
vbarda
54da68cfe7
remove flag
2024-08-07 12:25:34 -04:00
vbarda
51b62ca0bd
remove setup
2024-08-07 12:23:00 -04:00
Vadym Barda and GitHub
ca4b65e1a6
checkpoint-postgres: use correct metadata serialization ( #1255 )
2024-08-07 12:13:44 -04:00
Nuno Campos
1e237bf33a
postgres: Add migration tracking
2024-08-07 08:54:08 -07:00
Vadym Barda and GitHub
fb8390e138
langgraph: release 0.2.1 ( #1250 )
2024-08-07 09:55:50 -04:00
Vadym Barda and GitHub
5cab47f751
checkpoint: move memory into a directory to fix namespace import issues ( #1249 )
2024-08-07 09:41:06 -04:00
Vadym Barda and GitHub
172b4af6ed
langgraph: release 0.2.0 ( #1246 )
2024-08-06 23:25:18 -04:00
Vadym Barda and GitHub
186dfd3976
checkpoint-postgres: release 1.0.0 ( #1245 )
2024-08-06 22:53:29 -04:00
Vadym Barda and GitHub
d9adebed84
checkpoint-sqlite: release 1.0.0 ( #1244 )
2024-08-06 22:43:35 -04:00
Vadym Barda and GitHub
2b860f04ce
checkpoint: release 1.0.1 ( #1243 )
2024-08-06 22:38:13 -04:00
b37f78942d
checkpoint-postgres: new library for postgres checkpointer implementation ( #1236 )
...
* checkpoint-postgres: new library for postgres checkpointer implementation
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-06 22:37:06 -04:00
Nuno Campos and GitHub
81e60893b6
Merge pull request #1240 from langchain-ai/nc/6aug/untracked-value
...
Add UntrackedValue to mark a state key as not checkpointable
2024-08-06 17:15:19 -07:00
Emil Wåreus and GitHub
657cd30045
Update pass_private_state.ipynb ( #1213 )
...
Fix typo
2024-08-06 23:59:58 +00:00
Vadym Barda and GitHub
7cf2132df1
Merge branch 'main' into nc/6aug/untracked-value
2024-08-06 19:46:56 -04:00
vbarda
b0b6c0ae7b
lint + comment
2024-08-06 19:46:39 -04:00
Nuno Campos
5f9b0bc0ae
Add UntrackedValue to mark a state key as not checkpointable
2024-08-06 15:41:52 -07:00
Nuno Campos and GitHub
f7c09f5e9e
Fix output schema affecting stream output ( #1239 )
...
* Fix output schema affecting stream output
* Remove file
* Remove file
2024-08-06 22:26:43 +00:00
Andrew Nguonly and GitHub
9c1aeb31dd
Remove LangGraph Cloud waitlist from README ( #1238 )
...
* Remove waitlist from README.
* Remove waitlist from Cloud index page.
* Remove waitlist from README.
2024-08-06 13:32:55 -07:00
gbaian10 and GitHub
43fb6012be
fix: the execution error passed from ToolExecutor to create_react_agent ( #1234 )
2024-08-06 17:51:55 +00:00
Nuno Campos and GitHub
997a2afc79
Merge pull request #1233 from langchain-ai/nc/6aug/add-test-inherited-state-keys
...
Add test for inherited state keys
2024-08-06 09:30:59 -07:00
Nuno Campos
f050f71584
Add test for inherited state keys
2024-08-06 09:20:33 -07:00
Nuno Campos and GitHub
3b63010673
Merge pull request #1232 from langchain-ai/dqbd/js-output-schema
...
feat(sdk-js): add output schema to match API, expose copy method for thread
2024-08-06 08:18:00 -07:00
Tat Dat Duong
bb47a0d9b7
Reformat
2024-08-06 16:24:12 +02:00
Tat Dat Duong
475019731a
Bump to 0.0.4
2024-08-06 15:34:28 +02:00
Tat Dat Duong
1e3a0aa88c
Expose copy method for thread
2024-08-06 14:15:04 +02:00
Tat Dat Duong
3ba8500e90
feat(sdk-js): Add output schema typedef
2024-08-06 14:06:47 +02:00
Nuno Campos and GitHub
8850e8a373
Merge pull request #1228 from langchain-ai/vb/update-sqlite
...
checkpoint: stop using sqlite checkpointers as context managers, make memorysaver a context manager
2024-08-05 14:09:42 -07:00
vbarda
566e6c9b60
fix
2024-08-05 17:03:50 -04:00
vbarda
9aaa73cc55
undo comment
2024-08-05 16:55:19 -04:00
vbarda
55717c9bde
update memory saver + tests
2024-08-05 16:53:33 -04:00
vbarda
64c30508d9
checkpoint-sqlite: stop using checkpointers as context managers, use contextmanager only in from_conn_string
2024-08-05 16:20:16 -04:00
ccurme and GitHub
a00ace21cb
Merge pull request #1227 from langchain-ai/cc/fix_toolbar_title
...
docs: update title of doc in sidebar
2024-08-05 14:00:29 -04:00
Chester Curme
e590a027db
update title of doc in sidebar
2024-08-05 13:57:22 -04:00
ccurme and GitHub
2976d4a3ba
Merge pull request #1117 from langchain-ai/cc/many_tools_guide
...
docs: add how-to guide for handling many tools
2024-08-05 13:55:58 -04:00
Chester Curme
14d448b74d
remove usage of upsert
2024-08-05 13:45:47 -04:00
Chester Curme
ad31da06d1
update script + index + mkdocs
2024-08-05 13:34:30 -04:00
Chester Curme
f124ce2f72
move file
2024-08-05 13:28:54 -04:00
Chester Curme
95f1032215
Merge branch 'main' into cc/many_tools_guide
2024-08-05 13:25:32 -04:00
Nuno Campos and GitHub
c2c5b31f4b
Merge pull request #1223 from langchain-ai/nc/5aug/test-update-state-custom-class
...
Add test for update_state when using custom state class
2024-08-05 09:00:34 -07:00
Nuno Campos
e8c2fefb29
Add test for update_state when using custom state class
2024-08-05 08:54:16 -07:00
Nuno Campos
4f2f5f7cbc
sdk0.1.27
2024-08-03 11:47:21 -07:00
Nuno Campos and GitHub
2ae1121994
sdk: Use an identifiable root path ( #1216 )
2024-08-03 18:46:36 +00:00
Nuno Campos and GitHub
3b5669a90b
Merge pull request #1215 from langchain-ai/nc/3aug/sdk-asgi
...
sdk: Use ASGI transport when called inside langgraph-api
2024-08-03 11:20:26 -07:00
Nuno Campos
85454b6371
sdk: Use ASGI transport when called inside langgraph-api
2024-08-03 11:17:34 -07:00
Nuno Campos and GitHub
25a98fa888
Merge pull request #1210 from langchain-ai/vb/update-deps
...
checkpoint-sqlite: add checkpoint dependency
2024-08-02 17:14:54 -07:00
vbarda
2370db0f8c
order
2024-08-02 19:08:16 -04:00
vbarda
1b353aed73
checkpoint-sqlite: add checkpoint dependency
2024-08-02 19:06:38 -04:00
Vadym Barda and GitHub
7b441e64e7
ci: update import pre-release check ( #1209 )
...
* ci: update import pre-release check
* fix
2024-08-02 18:58:04 -04:00
Vadym Barda and GitHub
351a29fcfb
ci: handle initial library version in tags ( #1208 )
2024-08-02 18:44:25 -04:00
Vadym Barda and GitHub
c149a99b44
checkpoint-sqlite: new library for sqlite checkpointer implementation ( #1203 )
...
* checkpoint-sqlite: new library for sqlite checkpointer implementation
2024-08-02 22:14:12 +00:00
Nuno Campos and GitHub
16a6450534
Merge pull request #1191 from langchain-ai/dqbd/js-sdk-types
...
feat(sdk-js): bump to 0.0.3, update types of updateState
2024-08-02 13:05:20 -07:00
Nuno Campos and GitHub
045f07c396
Merge pull request #1204 from langchain-ai/nc/2aug/graph-metadata-interrupt
...
Add interrupt info to graph repr
2024-08-02 13:05:11 -07:00
Nuno Campos and GitHub
373bcfe5cf
Merge pull request #1206 from langchain-ai/nc/2aug/test-watch-all
...
Add make test_watch_all command
2024-08-02 13:04:39 -07:00
2742b2f884
aupdate_state now accepts null values ( #1181 )
...
* aupdate_state now accepts null values
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-08-02 15:59:15 -04:00
Nuno Campos
c30e80df67
Add missing
2024-08-02 12:59:11 -07:00
Nuno Campos
55044ba231
Add make test_watch_all command
2024-08-02 12:56:53 -07:00
Nuno Campos
b1d0dbac77
Add interrupt info to graph repr
2024-08-02 12:20:56 -07:00
Nuno Campos and GitHub
742f17689e
Merge pull request #1199 from langchain-ai/vb/bump-core
...
langgraph: bump core to 0.2.27
2024-08-02 12:07:23 -07:00
Vadym Barda and GitHub
bbd5e692e1
checkpoint: release 1.0.0 ( #1201 )
2024-08-02 14:10:00 -04:00
Isaac Francisco and GitHub
c40df063d6
draft ( #1200 )
2024-08-02 11:06:52 -07:00
vbarda
a0cd3ff7ad
langgraph: bump core to 0.2.27
2024-08-02 13:56:26 -04:00
Nuno Campos and GitHub
b2b31a323b
Merge pull request #1197 from langchain-ai/nc/2aug/managed-rm-graph-arg
...
Remove graph arg from ManagedValue
2024-08-02 09:28:07 -07:00
Vadym Barda and GitHub
50eea98fc6
langgraph: remove deprecations and add new warnings ( #1196 )
...
* langgraph: remove deprecations and add new warnings
2024-08-02 12:18:34 -04:00
Nuno Campos
a83718bec8
Remove graph arg from ManagedValue
2024-08-02 08:49:41 -07:00
Vadym Barda and GitHub
4d7a42a65e
langgraph: remove FewShotExamples managed value ( #1195 )
2024-08-02 11:05:17 -04:00
Isaac Francisco and GitHub
487157eafa
typo fix ( #1169 )
2024-08-01 21:48:37 -04:00
4b2187c9a3
checkpoint: switch thread_ts -> checkpoint_id, add checkpoint_ns, change serializer protocol ( #1185 )
...
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-02 01:08:19 +00:00
Tat Dat Duong
a6e32e57e8
Bump to 0.0.3
2024-08-01 14:14:40 -07:00
Tat Dat Duong
51dbb9493c
Improve types for updateState
2024-08-01 14:14:12 -07:00
Nuno Campos and GitHub
862afa27de
Merge pull request #1189 from langchain-ai/nfcampos-patch-2
...
Update constraints
2024-08-01 10:13:18 -07:00
Nuno Campos and GitHub
aa8cd8259d
Update setup_pyproject.md
2024-08-01 10:08:42 -07:00
Nuno Campos and GitHub
000066d1a1
Update setup.md
2024-08-01 10:08:07 -07:00
Nuno Campos and GitHub
cd2b6642ee
Merge pull request #1188 from langchain-ai/nc/1aug/update-sdks
...
Nc/1aug/update sdks
2024-08-01 09:54:47 -07:00
Nuno Campos
15ded2c17b
Mark all schemas as optional in js and py sdk typings
2024-08-01 09:43:46 -07:00
Nuno Campos
e4905f438a
Fix create entrypoints script
2024-08-01 09:43:30 -07:00
Nuno Campos
eb762c4a77
Undo
2024-07-31 15:02:25 -07:00
Nuno Campos
ea5eb73b9f
Enable builds outside of master
2024-07-31 15:00:44 -07:00
ae74825ea7
langgraph checkpoint: new library for checkpoint interfaces ( #1163 )
...
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-07-31 16:45:52 -04:00
Nuno Campos and GitHub
913a2d975b
Merge pull request #1180 from langchain-ai/eugene/add_any_id_handling
...
langgraph[patch]: update unit tests to handle AnyStr() for pydantic 2 models
2024-07-31 12:30:54 -07:00
Eugene Yurtsev
5043aaf4fa
UPdate
2024-07-31 14:33:20 -04:00
Vadym Barda and GitHub
c3f6c58e13
docs: fix typo in retries ( #1177 )
2024-07-31 14:39:43 +00:00
Nuno Campos
298c93ca4a
lib0.1.17
2024-07-30 18:27:48 -07:00
Nuno Campos and GitHub
dd52472312
Merge pull request #1172 from langchain-ai/nc/30jul/update-no-values
...
Allow call to update_state without values
2024-07-30 18:27:00 -07:00
Nuno Campos
6475d81f29
Oops
2024-07-30 18:26:39 -07:00
Nuno Campos
51b4475fcc
Allow call to update_state without values
...
- this means "fork without update" (eg to rerun a node)
2024-07-30 18:21:15 -07:00
Nuno Campos
3238fa0870
Add test for drawing lance example
2024-07-30 15:50:18 -07:00
Nuno Campos and GitHub
fdaa5a3037
Merge pull request #1159 from akshseh/fix_visualization_example
...
fix: update the function for node colors
2024-07-30 10:04:05 -07:00
Akarsha Sehwag and GitHub
12238c7b7e
Merge branch 'main' into fix_visualization_example
2024-07-30 14:13:35 +02:00
Nuno Campos
3006084326
lib0.1.16
2024-07-29 12:46:33 -07:00
Nuno Campos and GitHub
f448df4638
Merge pull request #1160 from langchain-ai/nc/29jul/fix-cond-after-multi-send
...
Fix issue when cond edge visited after multiple executions of Send
2024-07-29 12:46:00 -07:00
Nuno Campos
466cb8acb5
Fix issue when cond edge visited after multiple executions of Send
...
- cond edge will run for each execution of Send, so target channels need to support multiple publishes
2024-07-29 12:38:48 -07:00
Akarsha Sehwag and GitHub
1a0ad5fdd0
fix: update the function for node colors
...
NodeColors does not exist anymore in Langchain_core -> updated to NodeStyles and changed the param names.
2024-07-29 17:23:48 +02:00
ea071935fe
adding message info ( #1150 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-07-26 20:24:19 +00:00
Nuno Campos
794a0fff03
lib0.1.15
2024-07-26 10:58:56 -07:00
Nuno Campos and GitHub
06ed6d7cab
Merge pull request #1152 from langchain-ai/nc/26jul/pydantic-2-compat
...
lib: Improve compat with pydantic 2 models
2024-07-26 10:58:24 -07:00
Nuno Campos
6eacc6b7c8
lib: Improve compat with pydantic 2 models
2024-07-26 10:51:59 -07:00
Nuno Campos and GitHub
f6ac881591
Merge pull request #1151 from langchain-ai/wfh/shrink
...
Shrink images
2024-07-26 10:50:56 -07:00
William Fu-Hinthorn
f431b415fc
Shrink images
2024-07-26 10:06:20 -07:00
Chester Curme
8d4b95afa8
add section
2024-07-26 11:22:01 -04:00
Lance Martin and GitHub
4b51c27461
Add llama3.1 tool calling ( #1148 )
2024-07-26 08:08:22 -07:00
Vadym Barda and GitHub
585c5c41ce
docs: sync readmes ( #1147 )
2024-07-26 14:14:42 +00:00
Bagatur and GitHub
c64588a673
docs: rm discord from readme ( #1145 )
2024-07-26 08:19:54 -04:00
Vadym Barda and GitHub
75fa7395bd
docs: add better state/reducers description in intro tutorial ( #1140 )
2024-07-25 22:01:18 +00:00
Isaac Francisco and GitHub
66ad48e771
typo ( #1139 )
2024-07-25 21:36:28 +00:00
Isaac Francisco and GitHub
41fd8020ee
sdk-py: add docstrings ( #1130 )
2024-07-25 16:51:25 -04:00
Nuno Campos and GitHub
09a28ccef6
Merge pull request #1136 from langchain-ai/isaac/reducegifsizes
...
reduce video sizes
2024-07-25 11:57:21 -07:00
isaac hershenson
c0431227d8
reduce videos
2024-07-25 11:53:29 -07:00
Nuno Campos and GitHub
b5f861722d
Merge branch 'main' into cc/many_tools_guide
2024-07-25 11:15:05 -07:00
Nuno Campos and GitHub
770e1601e5
Merge pull request #1135 from langchain-ai/nc/25jul/ci-large-size
...
Add CI check for large files added
2024-07-25 10:26:11 -07:00
Nuno Campos
045c2af663
Remove test image
2024-07-25 10:20:03 -07:00
Nuno Campos
23d3a7ac07
Improve output
2024-07-25 10:18:55 -07:00
Nuno Campos
67d00aca90
Fix
2024-07-25 10:16:56 -07:00
Nuno Campos
e54989ca74
Add quotes
2024-07-25 10:05:25 -07:00
Nuno Campos
14372a4515
Try again
2024-07-25 10:04:05 -07:00
Nuno Campos
6e33bda433
Different flag?
2024-07-25 10:00:21 -07:00
Nuno Campos
77eb88eef2
Try again
2024-07-25 09:59:23 -07:00
Nuno Campos
7584f058c2
Add prints
2024-07-25 09:47:06 -07:00
Nuno Campos
fba6e0504c
Fix
2024-07-25 09:45:27 -07:00
Nuno Campos
c17fe2d189
Support paths with spaces
2024-07-25 09:44:31 -07:00
Nuno Campos
4a58dcccf2
Add test large image
2024-07-25 09:36:02 -07:00
Nuno Campos
ed2e1a736f
Add CI check for large files added
2024-07-25 09:34:33 -07:00
Nuno Campos and GitHub
a168615f2d
Merge pull request #1126 from langchain-ai/vb/add-graph-factory-example
2024-07-24 18:35:36 -07:00
vbarda
190372e137
update
2024-07-24 21:22:19 -04:00
Isaac Francisco and GitHub
eba8303c98
display state management ( #1127 )
2024-07-24 16:57:17 -07:00
William FH and GitHub
2845d7ace5
Shrink Images ( #1125 )
2024-07-24 16:50:08 -07:00
vbarda
2ceac211e7
docs: add how to for graph factory + update cli
2024-07-24 18:14:34 -04:00
Vadym Barda and GitHub
8f6b3b636d
docs: fix link in subgraphs how-to ( #1124 )
2024-07-24 16:59:46 -04:00
Vadym Barda and GitHub
56bf9c9047
Merge branch 'main' into vb/update-get-state
2024-07-24 14:03:10 -04:00
Nuno Campos
ebe01c2639
lib0.1.14
2024-07-24 10:53:23 -07:00
Nuno Campos and GitHub
272219e410
Merge pull request #1121 from langchain-ai/nc/24jul/disable-nested-checkpoints-unless-interrupt
2024-07-24 10:52:29 -07:00
vbarda
a7d48465da
use .list for looking up prefix-matched checkpoints
2024-07-24 13:45:48 -04:00
Nuno Campos
bb1324cdc3
Disable nested checkpoints unless interrupts set on subgraph
2024-07-24 10:45:39 -07:00
Nuno Campos
85af0603fa
lib0.1.13
2024-07-24 09:49:23 -07:00
Chester Curme
590f810b53
add concluding text
2024-07-24 12:45:37 -04:00
Nuno Campos and GitHub
e6e5911aae
Merge pull request #1119 from langchain-ai/nc/24jul/avoid-crash-missing-node
...
Avoid crash when a node in pending sends is removed
2024-07-24 09:41:20 -07:00
Nuno Campos and GitHub
9fdbd0dd49
Merge pull request #1118 from langchain-ai/nc/24jul/fix-recursion-limit-thread
...
Fix recursion limit considering steps taken in previous runs on same thread
2024-07-24 09:35:12 -07:00
Nuno Campos
8a20c6f7e4
Avoid crash when a node in pending sends is removed
2024-07-24 09:29:38 -07:00
Nuno Campos
03f9b27e3b
Fix
2024-07-24 09:26:49 -07:00
Nuno Campos and GitHub
19f6f7d5ca
Merge pull request #1110 from langchain-ai/wfh/test_pending_writes_null
...
Test Null Pending Writes
2024-07-24 08:51:33 -07:00
Nuno Campos
745b96eb63
Fix recursion limit considering steps taken in previous runs on same thread
2024-07-24 08:50:32 -07:00
Chester Curme
7ea5da73c7
add guide
2024-07-24 11:49:05 -04:00
vbarda
6ae2c6c7b9
Merge branch 'main' into vb/update-get-state
2024-07-24 11:18:10 -04:00
b90d44d97d
Add local tool calling agent example ( #1109 )
...
* Add local tool calling agent example
* Update copy_notebooks.py
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-07-24 07:39:53 -07:00
Vadym Barda and GitHub
d99d3e05c7
langgraph: release 0.1.12 ( #1116 )
2024-07-24 10:38:07 -04:00
Vadym Barda and GitHub
ca6aef4746
langgraph: bring back tool content stringify ( #1114 )
2024-07-24 10:36:32 -04:00
William Fu-Hinthorn
f5b9e463e3
Merge branch 'main' into wfh/test_pending_writes_null
2024-07-23 21:28:51 -07:00
William FH and GitHub
82cbe25be8
Update typedoc build ( #1087 )
2024-07-23 21:27:40 -07:00
William Fu-Hinthorn
36505d9656
Add test
2024-07-23 21:15:53 -07:00
vbarda
ae696d4f30
add sync history
2024-07-23 21:40:04 -04:00
vbarda
b43ef6440f
tests
2024-07-23 20:59:10 -04:00
vbarda
e615aabf14
cleanup names + make subgraph state optional
2024-07-23 20:28:23 -04:00
Lance Martin and GitHub
b72ea0ea1b
Update MR docs ( #1098 )
2024-07-23 17:13:20 -07:00
vbarda
92ae8f4817
async methods
2024-07-23 19:51:44 -04:00
vbarda
2268802908
Merge branch 'main' into vb/update-get-state
2024-07-23 18:51:36 -04:00
vbarda
261cdf88a5
langgraph: update get_state to handle nested subgraph state
2024-07-23 18:35:49 -04:00
Vadym Barda and GitHub
603a137d33
langgraph: release 0.1.11 ( #1107 )
2024-07-23 18:06:07 -04:00
Nuno Campos and GitHub
4cdb38d337
Fix null pending writes ( #1106 )
2024-07-23 17:59:16 -04:00
Nuno Campos
03bf1e5414
Fix null pending writes
2024-07-23 14:55:07 -07:00
Nuno Campos and GitHub
4fa5c8bab0
Merge pull request #1089 from mihaic/patch-1
...
Fix StateGraph.add_edge end_key check
2024-07-23 13:52:33 -07:00
Nuno Campos and GitHub
9711f39995
Merge pull request #1090 from langchain-ai/harrison/private-state
...
Harrison/private state
2024-07-23 13:50:02 -07:00
Nuno Campos and GitHub
091bc003ae
Merge pull request #1088 from langchain-ai/vb/update-return-type
...
langgraph: add proper type annotation for StateGraph.compile
2024-07-23 13:49:12 -07:00
Nuno Campos and GitHub
57c40026f8
Update pass_private_state.ipynb
2024-07-23 13:46:56 -07:00
Nuno Campos and GitHub
bf61f6f869
Merge pull request #1102 from langchain-ai/an/23jul/docs-langgraph-cloud-constraints
...
docs: Add constraints info to LangGraph Cloud setup docs
2024-07-23 13:45:30 -07:00
Nuno Campos
6c299a1b5a
Fix docs build
2024-07-23 13:42:57 -07:00
Nuno Campos and GitHub
aeae796e60
Update setup_pyproject.md
2024-07-23 13:29:56 -07:00
Nuno Campos and GitHub
7ec37575de
Update setup.md
2024-07-23 13:29:43 -07:00
Nuno Campos and GitHub
4fdd05532d
Merge pull request #1100 from langchain-ai/harrison/migrations
...
migrations of graph
2024-07-23 13:26:18 -07:00
Nuno Campos and GitHub
43c793f7fe
Update low_level.md
2024-07-23 13:24:46 -07:00
Lance Martin and GitHub
1765000263
Local RAG agent testing with Llama3.1 ( #1104 )
2024-07-23 13:05:51 -07:00
Vadym Barda and GitHub
3fdd4715f5
langgraph: release 0.1.10 ( #1103 )
2024-07-23 14:13:35 -04:00
Isaac Francisco and GitHub
97cb44058a
[docs]:open studio from local deployment ( #1037 )
...
* open studio from local deployment
* spelling
* harrison comments
2024-07-23 12:50:57 -04:00
Andrew Nguonly
73e0871345
Add constraints info to LangGraph Cloud setup docs.
2024-07-23 08:56:56 -07:00
Harrison Chase
c8f046869b
migrations of graph
2024-07-23 08:20:03 -07:00
Nuno Campos and GitHub
bd4dccd9cb
Merge pull request #1075 from langchain-ai/nc/19jul/nested-checkpoints
2024-07-22 18:41:56 -07:00
vbarda
c268d695f0
spellcheck
2024-07-22 21:28:11 -04:00
vbarda
0891cc1864
comments / bring back sleep
2024-07-22 21:18:42 -04:00
Nuno Campos
ee7cab664a
Fix checkpoint put ordering issue
2024-07-22 17:52:09 -07:00
vbarda
fd8f9e87dc
update types
2024-07-22 20:48:21 -04:00
vbarda
ed9c015d24
remove utils
2024-07-22 20:43:28 -04:00
vbarda
cd4fae601c
remove sleep
2024-07-22 20:26:12 -04:00
Nuno Campos
aed313ebb5
Fix stack not being unwound when suppressing interrupt
2024-07-22 17:09:47 -07:00
Nuno Campos
2008df03fa
Merge branch 'main' into nc/19jul/nested-checkpoints
2024-07-22 16:33:33 -07:00
Nuno Campos
3f860617a5
Update tests
2024-07-22 16:32:18 -07:00
Nuno Campos
98a962661b
Instead of saving an additional interrupt checkpoint, make child graphs keep a single checkpoint for each parent checkpoint
...
- while the inner graph makes progress it overwrites the partial progress checkpoints, eventually keeping only one for each outer step
- implement parent_config in MemorySaver
- fix edge cases in PregelLoop
2024-07-22 16:32:15 -07:00
Harrison Chase
9483da1bdb
cr
2024-07-22 16:31:14 -07:00
Harrison Chase
8d3da565c4
cr
2024-07-22 16:30:34 -07:00
Nuno Campos
42174ad9fb
Add optional id arg to create_checkpoint
2024-07-22 16:30:19 -07:00
Nuno Campos
0c1ec8d5d2
Update sync bg executor to wait on all tasks on exit
2024-07-22 16:30:08 -07:00
Harrison Chase
fdbb33ddad
add private state
2024-07-22 16:26:31 -07:00
Mihai Capotă and GitHub
3f43e0d945
Fix StateGraph.add_edge end_key check
...
It looks like a typo to me: `END` should be `START`.
`END` should be accepted as `end_key` and it is accepted with the `super` call path.
2024-07-22 15:55:19 -07:00
vbarda
d00503ecc4
langgraph: add proper type annotation for StateGraph.compile
2024-07-22 18:03:16 -04:00
trevor-cyi and GitHub
ab80c113ac
docs: Use bound model in convo history ( #1082 )
...
This fixes a small mistake in the manage-conversation-history notebook
where the model bound with tools was not used, instead, the original model
was used when invocations occur.
2024-07-22 16:27:42 -04:00
vbarda
fbced023f3
add more tests
2024-07-22 16:23:54 -04:00
William FH and GitHub
91d6b964c4
Update js sdk links ( #1086 )
2024-07-22 13:08:48 -07:00
vbarda
6e57fa5f9a
return future on self._put_checkpoint
2024-07-22 14:32:57 -04:00
vbarda
77f6ec5a2b
update memory
2024-07-22 13:03:30 -04:00
vbarda
f2a95ad67f
fix broken interrupt tests
2024-07-22 12:18:12 -04:00
vbarda
d635a22302
sort memory checkpoints monotonically decreasing
2024-07-22 12:14:33 -04:00
Nuno Campos and GitHub
b1ffa52da6
Merge pull request #1064 from KYUUUW/patch-1
...
[docs]Fix runtime error README.md example
2024-07-22 08:42:34 -07:00
Nuno Campos and GitHub
e2b959ee7e
Merge pull request #1073 from langchain-ai/nc/19jul/binop-lambda-eq
...
Don't include lambdas in __eq__ for BinOp
2024-07-22 08:41:30 -07:00
Nuno Campos
84e404eb71
Lint
2024-07-22 08:24:53 -07:00
Nuno Campos
a1a5fc01a9
cli0.1.50
2024-07-22 08:22:05 -07:00
Nuno Campos and GitHub
2616614470
Merge pull request #1080 from langchain-ai/nc/21jul/cli-stdout-overrun
...
cli: Fix crash when subprocess has a very long stdout/stderr line
2024-07-22 08:21:25 -07:00
Nuno Campos and GitHub
64fd304ea0
Merge pull request #1083 from langchain-ai/vb/update-sdk
2024-07-22 08:05:50 -07:00
vbarda
f820ca8f7f
sdk-py: add threads copy
2024-07-21 20:21:27 -04:00
Vadym Barda and GitHub
4bacbdd2bd
docs: update create_react_agent to use state_modifier ( #1081 )
2024-07-21 17:07:50 -04:00
Nuno Campos and GitHub
34407d9de1
Update exec.py
2024-07-21 12:19:19 -07:00
Nuno Campos
b81612c292
cli: Fix crash when subprocess has a very long stdout/stderr line
2024-07-21 12:16:37 -07:00
LEE KYU WON and GitHub
b3e44bed22
Fix example error
2024-07-21 18:14:01 +09:00
LEE KYU WON and GitHub
e8b05faff4
Merge branch 'main' into patch-1
2024-07-21 18:12:38 +09:00
Bagatur and GitHub
610b6cc78c
langgraph[patch]: InjectedState annotation ( #1067 )
...
Add annotated for injecting state vars into a Tool
2024-07-19 20:07:21 -07:00
William FH and GitHub
75f8a33c9e
[Docs] Format notebooks ( #1076 )
2024-07-19 18:29:24 -07:00
Nuno Campos and GitHub
afe3905958
Update loop.py
2024-07-19 18:15:54 -07:00
Nuno Campos and GitHub
375d9a45d9
Update loop.py
2024-07-19 18:15:47 -07:00
Nuno Campos
f5390a4ee5
Port to new architecture
2024-07-19 18:04:55 -07:00
William FH and GitHub
29d7a812ae
[Docs] Update checkpointer docstrings ( #1074 )
2024-07-19 17:52:47 -07:00
Nuno Campos and GitHub
fb9d5b9304
Merge pull request #1059 from langchain-ai/nc/18jul/loop
...
Make Pregel loop runnable step-by-step
2024-07-19 17:16:48 -07:00
Nuno Campos
b77ef7d162
Lint
2024-07-19 17:13:51 -07:00
Nuno Campos
b0e0d269c5
Lint
2024-07-19 16:40:50 -07:00
Nuno Campos
1dbf7a3392
Move all checkpoint edits to apply_writes
2024-07-19 16:37:27 -07:00
Nuno Campos
27cd4e2221
Update core
2024-07-19 15:44:21 -07:00
Nuno Campos
dc703857dd
Run tests in parallel
2024-07-19 15:43:40 -07:00
Nuno Campos and GitHub
5df5eb6b09
Merge pull request #1072 from langchain-ai/isaac/retrynodeshowto
...
[docs]: add node retry docs
2024-07-19 15:00:03 -07:00
isaac hershenson
eaa23ef4e5
added retrypolicy reference
2024-07-19 14:56:14 -07:00
Nuno Campos
4dc1195bcd
Don't include lambdas in __eq__ for BinOp
...
When using forward refs, inline lambdas in Annotated are re-evaluated for every subclass, thus making the comparison fail
2024-07-19 14:46:01 -07:00
isaac hershenson
55c78bbf90
remove unneccesary imports
2024-07-19 13:13:02 -07:00
isaac hershenson
2a7ae83bf8
spelling
2024-07-19 13:07:26 -07:00
isaac hershenson
d7dc16310f
nuno comments
2024-07-19 13:05:28 -07:00
isaac hershenson
afd940d9bd
first draft
2024-07-19 12:38:55 -07:00
Nuno Campos
ed5d114087
Fix
2024-07-19 12:19:43 -07:00
Nuno Campos and GitHub
9d14f4f2f1
docs: Add note on langgraph v langgraph cloud ( #1071 )
2024-07-19 10:40:02 -07:00
Nuno Campos and GitHub
29e860acca
Update manager.py
2024-07-19 08:52:08 -07:00
Nuno Campos and GitHub
b26be0c113
Merge pull request #1070 from langchain-ai/vb/update-assistants
...
sdk-py: add if_exists for assistants
2024-07-19 08:39:11 -07:00
Nuno Campos and GitHub
ec2892098b
Update client.py
2024-07-19 08:21:58 -07:00
vbarda
c7133fd34b
Merge branch 'main' into vb/update-assistants
2024-07-19 10:12:26 -04:00
Nuno Campos
7ed5f9e4bc
Implement AsyncLoop
2024-07-18 17:28:44 -07:00
vbarda
8bd2d88be4
sdk-py: add if_exists for assistants
2024-07-18 19:59:12 -04:00
Bagatur and GitHub
3a53843185
langgraph[patch]: refactor ToolNode ( #1066 )
2024-07-18 16:13:06 -07:00
Nuno Campos
f974471f7d
Lint
2024-07-18 15:52:20 -07:00
Nuno Campos
909bf4433f
Lint
2024-07-18 15:51:37 -07:00
Nuno Campos
73b4b6ec5b
Lint
2024-07-18 15:50:45 -07:00
Nuno Campos
06f83710c8
Lint
2024-07-18 15:49:58 -07:00
Nuno Campos
b3ee728839
Pregel.stream passing all tests
2024-07-18 15:49:58 -07:00
Nuno Campos
60f7a7d593
Lint
2024-07-18 15:49:58 -07:00
Nuno Campos
56238036d7
WIP: Split out loop logic from Pregel class
2024-07-18 15:49:58 -07:00
LEE KYU WON and GitHub
3f35a0a44e
Update wait-user-input.ipynb ( #1065 )
2024-07-18 18:48:22 -04:00
LEE KYU WON and GitHub
58af2c7d9f
Fix error in example
2024-07-19 04:29:39 +09:00
Vadym Barda and GitHub
95a4a55849
docs: add how to for passing config to tools ( #1063 )
2024-07-18 13:33:56 -04:00
Nuno Campos
97281d708b
lib 0.1.9
2024-07-18 10:28:24 -07:00
Nuno Campos and GitHub
c39f4ce47a
Merge pull request #1062 from langchain-ai/nc/18jul/node-retry-policy
...
Enable configuring retry policy for each node of StateGraph
2024-07-18 10:24:31 -07:00
Nuno Campos
833b1faba2
Enable configuring retry policy for each node of StateGraph
2024-07-18 10:18:29 -07:00
Nuno Campos
2ca816ca25
cli 0.1.49
2024-07-18 10:01:43 -07:00
Nuno Campos and GitHub
50861cdf1b
Merge pull request #1036 from langchain-ai/nc/16jul/node-state
...
Add node state, customizable graph input and output schemas
2024-07-18 09:56:20 -07:00
Nuno Campos
b5b0f8d7e3
Remove node output schemas
2024-07-18 09:46:06 -07:00
Nuno Campos and GitHub
87e80fe45a
Merge pull request #1058 from langchain-ai/nc/18jul/cli-dockerfile
...
cli: Add dockerfile command to write dockerfile
2024-07-18 09:28:44 -07:00
Nuno Campos
ffe9a6d5b8
cli: Add dockerfile command to write dockerfile
2024-07-18 09:04:14 -07:00
Bagatur and GitHub
97ae473002
docs: pass in graph state to tool ( #1056 )
2024-07-18 07:34:19 -07:00
William FH and GitHub
246b7dafcf
Add Docstrings ( #1057 )
2024-07-18 07:12:12 -07:00
William FH and GitHub
254926c4a8
Update template links ( #1045 )
2024-07-18 07:10:10 -07:00
Vadym Barda and GitHub
5fbc9555c3
docs: add how-to section on tool calling ( #1051 )
2024-07-18 09:36:15 -04:00
Vadym Barda and GitHub
83089c3a7f
langgraph: add incorrect tool name handling to ToolNode ( #1052 )
2024-07-17 21:33:46 -04:00
Nuno Campos and GitHub
c2e25e2ac2
Merge pull request #1049 from langchain-ai/nc/17jul/pregel-node-retry-policy
...
pregel: Support retry policy per node
2024-07-17 14:54:23 -07:00
Andrew Nguonly and GitHub
e3ef9adac7
Add instructions to test locally before deploying to Cloud. ( #1050 )
2024-07-17 14:04:15 -07:00
Nuno Campos
e4bfcffed4
pregel: Support retry policy per node
...
- to expose from StateGraph in future PR
2024-07-17 13:17:15 -07:00
Nuno Campos and GitHub
a184c7f23a
lib: Separate out executor logic from stream methods ( #1048 )
...
* lib: Separate out executor logic from stream methods
- first step towards splitting out tick and stream
* Lint
* Lint
* Lint
* Lint
2024-07-17 13:16:35 -07:00
clement.l and GitHub
a96f5f8f27
docs: fix typo in low_level.md ( #1044 )
2024-07-17 09:57:26 -04:00
Vadym Barda and GitHub
79dc1a64b3
langgraph: allow passing custom state & let message modifiers access state in create_react_agent ( #1023 )
2024-07-16 20:41:17 -04:00
Nuno Campos
7bc489f1f4
Add node state, customizable graph input and output schemas
2024-07-16 13:50:20 -07:00
924cd1f2d8
[docs]: minor changes for testing locally ( #1029 )
...
* small changes
* harrison comments
* Update docs/docs/cloud/deployment/test_locally.md
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-07-16 10:43:03 -07:00
William FH and GitHub
6fd1dc5697
Add note to docstring ( #1035 )
2024-07-16 08:43:49 -07:00
Arthur Berman and GitHub
09c5ebc94d
Update low_level.md ( #1016 )
...
replace add_edge by add_conditional_edges
fix a mistake
2024-07-16 08:43:40 -07:00
Vadym Barda and GitHub
ebeebcd095
sdk-js: release 0.0.2 ( #1033 )
2024-07-16 09:20:25 -04:00
Vadym Barda and GitHub
3713ba66a8
sdk-js: add thread_id and if_exists to ThreadsClient.create ( #1032 )
2024-07-16 09:18:22 -04:00
Jacob Lee and GitHub
449b42717c
Add guide on handling tool calling errors ( #1012 )
...
* Fix example
CC @vbarda
* Progress on tool calling errors
* Update
* Rename
* Format
* Clean up outputs
* Revert
* Use stream instead of invoke for final example
2024-07-15 23:22:50 -07:00
Bagatur and GitHub
2a1cdd31c5
langgraph[patch]: ToolNode support for tools outputting msg ( #977 )
...
ToolNode passes ToolCall to tools directly and outputs the generated ToolMessages directly
2024-07-15 16:40:37 -07:00
Nuno Campos and GitHub
5444563fdc
Only render end node if there is an edge leading to it ( #1022 )
2024-07-15 11:26:05 -07:00
Vadym Barda and GitHub
fad4de789f
sdk-py: release 0.1.26 ( #1026 )
2024-07-15 13:44:41 -04:00
Vadym Barda and GitHub
bf10f39b6b
docs: update delete messages how-to for clarity ( #1025 )
2024-07-15 13:36:19 -04:00
Vadym Barda and GitHub
ebf6316fa7
docs: fix collapsible code block affecting TOC in tutorial ( #1024 )
2024-07-15 13:16:28 -04:00
Vadym Barda and GitHub
647c5737f0
sdk-py: add if_exists to threads.create ( #1009 )
2024-07-15 12:15:43 -04:00
Vedanta SP and GitHub
9e7695085e
Update langgraph_self_rag_local.ipynb ( #1014 )
...
replaced pprint with print
2024-07-14 16:32:07 -04:00
Nuno Campos and GitHub
8cf10fa460
Specific error when updating state as an unknown node ( #1015 )
2024-07-14 06:54:01 -07:00
Vadym Barda and GitHub
3ef65c37b3
docs: add note for langgraph cloud checkpointers ( #1011 )
2024-07-12 16:48:03 -04:00
Vadym Barda and GitHub
4b5152fde5
docs: small fix in postgres docs ( #1010 )
2024-07-12 16:27:58 -04:00
Jacob Lee and GitHub
07c3c5ff6f
Hide output spacer column in docs ( #1008 )
2024-07-12 13:00:01 -07:00
Lance Martin and GitHub
ada17d2ccb
Improve visuals ( #1005 )
2024-07-12 12:55:32 -07:00
738f725aea
Support multiple interruptions after resuming execution ( #1004 )
...
* Support multiple interruptions
* Add async test, Use a different fix
* Update comment
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-07-12 12:53:17 -07:00
Jacob Lee and GitHub
558a513a1a
Remove Jupyter cell 'In[<number>]' display column from docs ( #1007 )
2024-07-12 12:47:07 -07:00
Vadym Barda and GitHub
5a55974f15
docs: update postgres checkpointer ( #1001 )
2024-07-12 13:40:55 -04:00
Vadym Barda and GitHub
f84f9374d3
docs: bring back how-to on passing runtime values to tools ( #1003 )
2024-07-12 11:52:34 -04:00
Vadym Barda and GitHub
f8c87afee1
docs: update streaming from within the tool to use dispatch_custom_event ( #1000 )
2024-07-11 21:31:55 -04:00
dedbdefd93
[Docs] Added Asynchronous implementation of MongoDB persistence ( #983 )
...
---------
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-07-11 21:20:19 -04:00
Nuno Campos
f13cf5dc2c
Update snapshot tests after core release
2024-07-11 17:06:12 -07:00
Nuno Campos
1e2682616f
lib0.1.8
2024-07-11 17:03:56 -07:00
Nuno Campos and GitHub
71d9d02d26
lib: Add metadata arg to add_node() ( #990 )
...
* lib: Add metadata arg to add_node()
- use metadata when drawing graph
- use metadata for tracing
* Update core
* Lock
2024-07-11 17:03:22 -07:00
Lance Martin and GitHub
bd100fdfef
Update controllability docs ( #995 )
...
* Update controllability docs
* Update controllability docs
* Update docs
2024-07-11 16:10:12 -07:00
Jacob Lee and GitHub
3f4a8e557e
Remove broken edit button, view source button ( #998 )
...
* Fix edit button, remove view source button
* Update mkdocs.yml
* Update mkdocs.yml
2024-07-11 15:17:23 -07:00
Andrew Nguonly and GitHub
e9f7cd3e52
docs: Add Cloud Concepts docs, update cloud deployment how-to guide ( #996 )
...
* Update Cloud deployment docs. Add Cloud Concepts docs.
* Update quick start. Update how-to for setting up repo.
* Delete unused image base_url.png.
* Fix spelling error. Fix broken anchor link.
* Fix broken links.
2024-07-11 14:33:25 -07:00
Vadym Barda and GitHub
39321ba042
docs: reduce number of cells in streaming how-tos ( #997 )
2024-07-11 17:19:58 -04:00
Vadym Barda and GitHub
85ec1934de
langgraph: update stream_mode docstring for .stream() ( #994 )
...
* langgraph: update stream_mode docstring for .stream()
* add astream docstring
* fix import
2024-07-11 09:08:19 -07:00
Vadym Barda and GitHub
45dbf8c656
sdk-py: remove defaults from typedef ( #989 )
2024-07-10 18:08:05 -04:00
Nuno Campos
60763d4ddf
lib 0.1.7
2024-07-10 14:44:07 -07:00
Vadym Barda and GitHub
8c4da2c41c
sdk-py: add create_batch method ( #988 )
2024-07-10 17:37:56 -04:00
Nuno Campos and GitHub
dfb2ac321f
lib: Checkpoint pending writes whenever a node finishes ( #976 )
...
* lib: Checkpoint pending writes whenever a node finishes
- Whenever a node finishes, checkpoint pending writes
* Rename arg
* Add tests, resume from pending writes
* Add comment
* Add descriptive error
* Fix bug found by will
* Fix comments
* Lint
* Don't save pending write if executing only one node in step
2024-07-10 14:28:06 -07:00
Lance Martin and GitHub
4d2456be40
Update HIL update / edit state documentation ( #966 )
...
* Update user input example
* Update editing graph state
* Minor clarifications
2024-07-10 13:24:16 -07:00
Vadym Barda and GitHub
166aaa1bac
docs: update another langsmith key ref ( #986 )
2024-07-10 12:33:34 -04:00
Vadym Barda and GitHub
7cad1658f6
docs: update key in local cloud quickstart ( #985 )
2024-07-10 12:18:10 -04:00
Vadym Barda and GitHub
a3a9c6ceed
docs: add how-to on how to stream tokens from within a tool ( #984 )
2024-07-10 12:16:18 -04:00
William FH and GitHub
4849501ccf
Copy core context in RunnableCallable ( #973 )
2024-07-09 20:26:45 -07:00
Vadym Barda and GitHub
a6dddd322a
docs: add how-to for streaming tokens w/o langchain chat models ( #972 )
2024-07-09 21:56:18 -04:00
Isaac Francisco and GitHub
17785375b8
[docs]: adding LangGraph up documentation ( #975 )
...
* first draft
* harrison comments
2024-07-09 18:22:11 -07:00
William FH and GitHub
b632fd8c54
Add cleaned up csbot chatbot example ( #971 )
2024-07-09 14:06:05 -07:00
f32daee7d5
chore(deps): bump certifi from 2024.6.2 to 2024.7.4 in /libs/langgraph ( #969 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 13:52:41 -07:00
df52115de0
chore(deps-dev): bump certifi in /libs/cli/examples ( #967 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 12:54:47 -07:00
2eb7d14acd
docs: add Redis Checkpointer example ( #961 )
...
---------
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-07-09 14:32:01 -04:00
Lance Martin and GitHub
2842dae598
Minor edit to low-level docs to clarify Super Steps ( #951 )
2024-07-09 10:02:08 -07:00
Nuno Campos
2354066c6d
Format
2024-07-09 09:40:29 -07:00
Nuno Campos
4b564f69a8
Fix tests
2024-07-09 09:35:50 -07:00
Vadym Barda and GitHub
c283d7e2ba
langgraph: release 0.1.6 ( #965 )
2024-07-09 12:34:11 -04:00
3675c5b89d
[Docs] Added MongoDB persistence in how-tos ( #960 )
...
---------
Co-authored-by: Vadym Barda <vadim.barda@gmail.com >
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-07-09 12:27:56 -04:00
a8644baf50
docs: add memory how-tos + update add_messages ( #958 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-07-09 12:26:31 -04:00
Nuno Campos and GitHub
cf75003cbe
cli: Update pip install command
2024-07-09 12:31:08 +01:00
Andrew Nguonly and GitHub
fab950acfb
Update version of CLI to 0.1.48. ( #957 )
2024-07-08 18:20:23 -07:00
Andrew Nguonly and GitHub
7ed26e1396
Update LangGraph API documentation. ( #956 )
2024-07-08 17:52:21 -07:00
David Duong and GitHub
293bc2c11f
feat(cli): add debugger host CLI flag to specify default base URL ( #900 )
2024-07-08 20:47:50 -04:00
Andrew Nguonly and GitHub
bb6785bbef
cli: set verbose flag for pull in langgraph build ( #955 )
...
* Set verbose flag for langgraph build.
* Update CLI README.
2024-07-08 17:46:21 -07:00
Henry Kobin and GitHub
878567f6b0
spellcheck ( #936 )
2024-07-08 17:10:21 -04:00
William FH and GitHub
165e82eb33
[Docs] Replace Absolute External Links ( #949 )
2024-07-08 13:02:53 -07:00
64a17599c1
chore(deps-dev): bump certifi from 2024.6.2 to 2024.7.4 ( #950 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 13:02:14 -07:00
23f422e9d9
chore(deps): bump certifi from 2024.2.2 to 2024.7.4 in /libs/sdk-py ( #934 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 11:51:16 -07:00
Vadym Barda and GitHub
d16b8b4e59
docs: fix more links ( #948 )
2024-07-08 12:32:05 -04:00
Vadym Barda and GitHub
9b4bb69001
docs: fix links in the cloud how-tos ( #947 )
2024-07-08 12:13:05 -04:00
Lance Martin and GitHub
5232ea2606
Improve and clean Breakpoints documentation ( #923 )
2024-07-03 19:38:42 -07:00
William FH and GitHub
56086512ca
[Docs] Add State Context Key How-to ( #920 )
2024-07-03 12:28:40 -07:00
Vadym Barda and GitHub
cd3a1cbf8f
langgraph: add tool error handling ( #910 )
2024-07-03 15:12:50 -04:00
Vadym Barda and GitHub
6e8e532995
docs: update readme ( #921 )
2024-07-03 14:18:32 -04:00
Vadym Barda and GitHub
2093347f8a
sdk-js: release 0.0.1 ( #918 )
2024-07-03 14:07:39 -04:00
William FH and GitHub
f380e2301d
[Docs] Update README example
...
Plus add CI check
2024-07-03 10:35:29 -07:00
Vadym Barda and GitHub
8b45146f13
docs: add langgraph logo ( #916 )
2024-07-03 13:15:15 -04:00
Andrew Nguonly and GitHub
5c42d26475
docs: Add CTA for LangGraph Cloud to README ( #914 )
...
* Update README.md
* Update README.
2024-07-03 08:20:17 -07:00
Vadym Barda and GitHub
6e7265a659
langgraph: add support for deleting messages ( #651 )
...
* (RFC) add support for deleting messages
* alternative design
* lint
* Revert "lint"
This reverts commit 88b59d2aef .
* Revert "alternative design"
This reverts commit 2ad6009160 .
* switch to lc core removemessage
* lint
* add unittests
2024-07-03 06:43:53 +01:00
Vadym Barda and GitHub
5e8aa5d9f2
langgraph: update langchain-core & snapshot tests ( #909 )
2024-07-02 20:37:03 -04:00
Isaac Francisco and GitHub
d180c80c34
[docs] add JS examples for double texting and human in the loop for cloud ( #885 )
2024-07-02 11:42:46 -04:00
William FH and GitHub
ab8f3174e1
[Docs] Img in map reduce ( #904 )
2024-07-02 06:34:09 -07:00
William FH and GitHub
320a87e1b9
[Docs] use END instead of set_finish_point ( #903 )
2024-07-01 21:56:10 -07:00
William FH and GitHub
727e63c01e
[Docs] Update notebooks to use START ( #902 )
2024-07-01 21:36:34 -07:00
267f5e5234
docs: add js examples for streaming ( #871 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-07-01 21:22:47 -04:00
William FH and GitHub
99e592b474
[Docs] More links to langgraph.json ( #901 )
2024-07-01 14:07:30 -07:00
2cbfc1cbeb
docs: fixed variable error ( #896 )
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-07-01 14:53:39 -04:00
00514955fa
fix: change 'action' to 'tools' in graph visualization ( #895 )
...
Co-authored-by: afsu <saf@zjuici.com >
2024-07-01 10:20:48 -07:00
William FH and GitHub
d7a04663da
[Docs] Improve create_react_agent docstring ( #899 )
...
- Cleanup parameter formatting
- Add diagrams
- Walk through example execution
2024-07-01 10:20:20 -07:00
Nuno Campos
94300877ee
0.1.5
2024-07-01 18:15:44 +01:00
Nuno Campos
dfdb4d00ea
Mark cancelled as seen
2024-07-01 18:12:37 +01:00
yoogle and GitHub
3506be18a4
fix: typo ( #898 )
2024-07-01 11:36:53 -04:00
Vadym Barda and GitHub
7a68cc63c4
ci: update permissions ( #886 )
2024-06-29 08:47:58 -04:00
Isaac Francisco and GitHub
281e66ed2e
sdk-js: added cron functionality to match langgraph-api ( #863 )
...
* testing
* first draft
* working
* first draft
* fmt
* vadym comments
2024-06-28 16:26:22 -07:00
Isaac Francisco and GitHub
1fe13cb009
sdk-py: added Cron search functionality ( #804 )
...
* first draft
* minor fix
* second draft
* reformat
* rename
* remove f-string
* fmt
* fmt
* fmt
* fmt
* fmt
* typing
* fmt
* fmt
* fmt
* pagination
* fmt
* fmt
* schema
* fmt
* fmt
2024-06-28 16:23:15 -07:00
Nuno Campos
5b6c021d6a
cli 0.1.47
2024-06-28 14:05:06 -07:00
Nuno Campos and GitHub
ca4ad62762
cli: Update messaging for langsmith api key ( #884 )
...
* cli: Update messaging for langsmith api key
* Adjust
2024-06-28 14:04:43 -07:00
Vadym Barda and GitHub
d9bfe22f00
ci: remove grep check for previous tag ( #881 )
2024-06-28 14:00:08 -04:00
Vadym Barda and GitHub
b8e6483770
ci: display previous tag during release job ( #880 )
2024-06-28 13:33:17 -04:00
Vadym Barda and GitHub
7e54aba3e7
ci: attempt regex fix ( #878 )
2024-06-28 12:22:24 -04:00
Vadym Barda and GitHub
6929afda8a
langgraph: release 0.1.4 ( #877 )
2024-06-28 12:04:15 -04:00
Nuno Campos
c326ad019d
Skip bad pending sends
2024-06-28 08:59:26 -07:00
Vadym Barda and GitHub
2bf4a72d9d
langgraph: release 0.1.3 ( #876 )
2024-06-28 11:51:58 -04:00
Isaac Francisco and GitHub
b066b6ffa1
speed up gifs ( #870 )
2024-06-28 11:32:50 -04:00
Vadym Barda and GitHub
36f5e49693
docs: update HITL how-tos ( #875 )
2024-06-28 10:44:17 -04:00
William FH and GitHub
19087ed6d8
[Docs] spelling ( #869 )
2024-06-27 19:39:18 -07:00
Isaac Francisco and GitHub
0a2a64a830
sdk-js: adding assistant_id param for assistant_search functionality ( #865 )
...
* first draft
* wrong text
2024-06-27 13:18:51 -07:00
William FH and GitHub
bccea30c2a
[Docstrings] Add reminder to close connection ( #864 )
...
In AsyncSqliteSaver, otherwise your program will "hang".
Recommend using async with AsyncSqliteSaver.from_conn_str(...).
2024-06-27 12:59:26 -07:00
Nuno Campos and GitHub
5fa2172066
Update self_hosted.md ( #862 )
2024-06-27 12:32:35 -07:00
Vadym Barda and GitHub
00259d6217
cli: release 0.1.46 ( #861 )
2024-06-27 15:02:44 -04:00
Vadym Barda and GitHub
cd670d9d59
cli: fix asyncio runner bug for 3.10 ( #860 )
2024-06-27 15:01:47 -04:00
Vadym Barda and GitHub
294426de62
docs: expose conversation history how-to ( #859 )
2024-06-27 14:38:07 -04:00
Vadym Barda and GitHub
8932a1e59e
docs: fix link in README ( #858 )
2024-06-27 11:27:14 -07:00
Vadym Barda and GitHub
2c8d4b4e62
docs: add contribution guidelines ( #844 )
2024-06-27 14:20:01 -04:00
William FH and GitHub
90335613e9
[Docs] Update form link ( #857 )
2024-06-27 11:07:26 -07:00
William FH and GitHub
c917664f60
[SDK] Cleanup docstring( #841 )
2024-06-27 10:23:37 -07:00
e0d341e966
docs: add missing install for langchain_community module in tutorials intro ( #814 )
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-06-27 10:04:05 -07:00
William FH and GitHub
1f1e681242
[Docs] Add pyproject how-to for langgraph cloud repo structuring ( #856 )
2024-06-27 10:03:23 -07:00
William FH and GitHub
a9f20c2339
Beta ( #855 )
2024-06-27 09:19:47 -07:00
Nuno Campos
0db341e566
cli 0.1.45a1
2024-06-27 09:10:56 -07:00
Nuno Campos and GitHub
4768bdb0c8
cli: Add back up ( #854 )
...
* Revert "cli: Reduce to test and build commands (#838 )"
This reverts commit 5697f07163 .
* Undo
* Undo
* Undo
* Fix
* Fix
* Add license key admonition
* Quote env vars
* Test
2024-06-27 09:10:21 -07:00
Vadym Barda and GitHub
7973df6216
cli: release 0.1.45a1 ( #852 )
2024-06-27 11:08:58 -04:00
Vadym Barda and GitHub
655de27e07
ci: update regex ( #851 )
2024-06-27 11:08:19 -04:00
Vadym Barda and GitHub
d5c7d8c5d9
ci: clean up release diff logic & formatting ( #850 )
2024-06-27 10:42:29 -04:00
Vadym Barda and GitHub
545abbe38a
docs: remove extra line ( #849 )
2024-06-27 10:12:11 -04:00
Vadym Barda and GitHub
a783abc684
docs: add a how-to for streaming from final node ( #832 )
2024-06-27 10:07:20 -04:00
Harrison Chase and GitHub
b0ed8fdd3b
Harrison/final nits ( #845 )
...
* final nits
* cr
* cr
* cr
2024-06-26 21:56:31 -07:00
0bccc19a50
[docs]: restructuring ( #834 )
...
* restructuring
* spelling
* links
* restructuring
* edits
* Update docs/docs/cloud/concepts/index.md
* Update docs/docs/cloud/concepts/index.md
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-06-26 20:21:43 -07:00
Harrison Chase and GitHub
a6e25ba7c1
agent tutorial ( #822 )
...
* cr
* cr
* cr
* cr
* cr
2024-06-26 20:21:09 -07:00
4de8c5a7ce
docs: add concepts faq ( #840 )
...
* docs: add concepts faq
* cr
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-06-26 20:14:44 -07:00
Vadym Barda and GitHub
ebad91e2e1
docs: add postgres checkpointer example ( #839 )
2024-06-26 21:43:58 -04:00
Nuno Campos
1a58af81b3
lib 0.1.2
2024-06-26 16:25:34 -07:00
8e611b42aa
Fix bug in add_conditional_edges when no path_map is provided ( #809 )
...
* Fix bug in add_conditional_edges when no path_map is provided
When an instance of a callable class is passed as the path arg to
add_conditional_edges but no path_map is provided, get_type_hints(path) is
called, which raises a TypeError (since get_type_hints only accepts a module,
class, method, or function).
This patch fixes the error by trying to get type hints from path.__call__ first,
which should work for instances of callable classes.
Tested: Added a test that raises TypeError without the fix in this patch but
passes with the fix.
* More defensive, additional test
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-06-26 16:24:59 -07:00
Andrew Nguonly and GitHub
6ae5958164
docs: Update self-hosted how-to page for LangGraph Cloud ( #808 )
...
* Update self-hosted how-to page.
* Update self-hosted LangGraph Cloud how-to page.
* Add step to publish Docker image.
* Add warning label to Docker compose section.
* Fix spelling error.
* Add update self-hosted docs.
* Update self-hosted page.
2024-06-26 16:12:20 -07:00
Nuno Campos
307c0cfe09
sdkpy 0.1.25
2024-06-26 15:31:57 -07:00
Nuno Campos and GitHub
c6466da098
sdk: Filter assistants by graph_id ( #843 )
2024-06-26 15:23:08 -07:00
Nuno Campos
32e8a2dc50
sdk py 0.1.24
2024-06-26 14:45:12 -07:00
Nuno Campos and GitHub
8d103667c8
sdk: Add support to filter threads by status ( #842 )
2024-06-26 14:44:27 -07:00
Isaac Francisco and GitHub
2657ebb57c
expose webhook option to sdk ( #812 )
2024-06-26 12:13:14 -07:00
Isaac Francisco and GitHub
33d099989b
replace threadless with stateless ( #821 )
2024-06-26 12:12:29 -07:00
Nuno Campos
29a040dc21
cli 0.1.45a0
2024-06-26 11:55:03 -07:00
Nuno Campos and GitHub
5697f07163
cli: Reduce to test and build commands ( #838 )
...
* cli: Reduce to test and build commands
* Bump timeout
* Fix test?
* Fix
* Fix output
2024-06-26 11:53:44 -07:00
Andrew Nguonly and GitHub
fb5f3c972a
Update openapi.json spec to include POST /runs endpoint. ( #837 )
2024-06-26 11:29:58 -07:00
Vadym Barda and GitHub
86c556d01e
cli: release 0.1.43 ( #836 )
2024-06-26 13:45:35 -04:00
Vadym Barda and GitHub
b7580abf45
cli: update CAT -> RUN in the dockerfile ( #816 )
2024-06-26 13:43:34 -04:00
Vadym Barda and GitHub
72ac58d1c2
docs: update persistence in the how-tos ( #833 )
2024-06-26 13:43:23 -04:00
Vadym Barda and GitHub
000a5c5b83
docs: update graph state in readme ( #835 )
2024-06-26 13:43:14 -04:00
Isaac Francisco and GitHub
6caea79fba
webhook ( #810 )
2024-06-26 10:41:29 -07:00
Nuno Campos
fae97d9fba
cli0.1.42
2024-06-26 09:37:25 -07:00
Nuno Campos and GitHub
d16ec4f436
cli: Make base image configurable in build command ( #831 )
...
* cli: Make base image configurable in build command
* Lint
* Fix
2024-06-26 09:36:09 -07:00
William FH and GitHub
66b728e83a
[Docs] Cleanup links in nb ( #828 )
2024-06-26 00:20:20 -07:00
William FH and GitHub
feca5e1970
[Docs] Restore Linkcheck ( #824 )
...
Plus:
1. Improve docstrings of add_node
2. Update crosslinking of sqlite and aiosqlite docstrings
3. Fix a bunch of links so we can turn on strict validation
2024-06-26 00:04:13 -07:00
Jacob Lee and GitHub
c217e4a58d
Update intro to same thread example, update conceptual docs to include checkpoint ( #827 )
2024-06-25 22:20:50 -07:00
Harrison Chase and GitHub
fcdf7a8ced
add links from concepts guide ( #825 )
2024-06-25 22:07:06 -07:00
Jacob Lee and GitHub
720ea986d3
Fix misaligned code block ( #823 )
2024-06-25 21:25:01 -07:00
ab54ae2c23
Harrison/tutorial ( #820 )
...
* first draft edits (#818 )
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
* cr
* cr
---------
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com >
2024-06-25 20:46:01 -07:00
Jacob Lee and GitHub
a5650e1d88
Style nits in quickstart ( #819 )
...
* Style nits in quickstart
CC @andrewnguonly
* Missing quote
* Update quick_start.md
2024-06-25 19:44:19 -07:00
Jacob Lee and GitHub
e49f3f5434
Fix typo ( #817 )
...
CC @andrewnguonly
2024-06-25 19:24:20 -07:00
William FH and GitHub
f9c720f25a
Rm git committers ( #815 )
2024-06-25 17:09:26 -07:00
David Duong and GitHub
5db7a2dc6a
cli: release 0.1.42 ( #813 )
2024-06-26 00:35:28 +01:00
David Duong and GitHub
ac34a4724f
chore(cli): use different container port for debugger ( #811 )
...
* chore(cli): use different container port for debugger
* Fix test
2024-06-26 00:16:50 +01:00
Vadym Barda and GitHub
c13e755c15
docs: add streaming from within a tool ( #807 )
2024-06-25 15:23:18 -04:00
Andrew Nguonly and GitHub
11bf3bde54
docs: Various updates to LangGraph Cloud docs ( #805 )
...
* Change LangGraph Deploy to LangGraph Cloud in CLI reference.
* Update main README to link to Cloud docs. Update How-to Guide link in Cloud index page.
* Create Environments Variable reference page.
* Add Authentication to Conceptual Guide.
* Update setup how-to to refer back to CompiledGraph variable name.
* Update how-to notebooks for double texting.
* Add warning about setting top-level variable for CompiledGraph.
2024-06-25 10:52:23 -07:00
Vadym Barda and GitHub
7490b2b38b
docs: fix concepts page format/links ( #806 )
2024-06-25 13:36:45 -04:00
Vadym Barda and GitHub
97ccdd92b9
docs: add more streaming how-tos ( #803 )
2024-06-25 13:15:53 -04:00
Andrew Nguonly and GitHub
09b0af0630
docs: Add how-to page for LangGraph Studio ( #802 )
...
* Add how-to page for LangGraph Studio.
* Fix spelling error.
* Fix grammar typo.
2024-06-25 01:23:58 -07:00
Andrew Nguonly and GitHub
6a2a81be1c
docs: Create how-to for setting up LangGraph app and how-to for deploying to LangGraph Cloud ( #801 )
...
* Create how-to for setting up LangGraph app and how-to for deploying to LangGraph Cloud.
* Fix spelling errors.
2024-06-25 00:16:44 -07:00
Andrew Nguonly and GitHub
4fb297471b
Update API docs include link to Scalar API site. ( #798 )
2024-06-24 21:11:40 -07:00
Andrew Nguonly and GitHub
317664be63
Create notebooks for creating cron jobs and stateless runs. ( #797 )
2024-06-24 17:03:38 -07:00
Andrew Nguonly and GitHub
265f5012c1
docs: Breakup LangGraph Cloud human-in-the-loop notebook ( #794 )
...
* Breakup how-to pages for human-in-the-loop.
* Update indentation of Python code in notebooks.
2024-06-24 16:30:18 -07:00
Lance Martin and GitHub
93faaea7bd
Update local CRAG ntbk ( #795 )
...
* Update local CRAG ntbk
* fmt
2024-06-24 16:24:20 -07:00
Andrew Nguonly and GitHub
f867315c2d
Add notebook for configuring multiple streaming modes. Update stream events notebook to show token-by-token streaming. ( #792 )
2024-06-24 15:26:59 -07:00
Vadym Barda and GitHub
e80ddab3a5
cli: add analytics ( #754 )
2024-06-24 18:14:56 -04:00
Lance Martin and GitHub
5e8d4e584b
Add CoLab link ( #791 )
2024-06-24 14:52:18 -07:00
Andrew Nguonly and GitHub
ebc9cfb694
docs: Update LangGraph Cloud quickstart ( #788 )
...
* Update Cloud quick start.
* Fix spelling errors.
2024-06-24 13:43:18 -07:00
Andrew Nguonly and GitHub
b3907b33b2
Add JS SDK how-to page. ( #787 )
2024-06-24 13:27:36 -07:00
Andrew Nguonly and GitHub
3e7d32cedb
Update Cloud index page. ( #786 )
2024-06-24 13:12:50 -07:00
11cf3b0510
Add ReAct vs Custom agent tutorial ( #765 )
...
* Add agent tutorial ntbk
* Update and clean
* Update / finalize
* spelling
* fmt
* unused
* Wfh/craggycrag (#781 )
* tmp
* rethought
* Update, finalize analysis
* Update figures
* Remove subdirs
* Fmt
---------
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2024-06-24 13:08:34 -07:00
Vadym Barda and GitHub
66ae1ff9b0
CI: run only on file changes ( #784 )
2024-06-24 14:44:55 -04:00
David Duong and GitHub
393a0e741c
feat(js): add ability to specify custom fetch ( #783 )
...
* feat(js): add ability to specify custom fetch
* Bump to 0.0.1-rc.14
* Fix format
2024-06-24 13:21:58 +01:00
William FH and GitHub
d9b4d021bd
[Docs] Update docstrings ( #780 )
...
To add more color on the meaning of some arguments.
2024-06-23 17:38:26 -07:00
Andrew Nguonly and GitHub
20f84f2041
docs: Create JS/TS SDK reference page ( #779 )
...
* Create JS/TS SDK reference docs.
* Remove index.mts from typedoc entry point.
2024-06-23 17:24:30 -07:00
Harrison Chase and GitHub
070b339b67
Harrison/human in the loop ( #776 )
...
* add human in the loop examples
* cr
* cr
* cr
* cr
* cr
* cr
* cr
2024-06-23 14:35:43 -07:00
Andrew Nguonly and GitHub
f39a22098d
docs: Add Python SDK reference page ( #773 )
...
* Add Python SDK client.
* Update dependencies for docs group.
2024-06-23 12:46:01 -07:00
73e39fcba9
docs: add an example comparing LangGraph & LangGraph API ( #764 )
...
* docs: add an example comparing LangGraph & LangGraph API
* stash
* add cloud docs
* cr
* cr
* cr
* cr
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-06-22 18:33:17 -07:00
Harrison Chase and GitHub
06fe906719
minor changes to cloud docs ( #769 )
...
* stash
* add cloud docs
2024-06-22 18:15:00 -07:00
Harrison Chase and GitHub
616c343034
update tutorials and how to guides for langgraph ( #768 )
...
* stash
* stash
* stash
* cr
* cr
* cr
2024-06-22 17:30:52 -07:00
Harrison Chase and GitHub
a5aef5c450
langgraph conceptual docs ( #767 )
...
* stash
* stash
* cr
* cr
2024-06-22 15:23:44 -07:00
53fd0321cb
Fix typo in ReWOO notebook ( #755 )
...
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-06-22 14:36:21 -07:00
William FH and GitHub
a514ad41d4
Format docs ( #752 )
2024-06-22 14:35:41 -07:00
Nuno Campos and GitHub
b4d815e32a
Add example for context key ( #762 )
2024-06-21 18:15:56 -07:00
Nuno Campos
cf2bda49a0
0.1.1
2024-06-21 18:15:39 -07:00
Nuno Campos and GitHub
99fa57666e
Add support for using Context channel in StateGraph ( #761 )
...
* Add support for using Context channel in StateGraph
* Fix handling of asynccontextmanager funcs
2024-06-21 17:49:52 -07:00
Vadym Barda and GitHub
571f1bac27
docs: minor typos ( #760 )
2024-06-21 20:07:28 -04:00
Vadym Barda and GitHub
44510532ee
docs: add link to api references for create_react_agent ( #759 )
2024-06-21 19:24:14 -04:00
Andrew Nguonly and GitHub
6abcbd5a74
docs: Update API Concepts page, add notebooks for streaming events and streaming debug ( #756 )
...
* Update API Concepts page. Add notebooks for streaming events and streaming debug events.
* Remove localhost URL from notebook example.
2024-06-21 15:38:14 -07:00
Vadym Barda and GitHub
a29f354d9b
docs: update home page ( #753 )
2024-06-21 17:17:32 -04:00
Vadym Barda and GitHub
19dd293c3f
docs: disable TOC on index pages ( #751 )
2024-06-21 15:57:42 -04:00
Vadym Barda and GitHub
c99b63b9d8
docs: update cloud how-tos ( #747 )
2024-06-21 14:04:25 -04:00
Vadym Barda and GitHub
f8e7221cae
cli: release 0.1.41 ( #746 )
2024-06-21 12:19:33 -04:00
Vadym Barda and GitHub
6699f53d53
cli: fix standalone docker compose version str ( #745 )
2024-06-21 12:17:06 -04:00
Andrew Nguonly and GitHub
11a5d39f52
Add waitlist form link. ( #739 )
2024-06-21 07:06:20 -07:00
Vadym Barda and GitHub
f741fbf92e
docs: run codespell on all notebooks ( #736 )
...
* run codespell on all notebooks
* fix codespell
2024-06-20 21:39:13 -04:00
Vadym Barda and GitHub
cae502b8fe
docs: small cleanup ( #733 )
2024-06-20 21:02:27 -04:00
Harrison Chase and GitHub
edfca48549
add intro ( #735 )
2024-06-20 16:04:44 -07:00
Andrew Nguonly and GitHub
e4de6bc49a
docs: Rename deploy directory to cloud ( #732 )
...
* Rename deploy to cloud.
* Fix link for streaming pages.
2024-06-20 14:44:51 -07:00
Vadym Barda and GitHub
3e1e3fbac9
libs: add py.typed ( #729 )
...
* libs: add py.typed
* update
2024-06-20 17:08:35 -04:00
William FH and GitHub
3786a89eaa
Spelling ( #730 )
2024-06-20 14:02:38 -07:00
f27d8e16ad
docs: Add initial LangGraph Cloud docs ( #725 )
...
* Create Deploy docs.
* Add LangGraph CLI docs.
* Update API concepts page.
* Create quick start page.
* first draft (#695 )
* first draft
* fmt
* fmt
* Revert "fmt"
This reverts commit e599030ab5 .
* Revert "fmt"
This reverts commit ec8fca977e .
* var change
* import lint
* changed locations
* second draft
* fmt
* Revert "fmt"
This reverts commit 68a1c5c872 .
* double texting lint
* concepts (#704 )
* concepts
* python sdk
* docs structure
* fmt
* fmt
* Small touch ups, rename Hosted LangGraph API to LangGraph Cloud. (#724 )
* Fix small typos.
* Fix broken links in quick start page.
* Add LangGraph Cloud reference docs.
---------
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com >
2024-06-20 13:38:54 -07:00
Vadym Barda and GitHub
4a38dd45dc
cli: release 0.1.40 ( #728 )
2024-06-20 16:10:28 -04:00
Vadym Barda and GitHub
de5beead0d
cli: fix windows issues ( #723 )
2024-06-20 16:07:15 -04:00
Vadym Barda and GitHub
616de2467c
update deprecation warnings ( #718 )
2024-06-20 15:35:23 -04:00
Vadym Barda and GitHub
adaeff149a
add CLI examples & integration tests ( #711 )
2024-06-20 09:33:20 -04:00
Vadym Barda and GitHub
51dbbc71b3
update release js ( #717 )
2024-06-19 20:43:34 -04:00
Vadym Barda and GitHub
5586b59811
update default directory in release-js ( #716 )
2024-06-19 20:39:27 -04:00
Vadym Barda and GitHub
562b6a2301
sdk-js: release new rc ( #715 )
2024-06-19 20:35:54 -04:00
Vadym Barda and GitHub
301987eecd
add JS release workflow ( #714 )
2024-06-19 20:29:02 -04:00
Vadym Barda and GitHub
cffece7480
langgraph: release 0.1.0 ( #713 )
2024-06-19 17:42:22 -04:00
Vadym Barda and GitHub
19ff4a142f
add test command for sdk-py ( #710 )
2024-06-19 16:00:55 -04:00
Vadym Barda and GitHub
6a926b2034
sdk-py: release 0.1.23 ( #709 )
2024-06-19 15:52:16 -04:00
Vadym Barda and GitHub
63802db0ef
update tagging ( #708 )
2024-06-19 15:47:45 -04:00