Eugene Yurtsev and GitHub
5d7e818882
sdk: Add headers to sync client ( #4012 )
...
Add ability to pass run time headers to the sync client.
2025-03-25 14:58:33 -04:00
Eugene Yurtsev and GitHub
c598fee7d6
sdk-py: Propagate headers in the async client ( #4001 )
...
Propagate headers in the async client
2025-03-24 16:30:40 -04:00
Eugene Yurtsev and GitHub
addb491cfd
sdk: allow specifying run time headers in http client ( #4000 )
...
This PR only allows this in the HTTP client.
I can follow up with a PR to allow throughout the entire API.
The use case is to allow instantiating the client once (w/ a single connection pool), but allowing changing api keys and any other headers at run time
2025-03-24 14:47:35 -04:00
Tat Dat Duong
6dfed31a5e
Update parameters
2025-03-19 21:39:35 +01:00
Tat Dat Duong
1f0348a5ca
Fix docstring
2025-03-19 21:07:07 +01:00
Tat Dat Duong
e779c8e0b1
Merge into create
2025-03-19 20:42:48 +01:00
Tat Dat Duong
972ab1a935
Revert docstring for update_state
2025-03-19 20:22:05 +01:00
Tat Dat Duong
a2d7631f47
Fix in async client
2025-03-19 20:10:42 +01:00
Tat Dat Duong
1e767c0653
feat(sdk): add bulk_update_state in SDK
2025-03-19 20:05:08 +01:00
William Fu-Hinthorn
8729ebc40c
Merge
2025-03-13 09:37:47 -07:00
William Fu-Hinthorn
4de8443c5c
Add default TTL in store & CLI
2025-03-11 20:15:38 -07:00
William FH and GitHub
d86502421d
Add TTL args for SDKs ( #3728 )
2025-03-06 23:30:48 +00:00
Arjun Natarajan
098a199cb9
update assistant version class
2025-03-05 15:39:34 -05:00
Vadym Barda and GitHub
3d4e5c0471
sdk-py: fix decode_json in sdk ( #3681 )
2025-03-04 20:05:16 +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
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
William FH and GitHub
277c341817
Configure loopback transports ( #3522 )
2025-02-19 15:58:57 -08:00
Ramón Vargas and GitHub
687ee02509
Update client.py
...
Typo change in function doc
2025-01-03 18:40:15 +01:00
Nuno Campos
e5ea4f51c7
sdk-py: Strip out unused keys in command parameter
2024-12-12 08:10:43 -08:00
Nuno Campos
d1aaa9de8c
sdk-py: Handle stream(params=)
2024-12-04 17:25:51 -08:00
湛露先生 and GitHub
84d33f9621
Fix typos in langgraph_sdk client. ( #2621 )
...
Fix typos in langgraph_sdk client.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2024-12-04 06:29:28 -08:00
Nuno Campos and GitHub
dd010e9230
Merge pull request #2593 from langchain-ai/nc/2dec/sdk-sse
...
sdk-py: Fix SSE parsing to split lines only \n \r , remove httpx-sse, fix missing decoder flush
2024-12-03 16:23:11 -05:00
Nuno Campos
3bf92d0b03
Fix
2024-12-03 11:04:28 -08:00
Nuno Campos and GitHub
d70b659adb
Merge pull request #2430 from langchain-ai/nc/15nov/command-subgraph
...
Handle interrupt/resume for subgraphs
2024-12-02 20:45:40 -05:00
Nuno Campos
a3feaef2eb
lib: Handle Command in RemoteGraph
2024-12-02 16:45:07 -08:00
Tat Dat Duong
988dd237d2
feat(sdk): pass cancel on disconnect when joining stream
2024-12-03 01:17:15 +01:00
Nuno Campos
3cee1d5087
Remove httpx_sse, fix missing flush of sse decoder
2024-12-02 12:03:31 -08:00
Nuno Campos
2ce2021c39
Revert "Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec""
...
This reverts commit 53ec7c41b2 .
2024-12-02 11:29:06 -08:00
Tat Dat Duong
46dd424a7e
feat(sdk): add ability to search runs via status
2024-12-02 19:53:58 +01:00
William FH and GitHub
ee8653d1c5
[SDK] Add SearchItem ( #2567 )
2024-11-27 22:50:52 -08:00
Nuno Campos
53ec7c41b2
Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec"
...
This reverts commit dc09b13400 .
2024-11-27 17:31:21 -08:00
Nuno Campos
dc09b13400
sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec
2024-11-27 14:10:50 -08:00
Nuno Campos
229a9e19a8
sdk-py: Add command arg for creating runs
2024-11-13 17:06:56 -08:00
Andrew Nguonly and GitHub
ecb584cbe0
sdk: Add action query param to cancel Run methods ( #2284 )
2024-11-01 13:32:49 -07:00
Vadym Barda and GitHub
4717632ce7
sdk-py: more docstring updates ( #2225 )
2024-10-30 01:22:29 +00:00
Vadym Barda and GitHub
8a0650a46b
sdk-py: update docstrings ( #2221 )
2024-10-29 20:31:12 +00:00
Nuno Campos
4c655f841e
Lint
2024-10-28 14:40:25 -07:00
Nuno Campos
be27c96f3c
sdk: By default raise errors in /wait endpoint
2024-10-28 14:27:13 -07:00
Nuno Campos
a8ae2a52a3
Lint
2024-10-23 20:27:18 -07:00
Nuno Campos
e294720ec5
Lint
2024-10-23 13:29:59 -07:00
Nuno Campos
1121806ba4
Add if_not_exists
2024-10-23 13:23:49 -07:00
Nuno Campos
58cf0c6a6e
chore: Switch s3 client utils from httpx client to curl client
2024-10-22 10:46:37 -07:00
Andrew Nguonly and GitHub
7883ceae64
sdk-py: Add Sequence[dict] type to values param type for update_state() ( #2054 )
...
### Summary
The LangGraph API supports a list of `dict` for the `values` field for
the `POST /threads/<thread_id>/state` endpoint.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L3005-L3021
2024-10-08 13:49:27 -07:00
Andrew Nguonly and GitHub
6698e25a04
sdk-py: Add "*" literal to interrupt_before and interrupt_after types ( #2053 )
...
### Summary
The LangGraph API supports the literal string `"*"` for
`interrupt_before` and `interrupt_after`.
Reference:
https://github.com/langchain-ai/langgraph-api/blob/main/api/openapi.json#L2425
2024-10-08 13:29:11 -07:00
Andrew Nguonly and GitHub
82c316b3f7
sdk-py: Update return type annotation for Thread.update_state() methods. ( #2050 )
...
### Summary
The response body of the endpoint `POST /threads/{thread_id}/state`
looks like this:
```
{
"checkpoint": {
"thread_id": "e2496803-ecd5-4e0c-a779-3226296181c2",
"checkpoint_ns": "",
"checkpoint_id": "1ef4a9b8-e6fb-67b1-8001-abd5184439d1",
"checkpoint_map": {}
}
}
```
2024-10-08 12:04:26 -07:00
William FH and GitHub
7ede237508
[Docs] Add SDK ref docs for the Store client ( #1974 )
2024-10-02 19:16:36 +00:00
David Duong and GitHub
f6f3f85d03
Merge pull request #1900 from langchain-ai/dqbd/xray-int
...
feat(sdk): add int xray parameter support
2024-09-30 17:08:15 +02:00
Tat Dat Duong
d69bc78a25
Update docs
2024-09-30 17:03:11 +02:00
Nuno Campos
7fba675e8a
sdk-py: Add arg to get history for subgraphs
2024-09-29 19:28:52 -07:00