Sydney Runkle
1251eeaa48
final test fixes, hopefully
2025-04-22 17:21:56 -07:00
Sydney Runkle
85e73653f9
linting and test fixes
2025-04-22 17:10:54 -07:00
Sydney Runkle and GitHub
a8b70cb23c
Merge branch 'main' into sr/better-interrupts
2025-04-22 13:48:03 -07:00
Sydney Runkle
edd7d608cd
final linting
2025-04-22 13:40:53 -07:00
Sydney Runkle
8977a35060
linting post merge
2025-04-22 13:01:40 -07:00
Sydney Runkle and GitHub
0a6e5a18bb
Merge branch 'main' into pyupgrade-39
2025-04-22 12:30:53 -07:00
Sydney Runkle
abc6323c6c
Merge branch 'sr/better-interrupts' of https://github.com/langchain-ai/langgraph into sr/better-interrupts
2025-04-22 11:39:24 -07:00
Sydney Runkle
d5a1bb05f5
revert changes to lockfile
2025-04-22 11:35:56 -07:00
Sydney Runkle
8506c6655b
more linting
2025-04-22 11:34:38 -07:00
Sydney Runkle and GitHub
44af4d8e3e
Merge branch 'main' into sr/better-interrupts
2025-04-22 11:31:46 -07:00
Sydney Runkle
8e6c0be48a
try linting + maybe test fix
2025-04-22 11:28:09 -07:00
Sydney Runkle
35523f4081
linting
2025-04-22 10:34:24 -07:00
Sydney Runkle
9a7b1fa12a
initial pass - surfacing interrupts for stream_mode='values'
2025-04-22 10:15:19 -07:00
Nuno Campos
b03c647677
Lint
2025-04-22 08:45:50 -07:00
Nuno Campos
5d49188d3e
Lint
2025-04-22 08:41:51 -07:00
Nuno Campos
deeb2d6e92
Fix
2025-04-22 08:36:42 -07:00
Nuno Campos
0db67d4196
Fix
2025-04-22 08:36:42 -07:00
Nuno Campos
56c9c210c3
Fix
2025-04-22 08:36:42 -07:00
Nuno Campos
3398715258
Rewrite graph drawing logic
...
- It now executes the same pregel algo as when the graph is executed (without running any user code in nodes or conditional edges) to discover all the edges
- This means we now support drawing the graph for all Pregel instances, not just StateGraph
2025-04-22 08:36:41 -07:00
William FH and GitHub
a5f5d0c4df
Expose --tunnel flag to dev command ( #4370 )
...
Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2025-04-22 14:23:09 +00:00
Sydney Runkle
cba7d21732
fix tests?
2025-04-21 21:14:14 -07:00
Sydney Runkle
b6ea73ff24
linting for 3.12
2025-04-21 21:01:27 -07:00
Sydney Runkle
1a477e57ff
upgrade to py39 standards
2025-04-21 20:43:40 -07:00
lc-arjun and GitHub
7486adabdf
fix: threads search sorting defaults ( #4365 )
...
Removes default from https://github.com/langchain-ai/langgraph/pull/4362
2025-04-21 20:49:16 -04:00
William FH and GitHub
12ad47e4e8
Use model_validate if needed ( #4363 )
...
If the state schema uses validators, skip the model construct
optimization.
For context, pydantic state can be significantly slower to run than
typed dict and dataclass states due to the full recursive validation.
We have some optimizations to reduce the impact of this (using cached
validators with model_construct), but this doesn't handle things like
field_validator.
We prefer correctness over performance, obviously.
Resolves: https://github.com/langchain-ai/langgraph/issues/4074
Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2025-04-21 21:53:58 +00:00
lc-arjun and GitHub
90f7f776cf
feat: threads sorting sdk spec ( #4362 )
2025-04-21 14:42:43 -07:00
William FH and GitHub
20bd71e289
Bump lockfile ( #4346 )
2025-04-18 08:43:58 -07:00
ba7f9975fa
Fix text fields naming ( #4345 )
...
The configuration expects the key "fields", not "text_fields": I had
failed to update across all implementations in the original PR
Thank you to Vincent Min for the fix!
---------
Co-authored-by: Vincent Min <93780551+VMinB12@users.noreply.github.com >
2025-04-18 08:21:46 -07:00
Tat Dat Duong
6bb06b8702
fix(sdk-js): make sure to wrap client component in UseStreamContext
2025-04-18 01:07:13 +02:00
Vadym Barda and GitHub
3da5c73a04
checkpoint-postgres: release 2.0.20 ( #4335 )
2025-04-17 17:08:18 -04:00
David Duong and GitHub
e818f83a92
feat(cli): add internal docker tag support ( #4333 )
2025-04-17 22:32:31 +02:00
Tat Dat Duong
e478a8deb9
Update schema
2025-04-17 22:25:47 +02:00
Tat Dat Duong
4bbdfbf381
Cleanup
2025-04-17 22:23:44 +02:00
Tat Dat Duong
db1fbe74cc
Revert args
2025-04-17 22:22:43 +02:00
Tat Dat Duong
01ce86ad9b
Bump to 0.2.5
2025-04-17 22:21:42 +02:00
Tat Dat Duong
d5f73fe37b
Add tests
2025-04-17 22:21:23 +02:00
Tat Dat Duong
5a200cd89e
feat(cli): add internal docker tag support
2025-04-17 22:15:10 +02:00
Nuno Campos
6082bcf8d3
0.3.31
2025-04-17 10:01:29 -07:00
18a9ae45f3
Add delete_thread method to Checkpointer class ( #4328 )
...
- Deletes all data associated with a thread_id
- Implemented in InMemory, Sqlite and Postgres checkpointers
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-04-17 16:38:58 +00:00
Vadym Barda and GitHub
49f063e076
langgraph: update min bound for prebuilt ( #4319 )
2025-04-17 13:19:31 +00:00
William FH and GitHub
30f9bcd8de
Make docstring even less ambiguous ( #4308 )
2025-04-16 23:39:04 +00:00
David Duong and GitHub
6ee112851c
fix(cli): only render progress when in TTY ( #4299 )
...
Prevents logging terminal clear commands in non-TTY environments
(LangSmith / CI)
2025-04-16 23:41:35 +02:00
Tat Dat Duong
960f612dd7
Bump to 0.2.4
2025-04-16 23:34:54 +02:00
Tat Dat Duong
43af618bb5
Remove negation
2025-04-16 23:28:07 +02:00
Tat Dat Duong
2fc941c1df
fix(cli): only render progress when in TTY
...
Prevents logging terminal clear commands in non-TTY environments (LangSmith / CI)
2025-04-16 21:25:21 +02:00
Vadym Barda and GitHub
7bafc5dd36
docs: add more prominent workflows link ( #4297 )
2025-04-16 18:29:54 +00:00
Tat Dat Duong
ecb15acb80
feat(sdk-js): export more useStream types, allow loopback clients using globals
2025-04-16 17:10:44 +02:00
Nuno Campos
88ccde6274
Same in get/update state/history
2025-04-15 17:01:01 -07:00
Nuno Campos
5cca153b72
Fix
2025-04-15 16:52:52 -07:00
Nuno Campos
48c08421fa
Stringify thread_id when of a different type
2025-04-15 12:51:33 -07:00