Commit Graph

2755 Commits

Author SHA1 Message Date
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
Tat Dat Duong 3ce2561479 feat(api): resumable streams 2025-05-16 11:55:43 -07:00
David Duong 278a921701 feat(sdk-js): expose ID for SSE events, update joinStream (#4547) 2025-05-16 20:53:39 +02:00
Tat Dat Duong 32c4691e23 Remove onResponse 2025-05-16 11:52:07 -07:00
Tat Dat Duong f932a4844a Bump to 0.0.75 2025-05-16 11:50:35 -07:00
Tat Dat Duong 3f7876027d Fix tests 2025-05-16 11:50:09 -07:00
Tat Dat Duong 738383cf4b Add onRunCreated callback 2025-05-16 11:43:40 -07:00
Tat Dat Duong d8ebce9687 Add callback for response object to get headers 2025-05-16 11:43:39 -07:00
Tat Dat Duong 1cdc2ecab0 feat(sdk-js): expose ID for SSE events, update joinStream 2025-05-16 11:43:39 -07:00
Tat Dat Duong f3acc9f497 package.json 2025-05-16 10:53:06 -07:00
Tat Dat Duong ad4cbf5e47 feat(sdk-js): switch from jest to vitest, add useStream FE tests 2025-05-16 10:48:11 -07:00
David Duong 456c8c4e50 Merge pull request #75 from langchain-ai/dqbd/0.0.35
release: 0.0.35
2025-05-16 13:51:39 +02:00
Tat Dat Duong 2bd0712ccd release: 0.0.35 2025-05-16 04:51:17 -07:00
David Duong f56a00e315 Merge pull request #74 from langchain-ai/dqbd/schema-inference-parallel
fix(api): reuse ts.Program as much as possible
2025-05-16 13:50:17 +02:00
Tat Dat Duong ef5169744e fix(api): reuse ts.Program as much as possible 2025-05-15 21:27:21 -07:00
dependabot[bot] 932087606c build(deps): bump undici in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [undici](https://github.com/nodejs/undici).


Updates `undici` from 5.28.5 to 5.29.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.5...v5.29.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 5.29.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 16:42:37 +00:00
David Duong 027d75835e Merge pull request #73 from langchain-ai/dqbd/api-prevent-update-while-run-is-executing
fix(api): block updates to state while run is in-flight
2025-05-14 01:35:56 +02:00
Tat Dat Duong 5eeddbba76 Bump to 0.0.34 2025-05-13 15:59:17 -07:00
Ben Burns c89bab398f release(langgraph-checkpoint-sqlite): 0.1.5 (#1185) 2025-05-13 15:47:38 -07:00
Tat Dat Duong 2c13e458f6 fix(api): block updates to state while run is in-flight
Implements https://github.com/langchain-ai/langgraph-api/pull/830
2025-05-13 15:45:21 -07:00
Ben Burns 824f41738b release(langgraph-checkpoint-sqlite): 0.1.5 checkpoint-sqlite==0.1.5 2025-05-13 15:44:37 -07:00
Ben Burns a7ba96e82b release(langgraph-supervisor): 0.0.12 (#1181) 2025-05-12 20:25:48 -07:00
Ben Burns b968abecb8 release(langgraph-supervisor): 0.0.12 supervisor==0.0.12 2025-05-12 20:20:36 -07:00
Ben Burns 8a6149dc73 chore(supervisor): bump minimum langgraph version (#1180) 2025-05-12 20:18:59 -07:00