letta-client 0.1.75__py3-none-any.whl → 0.1.76__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of letta-client might be problematic. Click here for more details.
- letta_client/core/client_wrapper.py +1 -1
- letta_client/tools/client.py +10 -0
- {letta_client-0.1.75.dist-info → letta_client-0.1.76.dist-info}/METADATA +1 -1
- {letta_client-0.1.75.dist-info → letta_client-0.1.76.dist-info}/RECORD +5 -5
- {letta_client-0.1.75.dist-info → letta_client-0.1.76.dist-info}/WHEEL +0 -0
|
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
17
|
"X-Fern-Language": "Python",
|
|
18
18
|
"X-Fern-SDK-Name": "letta-client",
|
|
19
|
-
"X-Fern-SDK-Version": "0.1.
|
|
19
|
+
"X-Fern-SDK-Version": "0.1.76",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
letta_client/tools/client.py
CHANGED
|
@@ -568,6 +568,7 @@ class ToolsClient:
|
|
|
568
568
|
name: typing.Optional[str] = OMIT,
|
|
569
569
|
source_type: typing.Optional[str] = OMIT,
|
|
570
570
|
args_json_schema: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
571
|
+
json_schema: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
571
572
|
request_options: typing.Optional[RequestOptions] = None,
|
|
572
573
|
) -> ToolReturnMessage:
|
|
573
574
|
"""
|
|
@@ -593,6 +594,9 @@ class ToolsClient:
|
|
|
593
594
|
args_json_schema : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
594
595
|
The args JSON schema of the function.
|
|
595
596
|
|
|
597
|
+
json_schema : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
598
|
+
The JSON schema of the function (auto-generated from source_code if not provided)
|
|
599
|
+
|
|
596
600
|
request_options : typing.Optional[RequestOptions]
|
|
597
601
|
Request-specific configuration.
|
|
598
602
|
|
|
@@ -623,6 +627,7 @@ class ToolsClient:
|
|
|
623
627
|
"name": name,
|
|
624
628
|
"source_type": source_type,
|
|
625
629
|
"args_json_schema": args_json_schema,
|
|
630
|
+
"json_schema": json_schema,
|
|
626
631
|
},
|
|
627
632
|
headers={
|
|
628
633
|
"content-type": "application/json",
|
|
@@ -1719,6 +1724,7 @@ class AsyncToolsClient:
|
|
|
1719
1724
|
name: typing.Optional[str] = OMIT,
|
|
1720
1725
|
source_type: typing.Optional[str] = OMIT,
|
|
1721
1726
|
args_json_schema: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1727
|
+
json_schema: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1722
1728
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1723
1729
|
) -> ToolReturnMessage:
|
|
1724
1730
|
"""
|
|
@@ -1744,6 +1750,9 @@ class AsyncToolsClient:
|
|
|
1744
1750
|
args_json_schema : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1745
1751
|
The args JSON schema of the function.
|
|
1746
1752
|
|
|
1753
|
+
json_schema : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1754
|
+
The JSON schema of the function (auto-generated from source_code if not provided)
|
|
1755
|
+
|
|
1747
1756
|
request_options : typing.Optional[RequestOptions]
|
|
1748
1757
|
Request-specific configuration.
|
|
1749
1758
|
|
|
@@ -1782,6 +1791,7 @@ class AsyncToolsClient:
|
|
|
1782
1791
|
"name": name,
|
|
1783
1792
|
"source_type": source_type,
|
|
1784
1793
|
"args_json_schema": args_json_schema,
|
|
1794
|
+
"json_schema": json_schema,
|
|
1785
1795
|
},
|
|
1786
1796
|
headers={
|
|
1787
1797
|
"content-type": "application/json",
|
|
@@ -234,7 +234,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
|
|
|
234
234
|
letta_client/client.py,sha256=xdSrD4IkWokZHujowd1r7zESBoVgKGNvo6RqgZ3f0Fg,12808
|
|
235
235
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
236
236
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
237
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
237
|
+
letta_client/core/client_wrapper.py,sha256=m72yMYtZAntTFfZukyoYaXDvTAGJVmo3uM8ApA5-4Do,1997
|
|
238
238
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
239
239
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
240
240
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -472,7 +472,7 @@ letta_client/templates/types/templates_create_agents_response_agents_item_tools_
|
|
|
472
472
|
letta_client/templates/types/templates_create_agents_response_agents_item_updated_at.py,sha256=Md7WfCTT1_AGvyd24EeWzUibPvnrun9rhyxqCLeAURg,439
|
|
473
473
|
letta_client/templates/types/templates_create_agents_response_agents_item_updated_at_item.py,sha256=T3rYnv5m_cBAEPBnEjUkkHJLYtFZfXNMbb7a9FrIwKY,175
|
|
474
474
|
letta_client/tools/__init__.py,sha256=XsuAkxHDA-Z98gLNNW_fiEwFP3fP4XQipflrK2bHl8k,353
|
|
475
|
-
letta_client/tools/client.py,sha256=
|
|
475
|
+
letta_client/tools/client.py,sha256=y5WTB5Wzh5gv1IWaSraU6pHYck7RBZlCnQW157OFjuw,77574
|
|
476
476
|
letta_client/tools/types/__init__.py,sha256=R11LYBi6lxkud_DRyaHFUHtlnbfnEI93-SEo7FL4tzs,478
|
|
477
477
|
letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7glpxF4J4J3fm6tlaHFnYk84,265
|
|
478
478
|
letta_client/tools/types/add_mcp_server_response_item.py,sha256=TWdsKqGb1INhYtpGnAckz0Pw4nZShumSp4pfocRfxCA,270
|
|
@@ -689,6 +689,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
|
|
|
689
689
|
letta_client/voice/client.py,sha256=O38dLq__WTwLPlFTtvw1hgqaPYK9alds_ft12Bnp5fs,6475
|
|
690
690
|
letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
|
|
691
691
|
letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
|
|
692
|
-
letta_client-0.1.
|
|
693
|
-
letta_client-0.1.
|
|
694
|
-
letta_client-0.1.
|
|
692
|
+
letta_client-0.1.76.dist-info/METADATA,sha256=OdjoWoEzRUZMtWIwev_KF6CsvryP-47n8uttllkLbJ4,5041
|
|
693
|
+
letta_client-0.1.76.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
694
|
+
letta_client-0.1.76.dist-info/RECORD,,
|
|
File without changes
|