letta-client 0.1.306__py3-none-any.whl → 0.1.307__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/__init__.py +2 -0
- letta_client/core/client_wrapper.py +2 -2
- letta_client/templates/__init__.py +2 -0
- letta_client/templates/types/__init__.py +4 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py +6 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py +17 -0
- letta_client/templates/types/templates_get_template_snapshot_response_configuration.py +3 -1
- {letta_client-0.1.306.dist-info → letta_client-0.1.307.dist-info}/METADATA +1 -1
- {letta_client-0.1.306.dist-info → letta_client-0.1.307.dist-info}/RECORD +10 -9
- {letta_client-0.1.306.dist-info → letta_client-0.1.307.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -386,6 +386,7 @@ from .templates import (
|
|
|
386
386
|
TemplatesForkTemplateResponse,
|
|
387
387
|
TemplatesGetTemplateSnapshotResponse,
|
|
388
388
|
TemplatesGetTemplateSnapshotResponseAgentsItem,
|
|
389
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
389
390
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables,
|
|
390
391
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem,
|
|
391
392
|
TemplatesGetTemplateSnapshotResponseAgentsItemProperties,
|
|
@@ -746,6 +747,7 @@ __all__ = [
|
|
|
746
747
|
"TemplatesForkTemplateResponse",
|
|
747
748
|
"TemplatesGetTemplateSnapshotResponse",
|
|
748
749
|
"TemplatesGetTemplateSnapshotResponseAgentsItem",
|
|
750
|
+
"TemplatesGetTemplateSnapshotResponseAgentsItemAgentType",
|
|
749
751
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables",
|
|
750
752
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem",
|
|
751
753
|
"TemplatesGetTemplateSnapshotResponseAgentsItemProperties",
|
|
@@ -24,10 +24,10 @@ class BaseClientWrapper:
|
|
|
24
24
|
|
|
25
25
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
26
26
|
headers: typing.Dict[str, str] = {
|
|
27
|
-
"User-Agent": "letta-client/0.1.
|
|
27
|
+
"User-Agent": "letta-client/0.1.307",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.307",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
|
@@ -8,6 +8,7 @@ from .types import (
|
|
|
8
8
|
TemplatesForkTemplateResponse,
|
|
9
9
|
TemplatesGetTemplateSnapshotResponse,
|
|
10
10
|
TemplatesGetTemplateSnapshotResponseAgentsItem,
|
|
11
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
11
12
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables,
|
|
12
13
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem,
|
|
13
14
|
TemplatesGetTemplateSnapshotResponseAgentsItemProperties,
|
|
@@ -50,6 +51,7 @@ __all__ = [
|
|
|
50
51
|
"TemplatesForkTemplateResponse",
|
|
51
52
|
"TemplatesGetTemplateSnapshotResponse",
|
|
52
53
|
"TemplatesGetTemplateSnapshotResponseAgentsItem",
|
|
54
|
+
"TemplatesGetTemplateSnapshotResponseAgentsItemAgentType",
|
|
53
55
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables",
|
|
54
56
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem",
|
|
55
57
|
"TemplatesGetTemplateSnapshotResponseAgentsItemProperties",
|
|
@@ -7,6 +7,9 @@ from .templates_delete_template_response import TemplatesDeleteTemplateResponse
|
|
|
7
7
|
from .templates_fork_template_response import TemplatesForkTemplateResponse
|
|
8
8
|
from .templates_get_template_snapshot_response import TemplatesGetTemplateSnapshotResponse
|
|
9
9
|
from .templates_get_template_snapshot_response_agents_item import TemplatesGetTemplateSnapshotResponseAgentsItem
|
|
10
|
+
from .templates_get_template_snapshot_response_agents_item_agent_type import (
|
|
11
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
12
|
+
)
|
|
10
13
|
from .templates_get_template_snapshot_response_agents_item_memory_variables import (
|
|
11
14
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables,
|
|
12
15
|
)
|
|
@@ -69,6 +72,7 @@ __all__ = [
|
|
|
69
72
|
"TemplatesForkTemplateResponse",
|
|
70
73
|
"TemplatesGetTemplateSnapshotResponse",
|
|
71
74
|
"TemplatesGetTemplateSnapshotResponseAgentsItem",
|
|
75
|
+
"TemplatesGetTemplateSnapshotResponseAgentsItemAgentType",
|
|
72
76
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables",
|
|
73
77
|
"TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariablesDataItem",
|
|
74
78
|
"TemplatesGetTemplateSnapshotResponseAgentsItemProperties",
|
|
@@ -7,6 +7,9 @@ import typing_extensions
|
|
|
7
7
|
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
8
|
from ...core.serialization import FieldMetadata
|
|
9
9
|
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
10
|
+
from .templates_get_template_snapshot_response_agents_item_agent_type import (
|
|
11
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
|
|
12
|
+
)
|
|
10
13
|
from .templates_get_template_snapshot_response_agents_item_memory_variables import (
|
|
11
14
|
TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables,
|
|
12
15
|
)
|
|
@@ -43,6 +46,9 @@ class TemplatesGetTemplateSnapshotResponseAgentsItem(UncheckedBaseModel):
|
|
|
43
46
|
typing.Optional[typing.List[TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem]],
|
|
44
47
|
FieldMetadata(alias="toolRules"),
|
|
45
48
|
] = None
|
|
49
|
+
agent_type: typing_extensions.Annotated[
|
|
50
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType, FieldMetadata(alias="agentType")
|
|
51
|
+
]
|
|
46
52
|
entity_id: typing_extensions.Annotated[str, FieldMetadata(alias="entityId")]
|
|
47
53
|
name: str
|
|
48
54
|
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
TemplatesGetTemplateSnapshotResponseAgentsItemAgentType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"memgpt_agent",
|
|
8
|
+
"memgpt_v2_agent",
|
|
9
|
+
"react_agent",
|
|
10
|
+
"workflow_agent",
|
|
11
|
+
"split_thread_agent",
|
|
12
|
+
"sleeptime_agent",
|
|
13
|
+
"voice_convo_agent",
|
|
14
|
+
"voice_sleeptime_agent",
|
|
15
|
+
],
|
|
16
|
+
typing.Any,
|
|
17
|
+
]
|
|
@@ -10,7 +10,9 @@ from ...core.unchecked_base_model import UncheckedBaseModel
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class TemplatesGetTemplateSnapshotResponseConfiguration(UncheckedBaseModel):
|
|
13
|
-
|
|
13
|
+
manager_agent_entity_id: typing_extensions.Annotated[
|
|
14
|
+
typing.Optional[str], FieldMetadata(alias="managerAgentEntityId")
|
|
15
|
+
] = None
|
|
14
16
|
manager_type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="managerType")] = None
|
|
15
17
|
termination_token: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="terminationToken")] = None
|
|
16
18
|
max_turns: typing_extensions.Annotated[typing.Optional[float], FieldMetadata(alias="maxTurns")] = None
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=yIQqDFRQsrM3faBRzTcdY9jIUVHAgcD3RpytQ7ee5ro,27337
|
|
2
2
|
letta_client/agents/__init__.py,sha256=6U2CPqYOtgufFoEhev61AzE-oOqgAQPUBsN8H7YJDbg,2081
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=CUwVh5FHgD0YP3VNhUrWdkedMWk49yH3IiDD589AWEM,15809
|
|
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
92
92
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item_access_item.py,sha256=kNHfEWFl7u71Pu8NPqutod0a2NXfvq8il05Hqm0iBB4,284
|
|
93
93
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
94
94
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
95
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
95
|
+
letta_client/core/client_wrapper.py,sha256=8r7jrTWpdOcWp-vCZdO03D9wG4qoWLa_DSNK3NQCpwU,2776
|
|
96
96
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
97
97
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
98
98
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -202,7 +202,7 @@ letta_client/tags/raw_client.py,sha256=DQXEgzOuCygBMbzX63Sc9UwfueALa5rUHH3c8jb4O
|
|
|
202
202
|
letta_client/telemetry/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
203
203
|
letta_client/telemetry/client.py,sha256=cHMxfLAFjbT-XLtG0o04tGMaRnabrPuixbfHV3HFitE,3042
|
|
204
204
|
letta_client/telemetry/raw_client.py,sha256=Zxs3KkYCfs6M1b4vJbzHunZs7SzSiYAiy4Nb7tFAKC8,4962
|
|
205
|
-
letta_client/templates/__init__.py,sha256=
|
|
205
|
+
letta_client/templates/__init__.py,sha256=OxELqtiAhQ5iCAQ--vMrggjS0nWGFSGs_M6Vi901brw,4020
|
|
206
206
|
letta_client/templates/agents/__init__.py,sha256=Nb3AeDuJhSba_DbgHKuCUY1b3PT1jj3-YMJ7uW7RIAk,393
|
|
207
207
|
letta_client/templates/agents/client.py,sha256=HCCEZZ3b0tGonxDNbiPuXadoZu_x1G_OtBdTHRBpG4M,7088
|
|
208
208
|
letta_client/templates/agents/raw_client.py,sha256=RGf_8ZaBbkS3sE7qrKqirL8Mu-E7CDRZNEKFWCJ3v4E,9552
|
|
@@ -212,12 +212,13 @@ letta_client/templates/agents/types/agents_create_request_initial_message_sequen
|
|
|
212
212
|
letta_client/templates/agents/types/agents_create_response.py,sha256=P5sppbD_qW7I9suv5Ykm7tlgnh5a3omYggA8JgLw2RY,637
|
|
213
213
|
letta_client/templates/client.py,sha256=jSMC0kubRHe5hsrozDYJqnQW6nPPEX4W2fOkHmABnwk,27533
|
|
214
214
|
letta_client/templates/raw_client.py,sha256=UHqX47RgBL3hDl-Tq_OKLl_6g1FfiyOJg3gTTRPTMkY,44444
|
|
215
|
-
letta_client/templates/types/__init__.py,sha256=
|
|
215
|
+
letta_client/templates/types/__init__.py,sha256=YMsQMFGpYXxp6NBFIdutomxq-dPtmOgfnQrXta_Ap_A,5875
|
|
216
216
|
letta_client/templates/types/templates_create_template_response.py,sha256=UKaNiwW7WNX4Q3_IqGkFJaatMcdSS-Tsf8gDT2i677w,1082
|
|
217
217
|
letta_client/templates/types/templates_delete_template_response.py,sha256=_DUyWh9jtgw8u_U_JsV8N-RhPcY32QLAQZsUCSXDCTY,583
|
|
218
218
|
letta_client/templates/types/templates_fork_template_response.py,sha256=zX8aCR5Z8sEgXJHHzxsPeYRNMW2HfD26EN5Mlwrt-ZI,1080
|
|
219
219
|
letta_client/templates/types/templates_get_template_snapshot_response.py,sha256=75kEOy6l8d1uboqVYHbOWUHk6Ij8pzQ_TmmEe5wEf0c,1295
|
|
220
|
-
letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py,sha256=
|
|
220
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py,sha256=yRPXQ1XtubMo277RjQFhdD1oI1PqkOUaUfC8HIj_rJg,2858
|
|
221
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py,sha256=CXbLqt2S21b9bg_wo8r__g-CchjLQ2FqZ7WN-cJAGm8,416
|
|
221
222
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables.py,sha256=POh1PTstz0UC_rOnkpEyIQI0yHrANeM6Y5vuJlJAruU,877
|
|
222
223
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables_data_item.py,sha256=TNgE_92wCm2MEGERb_q24_GKzvbh1z1I3pchuwowowA,816
|
|
223
224
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py,sha256=9s-Abzd4QfGjeOyzrdwrPLad4mZx7z4cvX7aOKbeyHs,1084
|
|
@@ -234,7 +235,7 @@ letta_client/templates/types/templates_get_template_snapshot_response_agents_ite
|
|
|
234
235
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables.py,sha256=P4F5i-3Oum79uzNmn_oM7dkkYj66eVSxCG5MtmCY0nM,869
|
|
235
236
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables_data_item.py,sha256=DA0m9nJ_6p5Uwx-jbGbxnmqev3jlXo6t2T_BdLTi--s,814
|
|
236
237
|
letta_client/templates/types/templates_get_template_snapshot_response_blocks_item.py,sha256=rODpkefuRh8p2l3mtkh5_3MFovMkCg8CrDCMWOSNXCE,946
|
|
237
|
-
letta_client/templates/types/templates_get_template_snapshot_response_configuration.py,sha256=
|
|
238
|
+
letta_client/templates/types/templates_get_template_snapshot_response_configuration.py,sha256=gWk3DPp9NEUX5B6g_wTT3FBcgiRdPMMXf3GXU_nEGtI,1594
|
|
238
239
|
letta_client/templates/types/templates_get_template_snapshot_response_type.py,sha256=DuJQ1O1qoSE3NDwlwXmpz6BiNC5nZ0HeuHFp3M93JBM,269
|
|
239
240
|
letta_client/templates/types/templates_list_request_sort_by.py,sha256=SFmh-eLa14nEUMsv_cF7mm_WyqN-ZVO_Ok8Us6g8sXU,178
|
|
240
241
|
letta_client/templates/types/templates_list_response.py,sha256=M2vTXGuqbQBEsh-lO0OWLRaYk5VgWD7pUTfOeERAyXk,729
|
|
@@ -579,6 +580,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
579
580
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
580
581
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
581
582
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
582
|
-
letta_client-0.1.
|
|
583
|
-
letta_client-0.1.
|
|
584
|
-
letta_client-0.1.
|
|
583
|
+
letta_client-0.1.307.dist-info/METADATA,sha256=RlrUsBamy-O5VpgLvGZlv3uyUe4FKqWoArAayHAV66Q,5782
|
|
584
|
+
letta_client-0.1.307.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
585
|
+
letta_client-0.1.307.dist-info/RECORD,,
|
|
File without changes
|