Commit Graph
92 Commits
Author SHA1 Message Date
Nuno CamposandGitHub 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
William FHandGitHub 4849501ccf Copy core context in RunnableCallable (#973) 2024-07-09 20:26:45 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
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 BardaandGitHub c283d7e2ba langgraph: release 0.1.6 (#965) 2024-07-09 12:34:11 -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 CamposandGitHub cf75003cbe cli: Update pip install command 2024-07-09 12:31:08 +01:00
Andrew NguonlyandGitHub fab950acfb Update version of CLI to 0.1.48. (#957) 2024-07-08 18:20:23 -07:00
David DuongandGitHub 293bc2c11f feat(cli): add debugger host CLI flag to specify default base URL (#900) 2024-07-08 20:47:50 -04:00
Andrew NguonlyandGitHub 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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 BardaandGitHub cd3a1cbf8f langgraph: add tool error handling (#910) 2024-07-03 15:12:50 -04:00
Vadym BardaandGitHub 6e8e532995 docs: update readme (#921) 2024-07-03 14:18:32 -04:00
Vadym BardaandGitHub 2093347f8a sdk-js: release 0.0.1 (#918) 2024-07-03 14:07:39 -04:00
William FHandGitHub f380e2301d [Docs] Update README example
Plus add CI check
2024-07-03 10:35:29 -07:00
Vadym BardaandGitHub 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 BardaandGitHub 5e8aa5d9f2 langgraph: update langchain-core & snapshot tests (#909) 2024-07-02 20:37:03 -04: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
William FHandGitHub 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
Isaac FranciscoandGitHub 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 FranciscoandGitHub 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 CamposandGitHub 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 BardaandGitHub 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 BardaandGitHub 2bf4a72d9d langgraph: release 0.1.3 (#876) 2024-06-28 11:51:58 -04:00
Isaac FranciscoandGitHub 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 FHandGitHub 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
Vadym BardaandGitHub 00259d6217 cli: release 0.1.46 (#861) 2024-06-27 15:02:44 -04:00
Vadym BardaandGitHub cd670d9d59 cli: fix asyncio runner bug for 3.10 (#860) 2024-06-27 15:01:47 -04:00
Vadym BardaandGitHub 2c8d4b4e62 docs: add contribution guidelines (#844) 2024-06-27 14:20:01 -04:00
William FHandGitHub c917664f60 [SDK] Cleanup docstring(#841) 2024-06-27 10:23:37 -07:00
William FHandGitHub 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 CamposandGitHub 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 BardaandGitHub 7973df6216 cli: release 0.1.45a1 (#852) 2024-06-27 11:08: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
Nuno Campos 307c0cfe09 sdkpy 0.1.25 2024-06-26 15:31:57 -07:00
Nuno CamposandGitHub 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 CamposandGitHub 8d103667c8 sdk: Add support to filter threads by status (#842) 2024-06-26 14:44:27 -07:00
Isaac FranciscoandGitHub 2657ebb57c expose webhook option to sdk (#812) 2024-06-26 12:13:14 -07:00
Nuno Campos 29a040dc21 cli 0.1.45a0 2024-06-26 11:55:03 -07:00
Nuno CamposandGitHub 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
Vadym BardaandGitHub 86c556d01e cli: release 0.1.43 (#836) 2024-06-26 13:45:35 -04:00