Commit Graph
111 Commits
Author SHA1 Message Date
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 CamposandGitHub 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
Vadym BardaandGitHub 79dc1a64b3 langgraph: allow passing custom state & let message modifiers access state in create_react_agent (#1023) 2024-07-16 20:41:17 -04:00
William FHandGitHub 6fd1dc5697 Add note to docstring (#1035) 2024-07-16 08:43:49 -07:00
Vadym BardaandGitHub ebeebcd095 sdk-js: release 0.0.2 (#1033) 2024-07-16 09:20:25 -04:00
Vadym BardaandGitHub 3713ba66a8 sdk-js: add thread_id and if_exists to ThreadsClient.create (#1032) 2024-07-16 09:18:22 -04:00
BagaturandGitHub 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 CamposandGitHub 5444563fdc Only render end node if there is an edge leading to it (#1022) 2024-07-15 11:26:05 -07:00
Vadym BardaandGitHub fad4de789f sdk-py: release 0.1.26 (#1026) 2024-07-15 13:44:41 -04:00
Vadym BardaandGitHub 647c5737f0 sdk-py: add if_exists to threads.create (#1009) 2024-07-15 12:15:43 -04:00
Nuno CamposandGitHub 8cf10fa460 Specific error when updating state as an unknown node (#1015) 2024-07-14 06:54:01 -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
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 CamposandGitHub 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
Vadym BardaandGitHub 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 BardaandGitHub 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 BardaandGitHub 8c4da2c41c sdk-py: add create_batch method (#988) 2024-07-10 17:37:56 -04:00
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