William FH and GitHub
e4c7db180e
Release checkpoint-postgres ( #3745 )
2025-03-07 13:51:36 -08:00
3183146141
prebuilt: allow pydantic model as state schema in create_react_agent ( #3559 )
...
Inherited attributes where not considered.
Pydantic model can inherit from other pydantic models. In those cases,
inherited attributes where not considered in the check and the code
fails.
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2025-03-07 16:49:51 -05:00
bracesproul
be37631181
bump version
2025-03-07 12:36:22 -08:00
bracesproul
4b25e28e3e
fix(sdk-js): AIMessage tool call args type
2025-03-07 12:31:18 -08:00
William FH and GitHub
c3df8bd500
Ensure key is string ( #3739 )
...
Mainly relevenat for the in memory store.
2025-03-07 11:21:32 -08:00
William FH and GitHub
d86502421d
Add TTL args for SDKs ( #3728 )
2025-03-06 23:30:48 +00:00
William FH and GitHub
cbf26a5d98
Fix indentation in docstring ( #3727 )
2025-03-06 13:35:20 -08:00
William FH and GitHub
09bd5990d4
Add TTL option for store items ( #3704 )
2025-03-06 13:20:32 -08:00
Arjun Natarajan
49a6704bdc
bump sdk versions js and py
2025-03-06 14:06:03 -05:00
David Duong and GitHub
a430b7fcfb
feat(cli): allow sending UI args ( #3722 )
2025-03-06 19:59:05 +01:00
Nuno Campos and GitHub
48c287d107
feat: update assistant version class ( #3702 )
2025-03-06 10:21:51 -08:00
Tat Dat Duong
0fdc787597
Bump to 0.1.75
2025-03-06 18:04:21 +01:00
Tat Dat Duong
3bd86fc6f5
Update schema
2025-03-06 17:57:51 +01:00
Tat Dat Duong
f1024f7341
feat(cli): allow sending UI args
2025-03-06 17:55:42 +01:00
Tat Dat Duong
9d0186b5bf
Bump to 0.0.47
2025-03-06 17:05:02 +01:00
Tat Dat Duong
40062c40df
Add fallback for components defined at client level
2025-03-06 17:05:02 +01:00
Tat Dat Duong
36bbe059df
Bump to 0.0.47-experimental.0
2025-03-06 17:05:01 +01:00
Tat Dat Duong
52627010cb
Cache promises
2025-03-06 17:05:01 +01:00
Tat Dat Duong
f6781d19ab
Undo version experimental bump
2025-03-06 17:05:01 +01:00
Tat Dat Duong
fcf134a452
Remove @langchain/langgraph-sdk/react-ui/types entrypoint
2025-03-06 17:05:01 +01:00
Tat Dat Duong
80331b88e0
Remove a nesting level
2025-03-06 17:05:01 +01:00
Tat Dat Duong
b37f894f38
Stabilise boostrapping UI context
2025-03-06 17:05:01 +01:00
Tat Dat Duong
79de3dbad3
Fix require symbol
2025-03-06 17:05:00 +01:00
Tat Dat Duong
677fd3ce28
Update entrypoint
2025-03-06 17:05:00 +01:00
Tat Dat Duong
4ee863f30d
Reexport as @langchain/langgraph-sdk/react-ui
2025-03-06 17:05:00 +01:00
Tat Dat Duong
7e060f88a2
Introduce useStreamContext
2025-03-06 17:05:00 +01:00
Tat Dat Duong
f49856af0b
Fix types for collect
2025-03-06 17:05:00 +01:00
Tat Dat Duong
5a7d384e2f
Bump to 0.0.46-experimental.0
2025-03-06 17:05:00 +01:00
Tat Dat Duong
b73b34ddd5
Add apiUrl, assistantId to props
2025-03-06 17:04:59 +01:00
Tat Dat Duong
c9ffd753f5
feat(sdk-js): add react-ui implementation
2025-03-06 17:04:59 +01:00
Tat Dat Duong
e85e157e8f
chore: use prepack hook instead of prepublish
2025-03-06 17:04:59 +01:00
Vadym Barda and GitHub
88e7868885
prebuilt: release 0.1.2 ( #3708 )
2025-03-05 21:40:58 -05:00
Vadym Barda and GitHub
e8dd682320
prebuilt: allow passing RunnableSequence as a model ( #3706 )
2025-03-06 02:37:55 +00:00
Nuno Campos and GitHub
75143b966c
Make pydntic input test stricter ( #3703 )
...
- Now tests a model with inherited fields
2025-03-05 15:30:25 -08:00
Nuno Campos
490e1aab3b
Don't enforce stream order
2025-03-05 15:21:16 -08:00
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