David Duong and GitHub
18a1d60e45
feat(sdk-js): further 2x improvement when SSE ( #3408 )
2025-02-12 16:09:18 -08:00
Tat Dat Duong
5091d5e9fe
Remove ts-node
2025-02-12 15:56:01 -08:00
Tat Dat Duong
da1fae0c72
Cleanup
2025-02-12 15:55:10 -08:00
Tat Dat Duong
7db81d72dc
Cleanup
2025-02-12 15:55:10 -08:00
Tat Dat Duong
4ce387ee28
test
2025-02-12 15:55:09 -08:00
Nuno Campos and Tat Dat Duong
b902db686d
Speed up!
2025-02-12 15:55:07 -08:00
Nuno Campos and GitHub
16be48079e
fix(sdk-js): improve SSE parsing performance by 10x ( #3401 )
2025-02-12 10:08:46 -08:00
Eugene Yurtsev and GitHub
cf3a9ad63e
docs: add timeout to docs delpoy workflow ( #3402 )
2025-02-12 13:04:06 -05:00
David Duong and GitHub
547830ef24
feat(sdk-js): add experimental useStream hook ( #3361 )
...
Experimental `useStream` React hook to make streaming as simple as
possible. Supports branching / forking, message-tuple stream mode for
rendering messages.
Usage: https://github.com/langchain-ai/langchain-nextjs-template/pull/62
2025-02-12 09:39:02 -08:00
Tat Dat Duong
d333e52fce
Simplify types for additional kwargs
2025-02-12 09:16:07 -08:00
Tat Dat Duong
15fe44ddf8
Update deps
2025-02-12 09:13:10 -08:00
Tat Dat Duong
b6aff521e5
Make event listeners a callback
2025-02-12 09:11:44 -08:00
Eugene Yurtsev and GitHub
35ff9f5211
docs: add script to add typescript translations ( #3394 )
...
A script to add typescript translations. We can improve by automatically
adding markdown tabs appropriately and parallelizing the llm calls
2025-02-12 12:07:05 -05:00
Tat Dat Duong
d690fc3e00
Bump to 0.0.39
2025-02-12 08:52:25 -08:00
Tat Dat Duong
3325787af7
fix(sdk-js): improve SSE parsing performance by 10x
2025-02-12 08:51:53 -08:00
Tat Dat Duong
77a3cffa7f
Allow omitting client
2025-02-12 08:50:01 -08:00
Ben Burns and GitHub
d1f2a6c518
chore(docs): update markdown-exec to end sessions after each page ( #3391 )
2025-02-11 21:28:30 +00:00
Eugene Yurtsev and GitHub
b984584851
docs: revert accidental changes to glossary ( #3389 )
2025-02-11 21:09:03 +00:00
bce4545021
docs: vcr only set up for markdown ( #3339 )
...
- PR branch for testing w/ typescript (@benjamincburns )
- implementation needs better cache invalidation for the cassettes
(@eyurtsev)
---------
Co-authored-by: Ben Burns <803016+benjamincburns@users.noreply.github.com >
2025-02-11 15:38:17 -05:00
Vadym Barda and GitHub
29c317887d
langgraph: release to 0.2.71 ( #3388 )
0.2.71
2025-02-11 14:06:04 -05:00
Vadym Barda and GitHub
84a0eca935
langgraph: allow passing destinations to .add_node ( #3384 )
2025-02-11 19:01:45 +00:00
Tat Dat Duong
d9ed1ef52e
Branching
2025-02-11 10:10:54 -08:00
Vadym Barda and GitHub
fda79e00ce
docs: update typo in a tool ( #3385 )
...
Fixes #3383
2025-02-11 13:08:33 -05:00
Tat Dat Duong
3163a60466
Fix typo
2025-02-11 09:58:19 -08:00
Tat Dat Duong
ac05955222
Update peer dependencies
2025-02-11 09:09:08 -08:00
Tat Dat Duong
f3fe30380c
Make sure we clear when switching threads
2025-02-11 09:01:53 -08:00
Tat Dat Duong
2c5ddceeb1
Add submit / stop
2025-02-11 09:01:53 -08:00
Tat Dat Duong
98976e016a
Prevent double Error: Error
2025-02-11 09:01:52 -08:00
Tat Dat Duong
ea8025b719
Add other stream parameters
2025-02-11 09:01:52 -08:00
Tat Dat Duong
735a76a16c
Clean up the API
2025-02-11 09:01:52 -08:00
Tat Dat Duong
a33437964c
Add debugger, that is not exported
2025-02-11 09:01:52 -08:00
Tat Dat Duong
cb9405bcee
Allow update: null
2025-02-11 09:01:52 -08:00
Tat Dat Duong
bd2268404c
Update types
2025-02-11 09:01:51 -08:00
Tat Dat Duong
25f88740c1
feat(sdk-js): add experimental useStream hook
2025-02-11 09:01:51 -08:00
David Duong and GitHub
e9809ae9c1
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
69311a4135
Add feedback stream event
2025-02-11 08:45:15 -08:00
Tat Dat Duong
bb3193c83e
fix(sdk-js): non-ok response is not throwing anymore
2025-02-11 08:45:15 -08:00
Tat Dat Duong
7a2eb614dc
Add ErrorStreamEvent
2025-02-11 08:45:14 -08:00
Tat Dat Duong
7fd6931200
Cleanup types
2025-02-11 08:45:14 -08:00
Tat Dat Duong
cbca07e3db
Rename to more sane event type
2025-02-11 08:45:14 -08:00
Tat Dat Duong
066525b335
Update content
2025-02-11 08:45:14 -08:00
Tat Dat Duong
a1dad43602
feat(sdk-js): strongly-typed messages, state/update-type, stream mode
2025-02-11 08:45:14 -08:00
Vadym Barda and GitHub
1e8f097656
docs: update prebuilt page w/ autogenerated info ( #3381 )
2025-02-11 09:27:01 -05:00
Brace Sproul and GitHub
db26c915a9
fix(sdk-js): Export types ( #3377 )
2025-02-10 18:02:42 -08:00
bracesproul
9b62280fc5
bump dep
2025-02-10 17:47:07 -08:00
bracesproul
515ad8d7a6
fix(sdk-js): Export types
2025-02-10 17:30:19 -08:00
David Duong and GitHub
d378f0e06a
fix(sdk-js): use type instead of interface to avoid TS errors ( #3358 )
...
Allow assigning `threadState?.checkpoint` to the `configurable` object
without TSC throwing "Index signature for type 'string' is missing in
type".
2025-02-10 13:30:25 -08:00
Vadym Barda and GitHub
740870df65
docs: ignore more links in url checker ( #3374 )
2025-02-10 15:27:58 -05:00
Vadym Barda and GitHub
6e20c9f3f9
docs: update codespell config ( #3373 )
2025-02-10 14:35:07 -05:00
Vadym Barda and GitHub
530544234a
docs: add missing file ( #3371 )
2025-02-10 12:49:10 -05:00