Nuno Campos and GitHub
c8c58b30d5
Merge pull request #2368 from langchain-ai/nc/7nov/control
...
lib: Rename args in Control object
2024-11-07 13:19:12 -08:00
Nuno Campos
b4bed3329c
lib: Rename args in Control object
...
- update_state -> state
- trigger -> goto
2024-11-07 13:12:19 -08:00
Eugene Yurtsev and GitHub
4eec3aa69e
docs: fix some typos ( #2364 )
2024-11-07 14:52:47 -05:00
Vadym Barda and GitHub
35e3276e34
langgraph: add add_sequence to StateGraph ( #2352 )
2024-11-07 13:16:34 -05:00
Nuno Campos and GitHub
b346f4ead8
Merge pull request #2358 from langchain-ai/nc/6nov/kafka-missing-task-id
...
kafka: Add missing task id for TaskNotFound error
2024-11-06 16:48:25 -08:00
Vadym Barda and GitHub
fef748e6cc
docs: add another ignore url pattern to link check ( #2357 )
2024-11-07 00:43:22 +00:00
Nuno Campos
19cc95f7b6
kafka: Add missing task id for TaskNotFound error
2024-11-06 16:41:43 -08:00
Vadym Barda and GitHub
eef65d94ac
docs: fix numbered list in assistant versioning ( #2356 )
2024-11-06 22:17:01 +00:00
Nuno Campos
72d497e052
Move code
2024-11-06 09:02:06 -08:00
Nuno Campos and GitHub
32f58258aa
Merge pull request #2355 from langchain-ai/nc/6nov/loop-match-writes
...
lib: Split out _match_writes util in PregelLoop
2024-11-06 08:55:10 -08:00
Nuno Campos
87d57b434a
lib: Split out _match_writes util in PregelLoop
2024-11-06 08:48:30 -08:00
Nuno Campos and GitHub
4bbbb7d246
Merge pull request #2354 from langchain-ai/nc/6nov/cached-tasks-output-timing
...
lib: For cached tasks, emit output events after task events
2024-11-06 08:29:38 -08:00
Nuno Campos
c1ce3c6b5f
lib: For cached tasks, emit output events after task events
2024-11-06 08:22:54 -08:00
Nuno Campos and GitHub
511de6f5f6
Merge pull request #2353 from langchain-ai/dqbd/runnable-passthrough-test
...
fix(graph): invalid graph representation if RunnablePassthrough is used
2024-11-06 08:14:19 -08:00
Nuno Campos
4dc08cd724
Fix
2024-11-06 08:07:48 -08:00
Tat Dat Duong
d7b9b3b01d
fix(graph): invalid graph representation if RunnablePassthrough is used
2024-11-06 16:34:29 +01:00
Vadym Barda and GitHub
a82ded65c6
docs: fix install/env cell for customer support tutorial ( #2350 )
2024-11-05 19:50:05 -05:00
Brace Sproul and GitHub
1ca49fa568
Merge pull request #2348 from langchain-ai/brace/filter-status-js
...
feat(js-sdk): Add status field in search args
2024-11-05 16:40:23 -08:00
bracesproul
4eb3cd32fa
cr
2024-11-05 16:04:52 -08:00
Brace Sproul and GitHub
80d2a315aa
Merge branch 'main' into brace/filter-status-js
2024-11-05 16:03:58 -08:00
bracesproul
82c9aa8485
feat(js-sdk): Add status field in search args
2024-11-05 16:03:24 -08:00
Nuno Campos and GitHub
8ecfafefbf
Merge pull request #2347 from langchain-ai/nc/5nov/control-serializable
...
lib: Make Control object serializable
2024-11-05 15:34:13 -08:00
Nuno Campos
010564cbb3
lib: Make Control object serializable
2024-11-05 15:24:20 -08:00
Nuno Campos
18a3fa4a00
Ignore unknown tasks
2024-11-05 14:22:23 -08:00
Nuno Campos
de8e487ff1
Add todo
2024-11-05 10:53:42 -08:00
Nuno Campos and GitHub
e5ebdff4d8
Merge pull request #2342 from langchain-ai/nc/5nov/send-test-interrupt-before
...
Add two more test cases for Send + interrupt
2024-11-05 09:34:04 -08:00
Nuno Campos
f283dac325
Add one more test for send-react-interrupt flow with replacing tool call
2024-11-05 09:27:02 -08:00
Nuno Campos
639501809c
api: Add one more test case for send + interrupt before
...
- Testing same exact behavior as send + interrupt after
2024-11-05 09:15:46 -08:00
Nuno Campos and GitHub
36e6b89081
Merge pull request #2333 from langchain-ai/nc/apply-writes-order
...
lib: Enforce write application order in apply_writes
2024-11-05 09:07:23 -08:00
Nuno Campos and GitHub
90639e6cd7
Merge pull request #2332 from langchain-ai/nc/4nov/update-state-latest
...
lib: When updating state from latest, apply pending writes first
2024-11-04 16:59:51 -08:00
Nuno Campos
dec0b7f439
Lint
2024-11-04 16:43:07 -08:00
Nuno Campos
04657408f8
lib: Enforce write application order in apply_writes
...
- Previously order was enforced in prepare_next_tasks, but that's not a good fit for future features
- This changes order between PULL and PUSH tasks, updates from PUSH tasks will now be applied after updates from PULL tasks
2024-11-04 16:39:04 -08:00
Nuno Campos
971d746061
Lint
2024-11-04 16:33:20 -08:00
Nuno Campos
9a2ba8c8cd
lib: When updating state from latest, apply pending writes first
...
- This picks a default value for as_node which matches the node which last acted, even if the step didnt finish (due to an interrupt)
2024-11-04 16:20:21 -08:00
Nuno Campos and GitHub
b50d41bbf3
Merge pull request #2331 from langchain-ai/nc/4nov/get-state-latest-next
...
lib: When getting latest state, alst make `next` reflect pending writes
2024-11-04 16:16:53 -08:00
Nuno Campos
b71fd5092b
lib: When getting latest state, alst make next reflect pending writes
...
- ie. tasks already executed should not show up in `next` list
2024-11-04 16:03:34 -08:00
Nuno Campos and GitHub
f9b151b67f
Merge pull request #2330 from langchain-ai/nc/4nov/test-react-send
...
lib: Add test for react architecture using Send + interrupt_before
2024-11-04 15:58:27 -08:00
William FH and GitHub
7ba9a66301
[Docs] Clarify checkpointer options ( #2328 )
2024-11-04 15:43:00 -08:00
Nuno Campos and GitHub
1b85764bf6
Merge pull request #2329 from langchain-ai/nc/4nov/get-state-apply-pending-writes
...
lib: In calls to get_state apply pending writes
2024-11-04 15:42:23 -08:00
Nuno Campos and GitHub
5e4c928948
Merge pull request #2327 from langchain-ai/nc/4nov/send-tests
...
lib: Add two more tests for Send
2024-11-04 15:42:08 -08:00
Nuno Campos
ae282e3ae1
lib: Add test for react architecture using Send + interrupt_before
...
- Both for cond edge and edgeless graphs
2024-11-04 15:41:02 -08:00
Nuno Campos
de3b654735
Add one more assertion
2024-11-04 15:14:29 -08:00
Nuno Campos
d28734f287
Lint
2024-11-04 15:12:34 -08:00
Nuno Campos
f9409022ed
lib: In calls to get_state apply pending writes
...
- When calling get_state without a checkpoint id (ie to get the latest state) apply any pending writes for current checkpoint
2024-11-04 15:10:12 -08:00
Nuno Campos
8138c88b41
Add async versions
2024-11-04 11:56:31 -08:00
Nuno Campos
38332fd3c6
Lint
2024-11-04 11:55:14 -08:00
Nuno Campos
5606bef3dd
lib: Add two more tests for Send
2024-11-04 11:52:39 -08:00
Vadym Barda and GitHub
895079bbdc
langgraph: release 0.2.45 ( #2326 )
0.2.45
2024-11-04 14:34:07 -05:00
Nuno Campos and GitHub
6aaf80f2fd
Merge pull request #2325 from langchain-ai/nc/4nov/unset-skip-done-tasks
...
lib: Unset skip_done_tasks after each tick of the loop
2024-11-04 11:30:08 -08:00
Vadym Barda and GitHub
2e656d9145
langgraph: add config metadata to pregel loop ( #2323 )
2024-11-04 19:26:34 +00:00