letta-client 0.1.43__py3-none-any.whl → 0.1.45__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/agents/client.py +10 -0
- letta_client/core/client_wrapper.py +1 -1
- {letta_client-0.1.43.dist-info → letta_client-0.1.45.dist-info}/METADATA +1 -1
- {letta_client-0.1.43.dist-info → letta_client-0.1.45.dist-info}/RECORD +5 -5
- {letta_client-0.1.43.dist-info → letta_client-0.1.45.dist-info}/WHEEL +0 -0
letta_client/agents/client.py
CHANGED
|
@@ -70,6 +70,7 @@ class AgentsClient:
|
|
|
70
70
|
project_id: typing.Optional[str] = None,
|
|
71
71
|
template_id: typing.Optional[str] = None,
|
|
72
72
|
base_template_id: typing.Optional[str] = None,
|
|
73
|
+
identifier_id: typing.Optional[str] = None,
|
|
73
74
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
74
75
|
request_options: typing.Optional[RequestOptions] = None,
|
|
75
76
|
) -> typing.List[AgentState]:
|
|
@@ -109,6 +110,9 @@ class AgentsClient:
|
|
|
109
110
|
base_template_id : typing.Optional[str]
|
|
110
111
|
Search agents by base template id
|
|
111
112
|
|
|
113
|
+
identifier_id : typing.Optional[str]
|
|
114
|
+
Search agents by identifier id
|
|
115
|
+
|
|
112
116
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
113
117
|
Search agents by identifier keys
|
|
114
118
|
|
|
@@ -143,6 +147,7 @@ class AgentsClient:
|
|
|
143
147
|
"project_id": project_id,
|
|
144
148
|
"template_id": template_id,
|
|
145
149
|
"base_template_id": base_template_id,
|
|
150
|
+
"identifier_id": identifier_id,
|
|
146
151
|
"identifier_keys": identifier_keys,
|
|
147
152
|
},
|
|
148
153
|
request_options=request_options,
|
|
@@ -855,6 +860,7 @@ class AsyncAgentsClient:
|
|
|
855
860
|
project_id: typing.Optional[str] = None,
|
|
856
861
|
template_id: typing.Optional[str] = None,
|
|
857
862
|
base_template_id: typing.Optional[str] = None,
|
|
863
|
+
identifier_id: typing.Optional[str] = None,
|
|
858
864
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
859
865
|
request_options: typing.Optional[RequestOptions] = None,
|
|
860
866
|
) -> typing.List[AgentState]:
|
|
@@ -894,6 +900,9 @@ class AsyncAgentsClient:
|
|
|
894
900
|
base_template_id : typing.Optional[str]
|
|
895
901
|
Search agents by base template id
|
|
896
902
|
|
|
903
|
+
identifier_id : typing.Optional[str]
|
|
904
|
+
Search agents by identifier id
|
|
905
|
+
|
|
897
906
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
898
907
|
Search agents by identifier keys
|
|
899
908
|
|
|
@@ -936,6 +945,7 @@ class AsyncAgentsClient:
|
|
|
936
945
|
"project_id": project_id,
|
|
937
946
|
"template_id": template_id,
|
|
938
947
|
"base_template_id": base_template_id,
|
|
948
|
+
"identifier_id": identifier_id,
|
|
939
949
|
"identifier_keys": identifier_keys,
|
|
940
950
|
},
|
|
941
951
|
request_options=request_options,
|
|
@@ -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.45",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
|
@@ -2,7 +2,7 @@ letta_client/__init__.py,sha256=9Irh5yC-SkPUD4m7mWClK5N-N0sXmHFV42zihbZp6Vo,5581
|
|
|
2
2
|
letta_client/agents/__init__.py,sha256=KCn7wjwmY7PBtXQYfiFQPNtwPz5dPBB4A6V6V242U6w,22136
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=x2651Wftl9J8GhtTkF0os6iposDvOirWa_vdmyEZB38,23746
|
|
5
|
-
letta_client/agents/client.py,sha256=
|
|
5
|
+
letta_client/agents/client.py,sha256=QGavj2Fh7TlDEbY7JtMoFUsgsiuQcoQ_1USGuIKUPjU,63861
|
|
6
6
|
letta_client/agents/context/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
7
7
|
letta_client/agents/context/client.py,sha256=GKKvoG4N_K8Biz9yDjeIHpFG0C8Cwc7tHmEX3pTL_9U,4815
|
|
8
8
|
letta_client/agents/core_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -207,7 +207,7 @@ letta_client/blocks/client.py,sha256=AeQQ-IdYhV-zqLTt3PTrJOtJ6XtBZcXNC108Y5EogVU
|
|
|
207
207
|
letta_client/client.py,sha256=y2cXN0ApFul2Lz-fVh5TbeYbQ8oUjnXcwJ6wUczEf2c,2457
|
|
208
208
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
209
209
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
210
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
210
|
+
letta_client/core/client_wrapper.py,sha256=4T-wmceQBwAxCX9h0qEalePihiunwOlPWbLvo7KLIcg,1997
|
|
211
211
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
212
212
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
213
213
|
letta_client/core/http_client.py,sha256=siUQ6UV0ARZALlxubqWSSAAPC9B4VW8y6MGlHStfaeo,19552
|
|
@@ -582,6 +582,6 @@ letta_client/types/user_update.py,sha256=0Bl1OjO7bfmlpsGQ36dSh6DH1UB_wJOTNewS0wD
|
|
|
582
582
|
letta_client/types/validation_error.py,sha256=ACDS7wL5nQbS8ymFhWljwbBJmbugNa8bs2O5xEZC3u4,680
|
|
583
583
|
letta_client/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
584
584
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
585
|
-
letta_client-0.1.
|
|
586
|
-
letta_client-0.1.
|
|
587
|
-
letta_client-0.1.
|
|
585
|
+
letta_client-0.1.45.dist-info/METADATA,sha256=FPvpOy_hPF4JmSkWhQVwtB-mJENyaYNhtXbhK16k6tI,4942
|
|
586
|
+
letta_client-0.1.45.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
587
|
+
letta_client-0.1.45.dist-info/RECORD,,
|
|
File without changes
|