Skip to content

Commit 69fde4b

Browse files
committed
Release 0.1.126
1 parent 5f48282 commit 69fde4b

File tree

4 files changed

+14
-14
lines changed

4 files changed

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

reference.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ client.agents.create()
23572357
</dl>
23582358
</details>
23592359

2360-
<details><summary><code>client.agents.<a href="src/letta_client/agents/client.py">export</a>(...)</code></summary>
2360+
<details><summary><code>client.agents.<a href="src/letta_client/agents/client.py">export_file</a>(...)</code></summary>
23612361
<dl>
23622362
<dd>
23632363

@@ -2389,7 +2389,7 @@ from letta_client import Letta
23892389
client = Letta(
23902390
token="YOUR_TOKEN",
23912391
)
2392-
client.agents.export(
2392+
client.agents.export_file(
23932393
agent_id="agent_id",
23942394
)
23952395

@@ -2427,7 +2427,7 @@ client.agents.export(
24272427
</dl>
24282428
</details>
24292429

2430-
<details><summary><code>client.agents.<a href="src/letta_client/agents/client.py">import_</a>(...)</code></summary>
2430+
<details><summary><code>client.agents.<a href="src/letta_client/agents/client.py">import_file</a>(...)</code></summary>
24312431
<dl>
24322432
<dd>
24332433

@@ -2459,7 +2459,7 @@ from letta_client import Letta
24592459
client = Letta(
24602460
token="YOUR_TOKEN",
24612461
)
2462-
client.agents.import_()
2462+
client.agents.import_file()
24632463

24642464
```
24652465
</dd>

src/letta_client/agents/client.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def create(
457457
raise ApiError(status_code=_response.status_code, body=_response.text)
458458
raise ApiError(status_code=_response.status_code, body=_response_json)
459459

460-
def export(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
460+
def export_file(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
461461
"""
462462
Export the serialized JSON representation of an agent, formatted with indentation.
463463
@@ -480,7 +480,7 @@ def export(self, agent_id: str, *, request_options: typing.Optional[RequestOptio
480480
client = Letta(
481481
token="YOUR_TOKEN",
482482
)
483-
client.agents.export(
483+
client.agents.export_file(
484484
agent_id="agent_id",
485485
)
486486
"""
@@ -513,7 +513,7 @@ def export(self, agent_id: str, *, request_options: typing.Optional[RequestOptio
513513
raise ApiError(status_code=_response.status_code, body=_response.text)
514514
raise ApiError(status_code=_response.status_code, body=_response_json)
515515

516-
def import_(
516+
def import_file(
517517
self,
518518
*,
519519
file: core.File,
@@ -558,7 +558,7 @@ def import_(
558558
client = Letta(
559559
token="YOUR_TOKEN",
560560
)
561-
client.agents.import_()
561+
client.agents.import_file()
562562
"""
563563
_response = self._client_wrapper.httpx_client.request(
564564
"v1/agents/import",
@@ -1400,7 +1400,7 @@ async def main() -> None:
14001400
raise ApiError(status_code=_response.status_code, body=_response.text)
14011401
raise ApiError(status_code=_response.status_code, body=_response_json)
14021402

1403-
async def export(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
1403+
async def export_file(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
14041404
"""
14051405
Export the serialized JSON representation of an agent, formatted with indentation.
14061406
@@ -1428,7 +1428,7 @@ async def export(self, agent_id: str, *, request_options: typing.Optional[Reques
14281428
14291429
14301430
async def main() -> None:
1431-
await client.agents.export(
1431+
await client.agents.export_file(
14321432
agent_id="agent_id",
14331433
)
14341434
@@ -1464,7 +1464,7 @@ async def main() -> None:
14641464
raise ApiError(status_code=_response.status_code, body=_response.text)
14651465
raise ApiError(status_code=_response.status_code, body=_response_json)
14661466

1467-
async def import_(
1467+
async def import_file(
14681468
self,
14691469
*,
14701470
file: core.File,
@@ -1514,7 +1514,7 @@ async def import_(
15141514
15151515
15161516
async def main() -> None:
1517-
await client.agents.import_()
1517+
await client.agents.import_file()
15181518
15191519
15201520
asyncio.run(main())

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.125",
19+
"X-Fern-SDK-Version": "0.1.126",
2020
}
2121
if self.token is not None:
2222
headers["Authorization"] = f"Bearer {self.token}"

0 commit comments

Comments
 (0)