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
Tat Dat Duong
7865f8e40f
Add feedback stream event
2025-02-11 08:45:15 -08:00
Tat Dat Duong
2d855c6933
fix(sdk-js): non-ok response is not throwing anymore
2025-02-11 08:45:15 -08:00
Tat Dat Duong
ffd7c57640
Add ErrorStreamEvent
2025-02-11 08:45:14 -08:00
Tat Dat Duong
8d8b34a617
Cleanup types
2025-02-11 08:45:14 -08:00
Tat Dat Duong
a2c5eb23e9
Rename to more sane event type
2025-02-11 08:45:14 -08:00
Tat Dat Duong
f421c13885
Update content
2025-02-11 08:45:14 -08:00
Tat Dat Duong
da3a1a862d
feat(sdk-js): strongly-typed messages, state/update-type, stream mode
2025-02-11 08:45:14 -08:00
Vadym Barda
3b77b9853b
docs: add adopters ( #857 )
2025-02-11 02:07:32 +00:00
Brace Sproul
ce80114cf9
fix(sdk-js): Export types ( #3377 )
2025-02-10 18:02:42 -08:00
bracesproul
5aaf07f5b6
bump dep
2025-02-10 17:47:07 -08:00
Vadym Barda
2447aefeb6
langgraph: export AnnotationRoot ( #856 )
2025-02-10 20:34:50 -05:00
bracesproul
be64b1a937
fix(sdk-js): Export types
2025-02-10 17:30:19 -08:00
Vadym Barda
7e78d7b568
langgraph: allow setting custom names for compiled graph / compiled state graph ( #852 )
2025-02-10 19:01:21 -05:00
Jacob Lee
fa2a1fdf46
docs: Fix human in the loop concept example ( #854 )
2025-02-10 21:58:57 +00:00
vbarda
7f47f2e2b8
first commit
2025-02-10 11:38:05 -08:00
David Duong
e9f972ebc5
Merge pull request #9 from langchain-ai/dqbd/custom-mode
...
fix(api): add custom events stream mode back
2025-02-09 07:50:42 -08:00
David Duong
3a7f6cf5e1
fix(messages): reuse the first valid message ID for subsequent chunks ( #798 )
2025-02-09 15:45:04 +00:00
David Duong
0b9f1dbda9
fix(remote): use "messages-tuple" when requesting "messages" ( #799 )
2025-02-09 16:25:32 +01:00
Tat Dat Duong
1b8e74bba8
fix(api): add custom events stream mode back
2025-02-09 07:13:30 -08:00
Tat Dat Duong
3507b1ad69
fix(sdk-js): use type instead of interface to avoid TS errors
...
Allow assigning `threadState?.checkpoint` to the `configurable` object without TSC throwing "Index signature for type 'string' is missing in type".
2025-02-08 10:32:28 -08:00
Brace Sproul
8b84b36e20
release(sdk-js): 0.0.37 ( #3354 )
2025-02-07 12:44:55 -08:00
bracesproul
08d26785ad
release(sdk-js): 0.0.37
2025-02-07 12:35:51 -08:00
bracesproul
55a971c955
fix(sdk-js): Remove default fetch timeout
2025-02-07 12:17:34 -08:00
Jacob Lee
0290aef415
Release 0.2.45 ( #848 )
2025-02-06 11:59:24 -08:00
jacoblee93
ea424909be
Release 0.2.45
0.2.45
2025-02-06 11:56:25 -08:00
Jacob Lee
d0cb9eab33
fix(langgraph): Update messagesStateReducer behavior to apply rightMessages in order ( #847 )
2025-02-06 11:53:27 -08:00
Jacob Lee
ae6e5b25e0
fix(langgraph): Dedupe input (right-side) messages in messageStateReducer ( #846 )
2025-02-06 11:28:29 -08:00
Eugene Yurtsev
d63df561a8
ci: add llms-text ( #845 )
2025-02-05 16:10:50 -05:00
Eugene Yurtsev
798a53c41d
qxqx
2025-02-05 16:04:38 -05:00
Eugene Yurtsev
0505789617
docs: generate llms-text ( #844 )
2025-02-05 14:08:44 -05:00
Eugene Yurtsev
cb21b37575
x
2025-02-05 14:06:10 -05:00
David Duong
b200729d9c
Merge pull request #8 from langchain-ai/dqbd/create-remove-yarn-
...
feat(create): git init, attempt to detect package manager, bump to 0.0.3
2025-02-05 03:31:24 +01:00
Tat Dat Duong
f43bb823e6
feat(create): git init, attempt to detect package manager, bump to 0.0.3
2025-02-05 03:30:40 +01:00
Tat Dat Duong
99f00dea42
Add test root script, update README.md
2025-02-05 02:30:14 +01:00
Tat Dat Duong
8bfbeafb9c
Add missing repository entries
2025-02-05 02:13:47 +01:00
Tat Dat Duong
b676c82e6a
Add format check
2025-02-05 02:09:05 +01:00
Tat Dat Duong
4a814583f9
Specify PNPM version in GHA
2025-02-05 02:04:41 +01:00
Tat Dat Duong
2e6dc94f02
Use pnpm 10.2.0
2025-02-05 02:03:21 +01:00