Skip to content

Commit 027caeb

Browse files
committed
Release 0.1.320
1 parent 68f2d57 commit 027caeb

File tree

211 files changed

+9144
-2674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+9144
-2674
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ client = Letta(
2626
project="YOUR_PROJECT",
2727
token="YOUR_TOKEN",
2828
)
29-
client.tools.create(
30-
source_code="source_code",
29+
client.archives.create_archive(
30+
name="name",
3131
)
3232
```
3333

@@ -47,8 +47,8 @@ client = AsyncLetta(
4747

4848

4949
async def main() -> None:
50-
await client.tools.create(
51-
source_code="source_code",
50+
await client.archives.create_archive(
51+
name="name",
5252
)
5353

5454

@@ -64,7 +64,7 @@ will be thrown.
6464
from letta_client.core.api_error import ApiError
6565

6666
try:
67-
client.tools.create(...)
67+
client.archives.create_archive(...)
6868
except ApiError as e:
6969
print(e.status_code)
7070
print(e.body)
@@ -105,7 +105,7 @@ from letta_client import Letta
105105
client = Letta(
106106
...,
107107
)
108-
response = client.tools.with_raw_response.create(...)
108+
response = client.archives.with_raw_response.create_archive(...)
109109
print(response.headers) # access the response headers
110110
print(response.data) # access the underlying object
111111
with client.tools.with_raw_response.connect_mcp_server(...) as response:
@@ -129,7 +129,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
129129
Use the `max_retries` request option to configure this behavior.
130130

131131
```python
132-
client.tools.create(..., request_options={
132+
client.archives.create_archive(..., request_options={
133133
"max_retries": 1
134134
})
135135
```
@@ -149,7 +149,7 @@ client = Letta(
149149

150150

151151
# Override timeout for a specific method
152-
client.tools.create(..., request_options={
152+
client.archives.create_archive(..., request_options={
153153
"timeout_in_seconds": 1
154154
})
155155
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "letta-client"
33

44
[tool.poetry]
55
name = "letta-client"
6-
version = "0.1.319"
6+
version = "0.1.320"
77
description = ""
88
readme = "README.md"
99
authors = []

0 commit comments

Comments
 (0)