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
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
Vadym Barda and GitHub
29c317887d
langgraph: release to 0.2.71 ( #3388 )
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
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
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
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
William FH and GitHub
e81979827f
Support index embed specification via string ( #3317 )
...
So you can do
```
from langgraph.store.memory|posgres|etc. import InMemoryStore
InMemoryStore(index={"embed": "openai:text-embedding-3-small"})
```
2025-02-09 02:09:10 +00:00
Tat Dat Duong
2064ea4793
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
bracesproul
4321d337d6
release(sdk-js): 0.0.37
2025-02-07 12:35:51 -08:00
bracesproul
9a3f96c459
fix(sdk-js): Remove default fetch timeout
2025-02-07 12:17:34 -08:00
Vadym Barda and GitHub
a6b8098548
cli: release 0.1.71 ( #3342 )
2025-02-06 17:51:48 -05:00
Vadym Barda and GitHub
0631f19ef9
langgraph: release 0.2.70 ( #3341 )
2025-02-06 17:50:08 -05:00
Eugene Yurtsev and GitHub
e9b0bc4d3b
cli: patch to convert graphs paths to posix ( #3318 )
...
* Convert graph paths to POSIX for docker.
* Will set up windows build in a separate PR (some issue w/ pulling down
the image) https://github.com/langchain-ai/langgraph/pull/3271
* Fix for https://github.com/langchain-ai/langgraph/issues/2061
2025-02-06 17:29:57 -05:00
Vadym Barda and GitHub
eb19b80d13
langgraph: add agent name to AI messages in create_react_agent ( #3340 )
2025-02-06 17:24:53 -05:00
Nuno Campos and GitHub
e5ccdd91c2
fix(langgraph): Dedupe input (right-side) messages in add_messages ( #3338 )
...
Port: https://github.com/langchain-ai/langgraphjs/pull/846
2025-02-06 13:25:20 -08:00
jacoblee93
871f15a630
Merge branch 'jacob/dedupe' of github.com:langchain-ai/langgraph into jacob/dedupe
2025-02-06 11:52:29 -08:00
jacoblee93
32aa87d4b2
Add test
2025-02-06 11:52:13 -08:00
Nuno Campos
55a3352e9b
One more
2025-02-06 11:34:45 -08:00
Nuno Campos
6adaa6cf78
Fix up
2025-02-06 11:33:54 -08:00
Vadym Barda and GitHub
28172a2767
langgraph: allow setting custom names for compiled graph / compiled state graph ( #3337 )
2025-02-06 19:33:02 +00:00
jacoblee93
028137a51a
Format
2025-02-06 11:28:10 -08:00
jacoblee93
c3847fae6c
Dedupe input (right-side) messages in add_messages
2025-02-06 11:26:15 -08:00
William FH and GitHub
3daa4ae466
Update name to InMemorySaver ( #2044 )
...
(Keep MemorySaver around for backwards compatibility)
"MemorySaver" is ambiguous: is it saving memories? Where is it saving
memories to?
InMemorySaver aligns naming InMemoryStore as well as similar LangChain
objects (InMemoryVectorStore, etc.)
2025-02-05 22:04:25 -08:00
Vadym Barda and GitHub
098d5ec403
langgraph: update RunnableLike to support injected kwargs ( #3288 )
...
Fixes #3257
2025-02-03 11:25:20 -05:00
Vadym Barda and GitHub
c0db7f4d09
docs: revamp streaming how-to guides + update redirects ( #3274 )
2025-01-31 18:04:51 -05:00
Vadym Barda and GitHub
15af8a9e6c
Revert "docs: revamp streaming how-to guides ( #3239 )" ( #3270 )
...
This reverts commit d5b0ad2cf6 .
2025-01-31 15:52:58 -05:00
Vadym Barda and GitHub
d5b0ad2cf6
docs: revamp streaming how-to guides ( #3239 )
2025-01-31 15:14:26 -05:00