Arjun Natarajan
003226cef4
expose assistantbase
2025-03-05 16:47:18 -05:00
Arjun Natarajan
098a199cb9
update assistant version class
2025-03-05 15:39:34 -05:00
Nuno Campos
97f6f45993
Make pydntic input test stricter
...
- Now tests a model with inherited fields
2025-03-05 11:15:08 -08:00
Tat Dat Duong
5fa6bb5f55
feat(sdk-js): bump to 0.0.46
2025-03-05 11:08:59 +01:00
David Duong and GitHub
d29e9e22c7
feat(sdk-js): useStream expose callerOptions and defaultHeaders ( #3688 )
2025-03-05 10:42:57 +01:00
David Duong and GitHub
22e60c47cc
fix(sdk-js): stream intermediate values with messages-tuple ( #3664 )
...
We still need intermediate messages to ensure the client state and
server state is in-sync as quickly as possible.
2025-03-05 10:33:05 +01:00
Nuno Campos and GitHub
d9396c38ea
chore(langgraph): fix typing of task decorator ( #3670 )
...
An async function of the form `def foo(P) -> T` has type `Callable[[P],
Awaitable[T]]`. The old type annotations then converted the function
into a `Callable[[P], SyncAsyncFuture[Awaitable[T]]]` which is
incorrect.
The change introduced in this commit updates the type annotations to
ensure the `Awaitable[T]` is correctly unwrapped.
I've tested it locally and confirmed it work on:
```python
@task
def sync_fn(a: int) -> int: ...
@task
def async_fn(a: int) -> int: ...
```
Let me know if you want me to add tests, just let me know how you test
type annotations.
2025-03-04 17:05:35 -08:00
Vadym Barda and GitHub
ff60ee8c9a
langgraph: release 0.3.5 ( #3690 )
2025-03-04 19:29:05 -05:00
Vadym Barda and GitHub
8761721fb9
langgraph: do not pass subgraph state on Command.parent updates ( #3686 )
2025-03-04 19:21:03 -05:00
William FH and GitHub
de85e7c246
Add json schema to CLI ( #3684 )
...
So you have cute IDE autocomplete / language server checking.
2025-03-04 23:48:27 +00:00
Tat Dat Duong
af14a2abbc
feat(sdk-js): useStream expose callerOptions and defaultHeaders
2025-03-05 00:29:25 +01:00
Tat Dat Duong
e466c2c90c
fix(sdk-js): handle threadId: undefined as controlled
2025-03-05 00:20:59 +01:00
Nuno Campos
815a67ef55
0.3.4
2025-03-04 14:33:27 -08:00
Nuno Campos and GitHub
38f1b415a0
When rehydrating a pydantic module, fallback to returning the kwargs dict ( #3685 )
...
- when the class can't be found, or can't be constructed, fallback to
returning the kwargs dict, instead of returning nothing
2025-03-04 14:31:57 -08:00
Nuno Campos
ed78174adf
Lint
2025-03-04 14:21:18 -08:00
Nuno Campos
5da6971a95
When rehydrating a pydantic module, fallback to returning the kwargs dict
...
- when the class can't be found, or can't be constructed, fallback to returning the kwargs dict, instead of returning nothing
2025-03-04 14:10:49 -08:00
256e92bfb3
Pregel.config_schema should use config_type directly when present ( #3641 )
...
- the previous behavior of re-creating model through config_specs would
lose custom annotations on config_type
---------
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-03-04 16:14:54 -05:00
Vadym Barda and GitHub
3d4e5c0471
sdk-py: fix decode_json in sdk ( #3681 )
2025-03-04 20:05:16 +00:00
Nuno Campos
ffc916e38c
0.3.3
2025-03-04 10:22:01 -08:00
Nuno Campos
137dcce5b5
Retry condition for resuming flag should apply only to top graphs
2025-03-04 09:51:13 -08:00
JP-Ellis and GitHub
48164a95da
chore: whitespace cleanup ( #3671 )
...
Uncovered while working on #3670 . Feel free to close if too minor to
merge.
Signed-off-by: JP-Ellis <josh@jpellis.me >
2025-03-04 23:45:47 +13:00
JP-Ellis
3926e83884
chore(langgraph): fix typing of task decorator
...
An async function of the form `def foo(P) -> T` has type `Callable[[P],
Awaitable[T]]`. The old type annotations then converted the function
into a `Callable[[P], SyncAsyncFuture[Awaitable[T]]]` which is
incorrect.
The change introduced in this commit updates the type annotations to
ensure the `Awaitable[T]` is correctly unwrapped.
Signed-off-by: JP-Ellis <josh@jpellis.me >
2025-03-04 16:54:53 +11:00
Nuno Campos
d98c7248dc
Oops
2025-03-03 17:33:27 -08:00
Nuno Campos
ac2736f18e
When retrying a previously attempted run, resume from previous checkpoint
...
- Ignore input if being passed in when a checkpoint already exists for that run_id
2025-03-03 17:31:45 -08:00
Tat Dat Duong
fc130a52ef
fix(sdk-js): stream intermediate values with messages-tuple
...
We still need intermediate messages to ensure the client state and server state is in-sync as quickly as possible.
2025-03-03 17:19:45 +01:00
Vadym Barda and GitHub
7d025e42ef
langgraph: release 0.3.2 ( #3649 )
2025-02-28 18:13:23 -05:00
Vadym Barda and GitHub
4e9ed36f76
langgraph: unset resuming flag to avoid propagating to subgraphs ( #3647 )
2025-02-28 23:11:54 +00:00
Vadym Barda and GitHub
5d73df6133
sdk-py: fix docstring for runs.list ( #3646 )
...
Fixes #3645
2025-02-28 15:43:49 -05:00
Vadym Barda and GitHub
a1c676707c
cli: update api version ( #3632 )
2025-02-27 13:57:07 -05:00
Vadym Barda and GitHub
38b19fa99c
docs: update README ( #3626 )
2025-02-27 10:47:20 -05:00
Vadym Barda and GitHub
7580ad6005
langgraph: release 0.3.1 ( #3623 )
2025-02-27 10:08:02 -05:00
Vadym Barda and GitHub
eb8aa6b761
langgraph: add prebuilt dependency ( #3622 )
2025-02-27 10:07:04 -05:00
Vadym Barda and GitHub
745eb90a6d
prebuilt: remove langgraph dependency ( #3620 )
2025-02-27 09:41:43 -05:00
Vadym Barda and GitHub
3778f6113c
prebuilt: release 0.1.0 ( #3610 )
2025-02-26 18:48:03 -05:00
Vadym Barda and GitHub
24c13c211e
langgraph: separate prebuilt into a standalone package ( #3589 )
2025-02-26 18:33:07 -05:00
Vadym Barda and GitHub
2e36189c16
langgraph: release 0.2.76 ( #3609 )
2025-02-26 16:41:28 -05:00
Vadym Barda and GitHub
dac11f875c
langgraph: fix get_state(subgraphs=True) for checkpointer=True ( #3607 )
2025-02-26 20:43:46 +00:00
Vadym Barda and GitHub
dd293dad30
langgraph: release 0.2.75 ( #3602 )
2025-02-26 11:47:16 -05:00
Vadym Barda and GitHub
30811d7841
langgraph: add py.typed files to modules ( #3600 )
2025-02-26 16:41:51 +00:00
Nuno Campos
1bb0037450
langgraph: stream_mode=messages should not emit input or state messages
...
- any messages seen in inputs in on_chain_start should not be emitted
2025-02-25 19:00:33 -08:00
Nuno Campos and GitHub
50c53d3120
checkpoint-sqlite: update aiosqlite bounds ( #3540 )
...
aiosqlite 0.21.0 was released on Feb 2
It seems to be a maintenance release:
https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md#v0210
2025-02-25 16:56:10 -08:00
Nuno Campos and GitHub
678eb5cdbe
pregel: update validation error messages ( #3517 )
...
OK not including as well, but this was useful for troubleshooting as a
new user (especially before there were any examples)
2025-02-25 16:45:57 -08:00
William Fu-Hinthorn
b5a981d82d
Review
2025-02-25 11:58:01 -08:00
William Fu-Hinthorn
f679348327
StreamMode in Join [sdk]
2025-02-25 11:14:38 -08:00
Tat Dat Duong
d3b9a96504
feat(react): support interrupt_before/after
2025-02-25 17:57:12 +01:00
Tat Dat Duong
a290984362
fix(react): avoid implicitly streaming values if not needed
2025-02-25 15:58:21 +01:00
Eugene Yurtsev and GitHub
8658a5dc0b
docs: add pregel conceptual doc ( #3516 )
...
* Update API Reference for Pregel
* Add conceptual page for Pregel
* The content for the two is very similar at the moment (i.e.,
duplicated content). This is usually a bad sign, but in this case I'm OK
duplicating information along both paths since the underlying algorithm
sets us apart from other implementations.
2025-02-24 17:48:03 -05:00
Theodore Ni and GitHub
e6681bc175
Merge branch 'main' into update-aiosqlite-bounds
2025-02-22 06:16:58 -06:00
Nino Risteski and GitHub
078b335448
chore(checkpoint): fix typos in README ( #3553 )
2025-02-22 11:10:09 +00:00
Theodore Ni
a9cdb9c948
checkpoint-sqlite: update aiosqlite bounds
2025-02-20 14:51:51 -08:00