letta-client 0.1.277__py3-none-any.whl → 0.1.280__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 +2 -2
- letta_client/runs/client.py +72 -4
- letta_client/runs/raw_client.py +60 -0
- letta_client/sources/files/client.py +20 -2
- letta_client/sources/files/raw_client.py +10 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py +1 -0
- {letta_client-0.1.277.dist-info → letta_client-0.1.280.dist-info}/METADATA +2 -2
- {letta_client-0.1.277.dist-info → letta_client-0.1.280.dist-info}/RECORD +9 -9
- {letta_client-0.1.277.dist-info → letta_client-0.1.280.dist-info}/WHEEL +0 -0
|
@@ -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.280",
|
|
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.280",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
letta_client/runs/client.py
CHANGED
|
@@ -39,6 +39,11 @@ class RunsClient:
|
|
|
39
39
|
self,
|
|
40
40
|
*,
|
|
41
41
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
42
|
+
background: typing.Optional[bool] = None,
|
|
43
|
+
after: typing.Optional[str] = None,
|
|
44
|
+
before: typing.Optional[str] = None,
|
|
45
|
+
limit: typing.Optional[int] = None,
|
|
46
|
+
ascending: typing.Optional[bool] = None,
|
|
42
47
|
request_options: typing.Optional[RequestOptions] = None,
|
|
43
48
|
) -> typing.List[Run]:
|
|
44
49
|
"""
|
|
@@ -49,6 +54,21 @@ class RunsClient:
|
|
|
49
54
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
50
55
|
The unique identifier of the agent associated with the run.
|
|
51
56
|
|
|
57
|
+
background : typing.Optional[bool]
|
|
58
|
+
If True, filters for runs that were created in background mode.
|
|
59
|
+
|
|
60
|
+
after : typing.Optional[str]
|
|
61
|
+
Cursor for pagination
|
|
62
|
+
|
|
63
|
+
before : typing.Optional[str]
|
|
64
|
+
Cursor for pagination
|
|
65
|
+
|
|
66
|
+
limit : typing.Optional[int]
|
|
67
|
+
Maximum number of runs to return
|
|
68
|
+
|
|
69
|
+
ascending : typing.Optional[bool]
|
|
70
|
+
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
|
|
71
|
+
|
|
52
72
|
request_options : typing.Optional[RequestOptions]
|
|
53
73
|
Request-specific configuration.
|
|
54
74
|
|
|
@@ -67,13 +87,22 @@ class RunsClient:
|
|
|
67
87
|
)
|
|
68
88
|
client.runs.list()
|
|
69
89
|
"""
|
|
70
|
-
_response = self._raw_client.list(
|
|
90
|
+
_response = self._raw_client.list(
|
|
91
|
+
agent_ids=agent_ids,
|
|
92
|
+
background=background,
|
|
93
|
+
after=after,
|
|
94
|
+
before=before,
|
|
95
|
+
limit=limit,
|
|
96
|
+
ascending=ascending,
|
|
97
|
+
request_options=request_options,
|
|
98
|
+
)
|
|
71
99
|
return _response.data
|
|
72
100
|
|
|
73
101
|
def list_active(
|
|
74
102
|
self,
|
|
75
103
|
*,
|
|
76
104
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
105
|
+
background: typing.Optional[bool] = None,
|
|
77
106
|
request_options: typing.Optional[RequestOptions] = None,
|
|
78
107
|
) -> typing.List[Run]:
|
|
79
108
|
"""
|
|
@@ -84,6 +113,9 @@ class RunsClient:
|
|
|
84
113
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
85
114
|
The unique identifier of the agent associated with the run.
|
|
86
115
|
|
|
116
|
+
background : typing.Optional[bool]
|
|
117
|
+
If True, filters for runs that were created in background mode.
|
|
118
|
+
|
|
87
119
|
request_options : typing.Optional[RequestOptions]
|
|
88
120
|
Request-specific configuration.
|
|
89
121
|
|
|
@@ -102,7 +134,9 @@ class RunsClient:
|
|
|
102
134
|
)
|
|
103
135
|
client.runs.list_active()
|
|
104
136
|
"""
|
|
105
|
-
_response = self._raw_client.list_active(
|
|
137
|
+
_response = self._raw_client.list_active(
|
|
138
|
+
agent_ids=agent_ids, background=background, request_options=request_options
|
|
139
|
+
)
|
|
106
140
|
return _response.data
|
|
107
141
|
|
|
108
142
|
def retrieve(self, run_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Run:
|
|
@@ -251,6 +285,11 @@ class AsyncRunsClient:
|
|
|
251
285
|
self,
|
|
252
286
|
*,
|
|
253
287
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
288
|
+
background: typing.Optional[bool] = None,
|
|
289
|
+
after: typing.Optional[str] = None,
|
|
290
|
+
before: typing.Optional[str] = None,
|
|
291
|
+
limit: typing.Optional[int] = None,
|
|
292
|
+
ascending: typing.Optional[bool] = None,
|
|
254
293
|
request_options: typing.Optional[RequestOptions] = None,
|
|
255
294
|
) -> typing.List[Run]:
|
|
256
295
|
"""
|
|
@@ -261,6 +300,21 @@ class AsyncRunsClient:
|
|
|
261
300
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
262
301
|
The unique identifier of the agent associated with the run.
|
|
263
302
|
|
|
303
|
+
background : typing.Optional[bool]
|
|
304
|
+
If True, filters for runs that were created in background mode.
|
|
305
|
+
|
|
306
|
+
after : typing.Optional[str]
|
|
307
|
+
Cursor for pagination
|
|
308
|
+
|
|
309
|
+
before : typing.Optional[str]
|
|
310
|
+
Cursor for pagination
|
|
311
|
+
|
|
312
|
+
limit : typing.Optional[int]
|
|
313
|
+
Maximum number of runs to return
|
|
314
|
+
|
|
315
|
+
ascending : typing.Optional[bool]
|
|
316
|
+
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
|
|
317
|
+
|
|
264
318
|
request_options : typing.Optional[RequestOptions]
|
|
265
319
|
Request-specific configuration.
|
|
266
320
|
|
|
@@ -287,13 +341,22 @@ class AsyncRunsClient:
|
|
|
287
341
|
|
|
288
342
|
asyncio.run(main())
|
|
289
343
|
"""
|
|
290
|
-
_response = await self._raw_client.list(
|
|
344
|
+
_response = await self._raw_client.list(
|
|
345
|
+
agent_ids=agent_ids,
|
|
346
|
+
background=background,
|
|
347
|
+
after=after,
|
|
348
|
+
before=before,
|
|
349
|
+
limit=limit,
|
|
350
|
+
ascending=ascending,
|
|
351
|
+
request_options=request_options,
|
|
352
|
+
)
|
|
291
353
|
return _response.data
|
|
292
354
|
|
|
293
355
|
async def list_active(
|
|
294
356
|
self,
|
|
295
357
|
*,
|
|
296
358
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
359
|
+
background: typing.Optional[bool] = None,
|
|
297
360
|
request_options: typing.Optional[RequestOptions] = None,
|
|
298
361
|
) -> typing.List[Run]:
|
|
299
362
|
"""
|
|
@@ -304,6 +367,9 @@ class AsyncRunsClient:
|
|
|
304
367
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
305
368
|
The unique identifier of the agent associated with the run.
|
|
306
369
|
|
|
370
|
+
background : typing.Optional[bool]
|
|
371
|
+
If True, filters for runs that were created in background mode.
|
|
372
|
+
|
|
307
373
|
request_options : typing.Optional[RequestOptions]
|
|
308
374
|
Request-specific configuration.
|
|
309
375
|
|
|
@@ -330,7 +396,9 @@ class AsyncRunsClient:
|
|
|
330
396
|
|
|
331
397
|
asyncio.run(main())
|
|
332
398
|
"""
|
|
333
|
-
_response = await self._raw_client.list_active(
|
|
399
|
+
_response = await self._raw_client.list_active(
|
|
400
|
+
agent_ids=agent_ids, background=background, request_options=request_options
|
|
401
|
+
)
|
|
334
402
|
return _response.data
|
|
335
403
|
|
|
336
404
|
async def retrieve(self, run_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Run:
|
letta_client/runs/raw_client.py
CHANGED
|
@@ -29,6 +29,11 @@ class RawRunsClient:
|
|
|
29
29
|
self,
|
|
30
30
|
*,
|
|
31
31
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
32
|
+
background: typing.Optional[bool] = None,
|
|
33
|
+
after: typing.Optional[str] = None,
|
|
34
|
+
before: typing.Optional[str] = None,
|
|
35
|
+
limit: typing.Optional[int] = None,
|
|
36
|
+
ascending: typing.Optional[bool] = None,
|
|
32
37
|
request_options: typing.Optional[RequestOptions] = None,
|
|
33
38
|
) -> HttpResponse[typing.List[Run]]:
|
|
34
39
|
"""
|
|
@@ -39,6 +44,21 @@ class RawRunsClient:
|
|
|
39
44
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
40
45
|
The unique identifier of the agent associated with the run.
|
|
41
46
|
|
|
47
|
+
background : typing.Optional[bool]
|
|
48
|
+
If True, filters for runs that were created in background mode.
|
|
49
|
+
|
|
50
|
+
after : typing.Optional[str]
|
|
51
|
+
Cursor for pagination
|
|
52
|
+
|
|
53
|
+
before : typing.Optional[str]
|
|
54
|
+
Cursor for pagination
|
|
55
|
+
|
|
56
|
+
limit : typing.Optional[int]
|
|
57
|
+
Maximum number of runs to return
|
|
58
|
+
|
|
59
|
+
ascending : typing.Optional[bool]
|
|
60
|
+
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
|
|
61
|
+
|
|
42
62
|
request_options : typing.Optional[RequestOptions]
|
|
43
63
|
Request-specific configuration.
|
|
44
64
|
|
|
@@ -52,6 +72,11 @@ class RawRunsClient:
|
|
|
52
72
|
method="GET",
|
|
53
73
|
params={
|
|
54
74
|
"agent_ids": agent_ids,
|
|
75
|
+
"background": background,
|
|
76
|
+
"after": after,
|
|
77
|
+
"before": before,
|
|
78
|
+
"limit": limit,
|
|
79
|
+
"ascending": ascending,
|
|
55
80
|
},
|
|
56
81
|
request_options=request_options,
|
|
57
82
|
)
|
|
@@ -85,6 +110,7 @@ class RawRunsClient:
|
|
|
85
110
|
self,
|
|
86
111
|
*,
|
|
87
112
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
113
|
+
background: typing.Optional[bool] = None,
|
|
88
114
|
request_options: typing.Optional[RequestOptions] = None,
|
|
89
115
|
) -> HttpResponse[typing.List[Run]]:
|
|
90
116
|
"""
|
|
@@ -95,6 +121,9 @@ class RawRunsClient:
|
|
|
95
121
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
96
122
|
The unique identifier of the agent associated with the run.
|
|
97
123
|
|
|
124
|
+
background : typing.Optional[bool]
|
|
125
|
+
If True, filters for runs that were created in background mode.
|
|
126
|
+
|
|
98
127
|
request_options : typing.Optional[RequestOptions]
|
|
99
128
|
Request-specific configuration.
|
|
100
129
|
|
|
@@ -108,6 +137,7 @@ class RawRunsClient:
|
|
|
108
137
|
method="GET",
|
|
109
138
|
params={
|
|
110
139
|
"agent_ids": agent_ids,
|
|
140
|
+
"background": background,
|
|
111
141
|
},
|
|
112
142
|
request_options=request_options,
|
|
113
143
|
)
|
|
@@ -335,6 +365,11 @@ class AsyncRawRunsClient:
|
|
|
335
365
|
self,
|
|
336
366
|
*,
|
|
337
367
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
368
|
+
background: typing.Optional[bool] = None,
|
|
369
|
+
after: typing.Optional[str] = None,
|
|
370
|
+
before: typing.Optional[str] = None,
|
|
371
|
+
limit: typing.Optional[int] = None,
|
|
372
|
+
ascending: typing.Optional[bool] = None,
|
|
338
373
|
request_options: typing.Optional[RequestOptions] = None,
|
|
339
374
|
) -> AsyncHttpResponse[typing.List[Run]]:
|
|
340
375
|
"""
|
|
@@ -345,6 +380,21 @@ class AsyncRawRunsClient:
|
|
|
345
380
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
346
381
|
The unique identifier of the agent associated with the run.
|
|
347
382
|
|
|
383
|
+
background : typing.Optional[bool]
|
|
384
|
+
If True, filters for runs that were created in background mode.
|
|
385
|
+
|
|
386
|
+
after : typing.Optional[str]
|
|
387
|
+
Cursor for pagination
|
|
388
|
+
|
|
389
|
+
before : typing.Optional[str]
|
|
390
|
+
Cursor for pagination
|
|
391
|
+
|
|
392
|
+
limit : typing.Optional[int]
|
|
393
|
+
Maximum number of runs to return
|
|
394
|
+
|
|
395
|
+
ascending : typing.Optional[bool]
|
|
396
|
+
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
|
|
397
|
+
|
|
348
398
|
request_options : typing.Optional[RequestOptions]
|
|
349
399
|
Request-specific configuration.
|
|
350
400
|
|
|
@@ -358,6 +408,11 @@ class AsyncRawRunsClient:
|
|
|
358
408
|
method="GET",
|
|
359
409
|
params={
|
|
360
410
|
"agent_ids": agent_ids,
|
|
411
|
+
"background": background,
|
|
412
|
+
"after": after,
|
|
413
|
+
"before": before,
|
|
414
|
+
"limit": limit,
|
|
415
|
+
"ascending": ascending,
|
|
361
416
|
},
|
|
362
417
|
request_options=request_options,
|
|
363
418
|
)
|
|
@@ -391,6 +446,7 @@ class AsyncRawRunsClient:
|
|
|
391
446
|
self,
|
|
392
447
|
*,
|
|
393
448
|
agent_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
449
|
+
background: typing.Optional[bool] = None,
|
|
394
450
|
request_options: typing.Optional[RequestOptions] = None,
|
|
395
451
|
) -> AsyncHttpResponse[typing.List[Run]]:
|
|
396
452
|
"""
|
|
@@ -401,6 +457,9 @@ class AsyncRawRunsClient:
|
|
|
401
457
|
agent_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
402
458
|
The unique identifier of the agent associated with the run.
|
|
403
459
|
|
|
460
|
+
background : typing.Optional[bool]
|
|
461
|
+
If True, filters for runs that were created in background mode.
|
|
462
|
+
|
|
404
463
|
request_options : typing.Optional[RequestOptions]
|
|
405
464
|
Request-specific configuration.
|
|
406
465
|
|
|
@@ -414,6 +473,7 @@ class AsyncRawRunsClient:
|
|
|
414
473
|
method="GET",
|
|
415
474
|
params={
|
|
416
475
|
"agent_ids": agent_ids,
|
|
476
|
+
"background": background,
|
|
417
477
|
},
|
|
418
478
|
request_options=request_options,
|
|
419
479
|
)
|
|
@@ -85,6 +85,7 @@ class FilesClient:
|
|
|
85
85
|
limit: typing.Optional[int] = None,
|
|
86
86
|
after: typing.Optional[str] = None,
|
|
87
87
|
include_content: typing.Optional[bool] = None,
|
|
88
|
+
check_status_updates: typing.Optional[bool] = None,
|
|
88
89
|
request_options: typing.Optional[RequestOptions] = None,
|
|
89
90
|
) -> typing.List[FileMetadata]:
|
|
90
91
|
"""
|
|
@@ -103,6 +104,9 @@ class FilesClient:
|
|
|
103
104
|
include_content : typing.Optional[bool]
|
|
104
105
|
Whether to include full file content
|
|
105
106
|
|
|
107
|
+
check_status_updates : typing.Optional[bool]
|
|
108
|
+
Whether to check and update file processing status (from the vector db service). If False, will not fetch and update the status, which may lead to performance gains.
|
|
109
|
+
|
|
106
110
|
request_options : typing.Optional[RequestOptions]
|
|
107
111
|
Request-specific configuration.
|
|
108
112
|
|
|
@@ -124,7 +128,12 @@ class FilesClient:
|
|
|
124
128
|
)
|
|
125
129
|
"""
|
|
126
130
|
_response = self._raw_client.list(
|
|
127
|
-
source_id,
|
|
131
|
+
source_id,
|
|
132
|
+
limit=limit,
|
|
133
|
+
after=after,
|
|
134
|
+
include_content=include_content,
|
|
135
|
+
check_status_updates=check_status_updates,
|
|
136
|
+
request_options=request_options,
|
|
128
137
|
)
|
|
129
138
|
return _response.data
|
|
130
139
|
|
|
@@ -242,6 +251,7 @@ class AsyncFilesClient:
|
|
|
242
251
|
limit: typing.Optional[int] = None,
|
|
243
252
|
after: typing.Optional[str] = None,
|
|
244
253
|
include_content: typing.Optional[bool] = None,
|
|
254
|
+
check_status_updates: typing.Optional[bool] = None,
|
|
245
255
|
request_options: typing.Optional[RequestOptions] = None,
|
|
246
256
|
) -> typing.List[FileMetadata]:
|
|
247
257
|
"""
|
|
@@ -260,6 +270,9 @@ class AsyncFilesClient:
|
|
|
260
270
|
include_content : typing.Optional[bool]
|
|
261
271
|
Whether to include full file content
|
|
262
272
|
|
|
273
|
+
check_status_updates : typing.Optional[bool]
|
|
274
|
+
Whether to check and update file processing status (from the vector db service). If False, will not fetch and update the status, which may lead to performance gains.
|
|
275
|
+
|
|
263
276
|
request_options : typing.Optional[RequestOptions]
|
|
264
277
|
Request-specific configuration.
|
|
265
278
|
|
|
@@ -289,7 +302,12 @@ class AsyncFilesClient:
|
|
|
289
302
|
asyncio.run(main())
|
|
290
303
|
"""
|
|
291
304
|
_response = await self._raw_client.list(
|
|
292
|
-
source_id,
|
|
305
|
+
source_id,
|
|
306
|
+
limit=limit,
|
|
307
|
+
after=after,
|
|
308
|
+
include_content=include_content,
|
|
309
|
+
check_status_updates=check_status_updates,
|
|
310
|
+
request_options=request_options,
|
|
293
311
|
)
|
|
294
312
|
return _response.data
|
|
295
313
|
|
|
@@ -104,6 +104,7 @@ class RawFilesClient:
|
|
|
104
104
|
limit: typing.Optional[int] = None,
|
|
105
105
|
after: typing.Optional[str] = None,
|
|
106
106
|
include_content: typing.Optional[bool] = None,
|
|
107
|
+
check_status_updates: typing.Optional[bool] = None,
|
|
107
108
|
request_options: typing.Optional[RequestOptions] = None,
|
|
108
109
|
) -> HttpResponse[typing.List[FileMetadata]]:
|
|
109
110
|
"""
|
|
@@ -122,6 +123,9 @@ class RawFilesClient:
|
|
|
122
123
|
include_content : typing.Optional[bool]
|
|
123
124
|
Whether to include full file content
|
|
124
125
|
|
|
126
|
+
check_status_updates : typing.Optional[bool]
|
|
127
|
+
Whether to check and update file processing status (from the vector db service). If False, will not fetch and update the status, which may lead to performance gains.
|
|
128
|
+
|
|
125
129
|
request_options : typing.Optional[RequestOptions]
|
|
126
130
|
Request-specific configuration.
|
|
127
131
|
|
|
@@ -137,6 +141,7 @@ class RawFilesClient:
|
|
|
137
141
|
"limit": limit,
|
|
138
142
|
"after": after,
|
|
139
143
|
"include_content": include_content,
|
|
144
|
+
"check_status_updates": check_status_updates,
|
|
140
145
|
},
|
|
141
146
|
request_options=request_options,
|
|
142
147
|
)
|
|
@@ -295,6 +300,7 @@ class AsyncRawFilesClient:
|
|
|
295
300
|
limit: typing.Optional[int] = None,
|
|
296
301
|
after: typing.Optional[str] = None,
|
|
297
302
|
include_content: typing.Optional[bool] = None,
|
|
303
|
+
check_status_updates: typing.Optional[bool] = None,
|
|
298
304
|
request_options: typing.Optional[RequestOptions] = None,
|
|
299
305
|
) -> AsyncHttpResponse[typing.List[FileMetadata]]:
|
|
300
306
|
"""
|
|
@@ -313,6 +319,9 @@ class AsyncRawFilesClient:
|
|
|
313
319
|
include_content : typing.Optional[bool]
|
|
314
320
|
Whether to include full file content
|
|
315
321
|
|
|
322
|
+
check_status_updates : typing.Optional[bool]
|
|
323
|
+
Whether to check and update file processing status (from the vector db service). If False, will not fetch and update the status, which may lead to performance gains.
|
|
324
|
+
|
|
316
325
|
request_options : typing.Optional[RequestOptions]
|
|
317
326
|
Request-specific configuration.
|
|
318
327
|
|
|
@@ -328,6 +337,7 @@ class AsyncRawFilesClient:
|
|
|
328
337
|
"limit": limit,
|
|
329
338
|
"after": after,
|
|
330
339
|
"include_content": include_content,
|
|
340
|
+
"check_status_updates": check_status_updates,
|
|
331
341
|
},
|
|
332
342
|
request_options=request_options,
|
|
333
343
|
)
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py
CHANGED
|
@@ -16,6 +16,7 @@ class TemplatesGetTemplateSnapshotResponseAgentsItemProperties(UncheckedBaseMode
|
|
|
16
16
|
max_files_open: typing.Optional[float] = None
|
|
17
17
|
message_buffer_autoclear: typing.Optional[bool] = None
|
|
18
18
|
per_file_view_window_char_limit: typing.Optional[float] = None
|
|
19
|
+
temperature: typing.Optional[float] = None
|
|
19
20
|
|
|
20
21
|
if IS_PYDANTIC_V2:
|
|
21
22
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: letta-client
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.280
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fletta-ai%2Fletta-python)
|
|
31
31
|
[](https://pypi.python.org/pypi/letta-client)
|
|
32
32
|
|
|
33
|
-
The Letta Python library provides convenient access to the Letta
|
|
33
|
+
The Letta Python library provides convenient access to the Letta APIs from Python.
|
|
34
34
|
|
|
35
35
|
## Installation
|
|
36
36
|
|
|
@@ -90,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
90
90
|
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
|
|
91
91
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
92
92
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
93
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
93
|
+
letta_client/core/client_wrapper.py,sha256=PdcPdNk_a0Whq-ujrpXBN5bczYI7wF6pSzM72aEzS5Q,2776
|
|
94
94
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
95
95
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
96
96
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -164,11 +164,11 @@ letta_client/providers/client.py,sha256=999OcO9GFtwmgx9PxA3lF-dEOp4ZEADsWDckeIKc
|
|
|
164
164
|
letta_client/providers/raw_client.py,sha256=vg3z7P7UOjtLraW6GYb2YS5q496GYoyWN1s7u127q8E,30135
|
|
165
165
|
letta_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
166
166
|
letta_client/runs/__init__.py,sha256=rTMzYM1OUKbBt0EOGKEhjNDseImuXG9gUdMCjy2mEbQ,232
|
|
167
|
-
letta_client/runs/client.py,sha256=
|
|
167
|
+
letta_client/runs/client.py,sha256=m4Tqw86IEjJUxOqc3QfnqU7NAystskX_0rUft3EXDeM,15470
|
|
168
168
|
letta_client/runs/messages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
169
169
|
letta_client/runs/messages/client.py,sha256=Ir9uA6W7kSpMLaOgmJeUKAokT4FgAH3l3sMucH-yqds,6998
|
|
170
170
|
letta_client/runs/messages/raw_client.py,sha256=PbbkMSucuK-AmhcUyAdMtdtbnDSZGHb0nvw0vJqlb3s,8963
|
|
171
|
-
letta_client/runs/raw_client.py,sha256=
|
|
171
|
+
letta_client/runs/raw_client.py,sha256=ab0EwBz_FIOsCuftJFo3k7HupJldcUtgsWVqLqnSatg,26880
|
|
172
172
|
letta_client/runs/steps/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
173
173
|
letta_client/runs/steps/client.py,sha256=4MiWOwmSiIX-0U_ic5a-x72Svjh2N7q6etXA5VJ9V30,6074
|
|
174
174
|
letta_client/runs/steps/raw_client.py,sha256=dbM7QYusDn_u4UYZl0I_jK-hCOek_m525we6boGo8jA,7973
|
|
@@ -180,8 +180,8 @@ letta_client/runs/usage/raw_client.py,sha256=cNOsh9fT6MifL9Nh7sEpuNo6LmU0C0AfRv-
|
|
|
180
180
|
letta_client/sources/__init__.py,sha256=Y43-19f7EppL3LmM4hO5LtqT2CRaDJb0LAfnHurqYxU,148
|
|
181
181
|
letta_client/sources/client.py,sha256=A_wBPqj8kkQ5RPeeJljvj8lQ9-HuDogNG6t3DJUnHWk,25755
|
|
182
182
|
letta_client/sources/files/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
183
|
-
letta_client/sources/files/client.py,sha256=
|
|
184
|
-
letta_client/sources/files/raw_client.py,sha256=
|
|
183
|
+
letta_client/sources/files/client.py,sha256=vicwwYIuRJeCzjNUeYGx9Qs3OsrSIWs8TU3iCGyQYIw,9716
|
|
184
|
+
letta_client/sources/files/raw_client.py,sha256=7_ZU-U2rf9I0lwc0MLCV-K8zXNGbfBdYbnCvCUvd9sw,15205
|
|
185
185
|
letta_client/sources/passages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
186
186
|
letta_client/sources/passages/client.py,sha256=6wo3iTfQcDLvmS-TaoX6wUXZ31t1l3VAdoIoJwEVVFY,4064
|
|
187
187
|
letta_client/sources/passages/raw_client.py,sha256=iPIHJs_pmSsbyu5vBFuQdopymxlfQDkEKN4cs4YKVB8,5901
|
|
@@ -218,7 +218,7 @@ letta_client/templates/types/templates_get_template_snapshot_response.py,sha256=
|
|
|
218
218
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py,sha256=ciczqvGIPMcuZCu3ObpVAZh8u_cDWbY6ImApwBOK6lc,2567
|
|
219
219
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables.py,sha256=POh1PTstz0UC_rOnkpEyIQI0yHrANeM6Y5vuJlJAruU,877
|
|
220
220
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables_data_item.py,sha256=TNgE_92wCm2MEGERb_q24_GKzvbh1z1I3pchuwowowA,816
|
|
221
|
-
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py,sha256=
|
|
221
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py,sha256=9s-Abzd4QfGjeOyzrdwrPLad4mZx7z4cvX7aOKbeyHs,1084
|
|
222
222
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item.py,sha256=qoZ-EdDcNRYAQ2bADpvPLAzTKURXZR7ubz4o8yIu3LA,2061
|
|
223
223
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_output_mapping.py,sha256=LLnaNqnXFnoLRTZo2O9nCFlkLTkdj2Re1h6ItsM-_RQ,895
|
|
224
224
|
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_five.py,sha256=6yyJTWEoTy6UVFHqqzbvfY_i1VmWLuZVaRBWU8EbKx8,738
|
|
@@ -566,6 +566,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
566
566
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
567
567
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
568
568
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
569
|
-
letta_client-0.1.
|
|
570
|
-
letta_client-0.1.
|
|
571
|
-
letta_client-0.1.
|
|
569
|
+
letta_client-0.1.280.dist-info/METADATA,sha256=2R6rN3zN3X_raSmpf_8d_Sayv12L-DCYdOmXB-UPNhw,5782
|
|
570
|
+
letta_client-0.1.280.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
571
|
+
letta_client-0.1.280.dist-info/RECORD,,
|
|
File without changes
|