Skip to content

Commit 23800ce

Browse files
committed
Release 0.1.128
1 parent 8366763 commit 23800ce

File tree

5 files changed

+338
-308
lines changed

5 files changed

+338
-308
lines changed

pyproject.toml

+1-1
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.127"
6+
version = "0.1.128"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

+128-120
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,74 @@ client.tools.modify(
262262
</dl>
263263

264264

265+
</dd>
266+
</dl>
267+
</details>
268+
269+
<details><summary><code>client.tools.<a href="src/letta_client/tools/client.py">count</a>(...)</code></summary>
270+
<dl>
271+
<dd>
272+
273+
#### 📝 Description
274+
275+
<dl>
276+
<dd>
277+
278+
<dl>
279+
<dd>
280+
281+
Get a count of all tools available to agents belonging to the org of the user.
282+
</dd>
283+
</dl>
284+
</dd>
285+
</dl>
286+
287+
#### 🔌 Usage
288+
289+
<dl>
290+
<dd>
291+
292+
<dl>
293+
<dd>
294+
295+
```python
296+
from letta_client import Letta
297+
298+
client = Letta(
299+
token="YOUR_TOKEN",
300+
)
301+
client.tools.count()
302+
303+
```
304+
</dd>
305+
</dl>
306+
</dd>
307+
</dl>
308+
309+
#### ⚙️ Parameters
310+
311+
<dl>
312+
<dd>
313+
314+
<dl>
315+
<dd>
316+
317+
**include_base_tools:** `typing.Optional[bool]` — Include built-in Letta tools in the count
318+
319+
</dd>
320+
</dl>
321+
322+
<dl>
323+
<dd>
324+
325+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
326+
327+
</dd>
328+
</dl>
329+
</dd>
330+
</dl>
331+
332+
265333
</dd>
266334
</dl>
267335
</details>
@@ -582,66 +650,6 @@ client.tools.upsert(
582650
</dl>
583651

584652

585-
</dd>
586-
</dl>
587-
</details>
588-
589-
<details><summary><code>client.tools.<a href="src/letta_client/tools/client.py">count</a>()</code></summary>
590-
<dl>
591-
<dd>
592-
593-
#### 📝 Description
594-
595-
<dl>
596-
<dd>
597-
598-
<dl>
599-
<dd>
600-
601-
Get a count of all tools available to agents belonging to the org of the user
602-
</dd>
603-
</dl>
604-
</dd>
605-
</dl>
606-
607-
#### 🔌 Usage
608-
609-
<dl>
610-
<dd>
611-
612-
<dl>
613-
<dd>
614-
615-
```python
616-
from letta_client import Letta
617-
618-
client = Letta(
619-
token="YOUR_TOKEN",
620-
)
621-
client.tools.count()
622-
623-
```
624-
</dd>
625-
</dl>
626-
</dd>
627-
</dl>
628-
629-
#### ⚙️ Parameters
630-
631-
<dl>
632-
<dd>
633-
634-
<dl>
635-
<dd>
636-
637-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
638-
639-
</dd>
640-
</dl>
641-
</dd>
642-
</dl>
643-
644-
645653
</dd>
646654
</dl>
647655
</details>
@@ -1395,6 +1403,66 @@ client.tools.delete_mcp_server(
13951403
</details>
13961404

13971405
## Sources
1406+
<details><summary><code>client.sources.<a href="src/letta_client/sources/client.py">count</a>()</code></summary>
1407+
<dl>
1408+
<dd>
1409+
1410+
#### 📝 Description
1411+
1412+
<dl>
1413+
<dd>
1414+
1415+
<dl>
1416+
<dd>
1417+
1418+
Count all data sources created by a user.
1419+
</dd>
1420+
</dl>
1421+
</dd>
1422+
</dl>
1423+
1424+
#### 🔌 Usage
1425+
1426+
<dl>
1427+
<dd>
1428+
1429+
<dl>
1430+
<dd>
1431+
1432+
```python
1433+
from letta_client import Letta
1434+
1435+
client = Letta(
1436+
token="YOUR_TOKEN",
1437+
)
1438+
client.sources.count()
1439+
1440+
```
1441+
</dd>
1442+
</dl>
1443+
</dd>
1444+
</dl>
1445+
1446+
#### ⚙️ Parameters
1447+
1448+
<dl>
1449+
<dd>
1450+
1451+
<dl>
1452+
<dd>
1453+
1454+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1455+
1456+
</dd>
1457+
</dl>
1458+
</dd>
1459+
</dl>
1460+
1461+
1462+
</dd>
1463+
</dl>
1464+
</details>
1465+
13981466
<details><summary><code>client.sources.<a href="src/letta_client/sources/client.py">retrieve</a>(...)</code></summary>
13991467
<dl>
14001468
<dd>
@@ -1873,66 +1941,6 @@ client.sources.create(
18731941
</dl>
18741942

18751943

1876-
</dd>
1877-
</dl>
1878-
</details>
1879-
1880-
<details><summary><code>client.sources.<a href="src/letta_client/sources/client.py">count</a>()</code></summary>
1881-
<dl>
1882-
<dd>
1883-
1884-
#### 📝 Description
1885-
1886-
<dl>
1887-
<dd>
1888-
1889-
<dl>
1890-
<dd>
1891-
1892-
Count all data sources created by a user.
1893-
</dd>
1894-
</dl>
1895-
</dd>
1896-
</dl>
1897-
1898-
#### 🔌 Usage
1899-
1900-
<dl>
1901-
<dd>
1902-
1903-
<dl>
1904-
<dd>
1905-
1906-
```python
1907-
from letta_client import Letta
1908-
1909-
client = Letta(
1910-
token="YOUR_TOKEN",
1911-
)
1912-
client.sources.count()
1913-
1914-
```
1915-
</dd>
1916-
</dl>
1917-
</dd>
1918-
</dl>
1919-
1920-
#### ⚙️ Parameters
1921-
1922-
<dl>
1923-
<dd>
1924-
1925-
<dl>
1926-
<dd>
1927-
1928-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1929-
1930-
</dd>
1931-
</dl>
1932-
</dd>
1933-
</dl>
1934-
1935-
19361944
</dd>
19371945
</dl>
19381946
</details>

src/letta_client/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "letta-client",
19-
"X-Fern-SDK-Version": "0.1.127",
19+
"X-Fern-SDK-Version": "0.1.128",
2020
}
2121
if self.token is not None:
2222
headers["Authorization"] = f"Bearer {self.token}"

0 commit comments

Comments
 (0)