Commit Graph

2743 Commits

Author SHA1 Message Date
Tat Dat Duong dc1e88bd48 Bump to 0.0.43 2025-02-19 15:44:03 +01:00
Tat Dat Duong 0eb2007f33 fix(sdk-js): mark ui-related peer deps as optional 2025-02-19 15:43:36 +01:00
David Duong 4e05f02567 fix(sdk-js): add docs to gitignore path (#3498) 2025-02-19 09:11:19 +01:00
Tat Dat Duong 60016f1e6f fix(sdk-js): add docs to gitignore path 2025-02-19 09:01:43 +01:00
Ben Burns e5e1ac217f chore(docs): fix log line in script (#876) 2025-02-19 03:11:03 +00:00
Ben Burns 5fb715acf5 chore(langgraph): add regression test for PARENT Command (#875) 2025-02-19 16:05:46 +13:00
Eugene Yurtsev 4ed8d820fc chore(docs): fix measurement id (#873) 2025-02-18 22:36:59 +00:00
dependabot[bot] c6c9461462 build(deps-dev): bump rollup from 4.32.1 to 4.33.0 in the npm_and_yarn group across 1 directory (#853)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 14:43:20 +00:00
Ben Burns 9f28e437eb chore(docs): tiny fix to footer line (#866) 2025-02-15 00:51:51 +00:00
Ben Burns b3ee2af5f7 chore(docs): enable analytics, add consent banner & copyright notice (#865) 2025-02-15 13:30:01 +13:00
David Duong ab4a13f2d6 feat(sdk-js): bump to 0.0.42 (#3436) 2025-02-13 16:27:04 -08:00
Tat Dat Duong fd8e1691c0 feat(sdk-js): bump to 0.0.42 2025-02-13 16:17:02 -08:00
Tat Dat Duong 2d9c049655 Update type definitions 2025-02-13 10:57:00 -08:00
David Duong 8245586403 feat(sdk-js): expose branches (#3426) 2025-02-13 10:45:01 -08:00
David Duong 30dc242a8b feat(sdk-js): make "messages" the default key (#3425) 2025-02-13 10:39:17 -08:00
Tat Dat Duong 1c38e2d3f7 feat(sdk-js): make "messages" the default key 2025-02-13 10:36:22 -08:00
Tat Dat Duong c35f07fcc4 feat(sdk-js): expose branches 2025-02-13 10:17:42 -08:00
Vadym Barda f75ad6d73f ci: install mkdocs-insiders only for internal PRs (#862) 2025-02-13 18:15:35 +00:00
Tat Dat Duong c6ecc92349 feat(sdk-js): add docs, how-to guide 2025-02-13 07:44:01 -08:00
Tat Dat Duong 2e2172481b Add docs 2025-02-13 07:12:15 -08:00
Nuno Campos 0bea7921d7 sdk-js 0.0.40 2025-02-12 16:53:02 -08:00
David Duong 4cdccab30b feat(sdk-js): further 2x improvement when SSE (#3408) 2025-02-12 16:09:18 -08:00
Tat Dat Duong 2f46ff24da Remove ts-node 2025-02-12 15:56:01 -08:00
Tat Dat Duong 148a73ba30 Cleanup 2025-02-12 15:55:10 -08:00
Tat Dat Duong b9913926c0 Cleanup 2025-02-12 15:55:10 -08:00
Tat Dat Duong dcd4ee3b8d test 2025-02-12 15:55:09 -08:00
Nuno Campos 1ce7921ad8 Speed up! 2025-02-12 15:55:07 -08:00
Nuno Campos ca1fb7a45e fix(sdk-js): improve SSE parsing performance by 10x (#3401) 2025-02-12 10:08:46 -08:00
Tat Dat Duong bd2d16fdbf Simplify types for additional kwargs 2025-02-12 09:16:07 -08:00
Tat Dat Duong 7bb383cdd7 Update deps 2025-02-12 09:13:10 -08:00
Tat Dat Duong 7642c6363f Make event listeners a callback 2025-02-12 09:11:44 -08:00
Tat Dat Duong abc2eea57d Bump to 0.0.39 2025-02-12 08:52:25 -08:00
Tat Dat Duong 6bff6a2dc7 fix(sdk-js): improve SSE parsing performance by 10x 2025-02-12 08:51:53 -08:00
Tat Dat Duong 88ebbc3cb1 Allow omitting client 2025-02-12 08:50:01 -08:00
Vadym Barda c5a7cb7b45 Release 0.2.46 (#860) 2025-02-12 00:11:37 +00:00
Vadym Barda c1d517da84 langgraph: allow passing model.bindTools() to createReactAgent (#859) 2025-02-12 00:03:47 +00:00
Vadym Barda 0bccd947c3 langgraph: use 'prompt' param for model input preprocessing in create_react_agent (#858) 2025-02-11 15:06:25 -05:00
Tat Dat Duong cf920cae39 Branching 2025-02-11 10:10:54 -08:00
Tat Dat Duong 211ae2c0ee Fix typo 2025-02-11 09:58:19 -08:00
Tat Dat Duong b45e18b45a Update peer dependencies 2025-02-11 09:09:08 -08:00
Tat Dat Duong 01202b9999 Make sure we clear when switching threads 2025-02-11 09:01:53 -08:00
Tat Dat Duong 48734e134d Add submit / stop 2025-02-11 09:01:53 -08:00
Tat Dat Duong cfebf6ad5b Prevent double Error: Error 2025-02-11 09:01:52 -08:00
Tat Dat Duong 65d1964786 Add other stream parameters 2025-02-11 09:01:52 -08:00
Tat Dat Duong d9c6a9a84e Clean up the API 2025-02-11 09:01:52 -08:00
Tat Dat Duong f854a8b463 Add debugger, that is not exported 2025-02-11 09:01:52 -08:00
Tat Dat Duong e98617c383 Allow update: null 2025-02-11 09:01:52 -08:00
Tat Dat Duong b052a948eb Update types 2025-02-11 09:01:51 -08:00
Tat Dat Duong d263451443 feat(sdk-js): add experimental useStream hook 2025-02-11 09:01:51 -08:00
David Duong cffe2d4ef2 feat(sdk-js): strongly-typed messages, state/update-type, stream mode (#3360)
StateType, UpdateType is set on the Client rather than on
`RunsClient.stream` because of lack of partial type arguments
application.

This PR also describes the message serialization format emitted by
LangGraph Server (which may change ie. converting `type` to `role`).
Avoiding direct import of `@langchain/core` for the core LangGraph SDK
client, thus these types were copied from `@langchain/core` (a script is
used to aid with keeping track with core)
2025-02-11 08:56:02 -08:00