Tat Dat Duong
3166369f6d
Add missing devDeps
2025-05-22 13:30:33 +02:00
Tat Dat Duong
60fce0e9c6
Fix build
2025-05-22 13:23:38 +02:00
Tat Dat Duong
33afa99159
Scope install
2025-05-22 13:22:01 +02:00
Tat Dat Duong
148c5c39ad
Update CI
2025-05-22 13:16:44 +02:00
Tat Dat Duong
bb32cb0c95
chore: consolidate to yarn to prepare merge
2025-05-22 13:10:51 +02:00
David Duong
1a4e0228c5
feat(langgraph): add addSequence method ( #1201 )
2025-05-21 22:43:32 +02:00
Tat Dat Duong
e9f75cdb1c
Fix typo
2025-05-21 17:54:35 +02:00
Tat Dat Duong
c01999443c
feat(langgraph): add interface for adding multiple nodes in parallel
...
Similar to #1201 , it is more desirable to add multiple nodes at once, instead of doing multiple calls to `addNode`. Accepts both the tuple syntax and the `Record<string, function>` syntax.
2025-05-21 17:46:35 +02:00
Tat Dat Duong
6c2ff10a11
Fix formatting
2025-05-21 17:46:10 +02:00
Tat Dat Duong
339d417d98
Add option to provide metadata for each node
2025-05-21 17:42:37 +02:00
Tat Dat Duong
033ed9989d
feat(langgraph): add addSequence method
...
Port of https://github.com/langchain-ai/langgraph/pull/2352 , allows both [key: string, action: function][] and { [key: string]: function }
Objects might be a little bit strange, but I think in current JS engine implementation of `Object.entries` is reasonably defined for us to do this.
> Within each component of the prototype chain, all non-negative integer keys (those that can be array indices) will be traversed first in ascending order by value, then other string keys in ascending chronological order of property creation.
2025-05-21 16:22:29 +02:00
David Duong
02db6a6cc8
chore(langgraph): use vitest for unit tests ( #1115 )
2025-05-21 15:11:08 +02:00
David Duong
3c17672edc
release(langgraph): 0.2.73 ( #1200 )
0.2.73
2025-05-21 15:06:58 +02:00
Tat Dat Duong
5650ef61cc
release(langgraph): 0.2.73
2025-05-21 15:05:47 +02:00
Tat Dat Duong
936fde046a
Add Node 18.x workaround
2025-05-21 14:51:06 +02:00
Tat Dat Duong
2ad52f5416
Use --mode instead of CLI args
2025-05-21 14:26:28 +02:00
Divy Srivastava
18a85b4a48
Fixes
...
x
Fixes
Update more tests
yarn.lock fixes
fix(langgraph): fix build, remove unused jest stuff, tests still fail
2025-05-21 03:50:46 +02:00
David Duong
9c1f917e65
Merge pull request #78 from langchain-ai/dqbd/0.0.37
...
release: 0.0.37
2025-05-20 16:05:58 +02:00
Tat Dat Duong
4adc25b413
release: 0.0.37
2025-05-20 16:05:34 +02:00
David Duong
075cc7bea6
Merge pull request #77 from langchain-ai/dqbd/schema-suffix-dedupe
...
fix(api): make sure export types are not overlapping
2025-05-20 16:04:37 +02:00
Tat Dat Duong
dad9f3e29b
fix(api): make sure export types are not overlapping
2025-05-20 15:56:17 +02:00
David Duong
0b14c560f6
Merge pull request #76 from langchain-ai/dqbd/0.0.36
...
release: 0.0.36
2025-05-20 14:26:43 +02:00
Tat Dat Duong
1bbf69a79e
release: 0.0.36
2025-05-20 14:26:29 +02:00
David Duong
25e2338aab
Merge pull request #65 from langchain-ai/dqbd/resumable-streams
...
feat(api): resumable streams
2025-05-20 14:25:31 +02:00
Tat Dat Duong
ad644bd985
Mark resumability as an optional feature
2025-05-20 14:19:45 +02:00
David Duong
f4e418d399
feat(sdk-js): add stream_resumable flag, that marks the stream as resumable ( #4757 )
2025-05-20 14:16:39 +02:00
Tat Dat Duong
33327d921d
Bump to 0.0.77
2025-05-20 14:14:48 +02:00
Tat Dat Duong
d098b54999
feat(sdk-js): add stream_resumable flag, that marks the stream as resumable
2025-05-20 14:13:47 +02:00
David Duong
f6c061f79f
fix(langgraph): allow restoring falsy values from channels ( #1192 )
2025-05-19 20:44:24 +02:00
David Duong
01e39c82f0
fix(docs): update typo in define-state ( #1193 )
2025-05-19 17:07:18 +02:00
Tat Dat Duong
061ae951ed
fix(docs): ensure that we're not calling .addNode / .addEdge without existing reference to StateGraph builder
...
Closes Type System Mismatch Between Documentation and Implementation #1143
2025-05-19 16:56:04 +02:00
Tat Dat Duong
ca21d29970
fix(docs): remove await for streamEvents
...
Closes Docs issue: `await agent.streamEvents()` is complained by TypeScript because it's not `Promise` #1086
2025-05-19 16:39:37 +02:00
Tat Dat Duong
685fd15802
fix(docs): update typo in define-state
...
Closes Typo "convince" under "How to define graph state" documentation section #1113
2025-05-19 16:35:45 +02:00
Tat Dat Duong
a307ee9274
fix(langgraph): allow restoring falsy values from channels
...
Fixes State fields are not persisted if of type `number` and the value is `0` (MemorySaver) #1182
2025-05-19 14:53:42 +02:00
David Duong
434ae418c7
fix(langgraph): update troubleshooting links ( #1190 )
2025-05-19 14:29:51 +02:00
Tat Dat Duong
95ff0fc3cc
Test
2025-05-19 13:53:08 +02:00
Tat Dat Duong
cf30a2a288
Fix tests
2025-05-19 13:49:15 +02:00
Tat Dat Duong
6ef3eb3498
fix(langgraph): update troubleshooting links
2025-05-19 03:02:20 +02:00
Tat Dat Duong
97954aff34
Add exposeHeaders: content-location
2025-05-17 21:33:02 +01:00
Tat Dat Duong
4b4fae3bbe
Make sure to expose the header
2025-05-17 21:30:38 +01:00
Brace Sproul
0059714e86
release(sdk-js): 0.0.76 ( #4733 )
2025-05-16 14:59:50 -07:00
bracesproul
e75f6c1863
release(sdk-js): 0.0.76
2025-05-16 14:56:56 -07:00
David Duong
4727a6c797
fix: Allow users to config whether or not stream subgraphs ( #4732 )
2025-05-16 23:51:25 +02:00
bracesproul
adf5358073
cr
2025-05-16 14:49:57 -07:00
bracesproul
049a31d007
fix: Allow users to config whether or not stream subgraphs
2025-05-16 14:49:28 -07:00
Tat Dat Duong
6bd6e154a0
Update to 0.0.75
2025-05-16 12:00:06 -07:00
Tat Dat Duong
8452883f8f
Use a list instead of complex ID
2025-05-16 11:55:44 -07:00
Tat Dat Duong
27eaa1ed49
Use updated (not-released) client
2025-05-16 11:55:44 -07:00
Tat Dat Duong
46b1da4979
Add Content-Location headers to avoid streaming from body
2025-05-16 11:55:43 -07:00
Tat Dat Duong
872c018571
Remove console.log
2025-05-16 11:55:43 -07:00