letta-client 0.1.116__py3-none-any.whl → 0.1.118__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 +4 -2
- letta_client/agents/client.py +0 -293
- letta_client/base_client.py +4 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/messages/__init__.py +5 -0
- letta_client/messages/batches/__init__.py +2 -0
- letta_client/messages/batches/client.py +537 -0
- letta_client/messages/client.py +150 -0
- letta_client/types/__init__.py +2 -2
- letta_client/types/batch_job.py +76 -0
- letta_client/types/chat_completion_audio_param_format.py +1 -1
- letta_client/types/completion_create_params_non_streaming_model.py +10 -0
- letta_client/types/completion_create_params_non_streaming_service_tier.py +1 -1
- letta_client/types/completion_create_params_streaming_model.py +10 -0
- letta_client/types/completion_create_params_streaming_service_tier.py +1 -1
- letta_client/types/job.py +15 -0
- letta_client/types/job_type.py +1 -1
- letta_client/types/run.py +15 -0
- {letta_client-0.1.116.dist-info → letta_client-0.1.118.dist-info}/METADATA +1 -1
- {letta_client-0.1.116.dist-info → letta_client-0.1.118.dist-info}/RECORD +21 -17
- letta_client/types/letta_batch_response.py +0 -44
- {letta_client-0.1.116.dist-info → letta_client-0.1.118.dist-info}/WHEEL +0 -0
letta_client/types/__init__.py
CHANGED
|
@@ -20,6 +20,7 @@ from .auth_response import AuthResponse
|
|
|
20
20
|
from .auth_scheme_field import AuthSchemeField
|
|
21
21
|
from .bad_request_error_body import BadRequestErrorBody
|
|
22
22
|
from .base_tool_rule_schema import BaseToolRuleSchema
|
|
23
|
+
from .batch_job import BatchJob
|
|
23
24
|
from .block import Block
|
|
24
25
|
from .block_update import BlockUpdate
|
|
25
26
|
from .chat_completion_assistant_message_param import ChatCompletionAssistantMessageParam
|
|
@@ -114,7 +115,6 @@ from .job_status import JobStatus
|
|
|
114
115
|
from .job_type import JobType
|
|
115
116
|
from .json_schema import JsonSchema
|
|
116
117
|
from .letta_batch_request import LettaBatchRequest
|
|
117
|
-
from .letta_batch_response import LettaBatchResponse
|
|
118
118
|
from .letta_message_content_union import LettaMessageContentUnion
|
|
119
119
|
from .letta_message_union import LettaMessageUnion
|
|
120
120
|
from .letta_request import LettaRequest
|
|
@@ -245,6 +245,7 @@ __all__ = [
|
|
|
245
245
|
"AuthSchemeField",
|
|
246
246
|
"BadRequestErrorBody",
|
|
247
247
|
"BaseToolRuleSchema",
|
|
248
|
+
"BatchJob",
|
|
248
249
|
"Block",
|
|
249
250
|
"BlockUpdate",
|
|
250
251
|
"ChatCompletionAssistantMessageParam",
|
|
@@ -339,7 +340,6 @@ __all__ = [
|
|
|
339
340
|
"JobType",
|
|
340
341
|
"JsonSchema",
|
|
341
342
|
"LettaBatchRequest",
|
|
342
|
-
"LettaBatchResponse",
|
|
343
343
|
"LettaMessageContentUnion",
|
|
344
344
|
"LettaMessageUnion",
|
|
345
345
|
"LettaRequest",
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
import datetime as dt
|
|
7
|
+
from .job_status import JobStatus
|
|
8
|
+
from .job_type import JobType
|
|
9
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class BatchJob(UncheckedBaseModel):
|
|
13
|
+
created_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
14
|
+
"""
|
|
15
|
+
The id of the user that made this object.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
last_updated_by_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
The id of the user that made this object.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
24
|
+
"""
|
|
25
|
+
The timestamp when the object was created.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
29
|
+
"""
|
|
30
|
+
The timestamp when the object was last updated.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
status: typing.Optional[JobStatus] = pydantic.Field(default=None)
|
|
34
|
+
"""
|
|
35
|
+
The status of the job.
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
39
|
+
"""
|
|
40
|
+
The unix timestamp of when the job was completed.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
44
|
+
"""
|
|
45
|
+
The metadata of the job.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
job_type: typing.Optional[JobType] = None
|
|
49
|
+
callback_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
50
|
+
"""
|
|
51
|
+
If set, POST to this URL when the job completes.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
callback_sent_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
55
|
+
"""
|
|
56
|
+
Timestamp when the callback was last attempted.
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
callback_status_code: typing.Optional[int] = pydantic.Field(default=None)
|
|
60
|
+
"""
|
|
61
|
+
HTTP status code returned by the callback endpoint.
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
id: typing.Optional[str] = pydantic.Field(default=None)
|
|
65
|
+
"""
|
|
66
|
+
The human-friendly ID of the Job
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
if IS_PYDANTIC_V2:
|
|
70
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
71
|
+
else:
|
|
72
|
+
|
|
73
|
+
class Config:
|
|
74
|
+
frozen = True
|
|
75
|
+
smart_union = True
|
|
76
|
+
extra = pydantic.Extra.allow
|
|
@@ -4,6 +4,16 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
CompletionCreateParamsNonStreamingModel = typing.Union[
|
|
6
6
|
str,
|
|
7
|
+
typing.Literal["gpt-4.1"],
|
|
8
|
+
typing.Literal["gpt-4.1-mini"],
|
|
9
|
+
typing.Literal["gpt-4.1-nano"],
|
|
10
|
+
typing.Literal["gpt-4.1-2025-04-14"],
|
|
11
|
+
typing.Literal["gpt-4.1-mini-2025-04-14"],
|
|
12
|
+
typing.Literal["gpt-4.1-nano-2025-04-14"],
|
|
13
|
+
typing.Literal["o4-mini"],
|
|
14
|
+
typing.Literal["o4-mini-2025-04-16"],
|
|
15
|
+
typing.Literal["o3"],
|
|
16
|
+
typing.Literal["o3-2025-04-16"],
|
|
7
17
|
typing.Literal["o3-mini"],
|
|
8
18
|
typing.Literal["o3-mini-2025-01-31"],
|
|
9
19
|
typing.Literal["o1"],
|
|
@@ -4,6 +4,16 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
CompletionCreateParamsStreamingModel = typing.Union[
|
|
6
6
|
str,
|
|
7
|
+
typing.Literal["gpt-4.1"],
|
|
8
|
+
typing.Literal["gpt-4.1-mini"],
|
|
9
|
+
typing.Literal["gpt-4.1-nano"],
|
|
10
|
+
typing.Literal["gpt-4.1-2025-04-14"],
|
|
11
|
+
typing.Literal["gpt-4.1-mini-2025-04-14"],
|
|
12
|
+
typing.Literal["gpt-4.1-nano-2025-04-14"],
|
|
13
|
+
typing.Literal["o4-mini"],
|
|
14
|
+
typing.Literal["o4-mini-2025-04-16"],
|
|
15
|
+
typing.Literal["o3"],
|
|
16
|
+
typing.Literal["o3-2025-04-16"],
|
|
7
17
|
typing.Literal["o3-mini"],
|
|
8
18
|
typing.Literal["o3-mini-2025-01-31"],
|
|
9
19
|
typing.Literal["o1"],
|
letta_client/types/job.py
CHANGED
|
@@ -61,6 +61,21 @@ class Job(UncheckedBaseModel):
|
|
|
61
61
|
The type of the job.
|
|
62
62
|
"""
|
|
63
63
|
|
|
64
|
+
callback_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
65
|
+
"""
|
|
66
|
+
If set, POST to this URL when the job completes.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
callback_sent_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
70
|
+
"""
|
|
71
|
+
Timestamp when the callback was last attempted.
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
callback_status_code: typing.Optional[int] = pydantic.Field(default=None)
|
|
75
|
+
"""
|
|
76
|
+
HTTP status code returned by the callback endpoint.
|
|
77
|
+
"""
|
|
78
|
+
|
|
64
79
|
id: typing.Optional[str] = pydantic.Field(default=None)
|
|
65
80
|
"""
|
|
66
81
|
The human-friendly ID of the Job
|
letta_client/types/job_type.py
CHANGED
letta_client/types/run.py
CHANGED
|
@@ -59,6 +59,21 @@ class Run(UncheckedBaseModel):
|
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
job_type: typing.Optional[JobType] = None
|
|
62
|
+
callback_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
63
|
+
"""
|
|
64
|
+
If set, POST to this URL when the job completes.
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
callback_sent_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
68
|
+
"""
|
|
69
|
+
Timestamp when the callback was last attempted.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
callback_status_code: typing.Optional[int] = pydantic.Field(default=None)
|
|
73
|
+
"""
|
|
74
|
+
HTTP status code returned by the callback endpoint.
|
|
75
|
+
"""
|
|
76
|
+
|
|
62
77
|
id: typing.Optional[str] = pydantic.Field(default=None)
|
|
63
78
|
"""
|
|
64
79
|
The human-friendly ID of the Run
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=oU-1Vq1arydqXE9q_Rp4B7VshBLJO4C3ZIZ6Sg2Q70s,16174
|
|
2
2
|
letta_client/agents/__init__.py,sha256=CveigJGrnkw3yZ8S9yZ2DpK1HV0v1fU-khsiLJJ0uaU,1452
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=u5zvutxoH_DqfSLWhRtNSRBC9_ezQDx682cxkxDz3JA,23822
|
|
5
|
-
letta_client/agents/client.py,sha256=
|
|
5
|
+
letta_client/agents/client.py,sha256=ku9SdcBr0WmR5pjwD1kfq4EMuH-BM3WROO-uda2pul4,93545
|
|
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
|
|
@@ -38,7 +38,7 @@ letta_client/agents/types/agents_search_request_search_item_zero.py,sha256=tGjwn
|
|
|
38
38
|
letta_client/agents/types/agents_search_response.py,sha256=AQJVKps-bjCx2ujqESzW1Iy9ZYFS17hH_UFIeBeK4S8,815
|
|
39
39
|
letta_client/agents/types/create_agent_request_tool_rules_item.py,sha256=L3FNsFTG9kVmuPbQhbCKNg3H2E5bB2Rgp92gWmGd-LM,689
|
|
40
40
|
letta_client/agents/types/update_agent_tool_rules_item.py,sha256=k9MmcVPsK-EGl8XlT3JQwdlBNLgpGw528jmi8fCFS7g,682
|
|
41
|
-
letta_client/base_client.py,sha256=
|
|
41
|
+
letta_client/base_client.py,sha256=37vSxqxIwuotfwpLaJWyqePXUUoNt7ZS6TgJcp4G77c,9503
|
|
42
42
|
letta_client/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
43
43
|
letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw,30082
|
|
44
44
|
letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
|
|
@@ -53,7 +53,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_cl
|
|
|
53
53
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_create_client_side_access_token_response_policy_data_item_access_item.py,sha256=vefuUVB3pLCbCNBJACXMsEKZuwhMAGvLwSU3TU3Q4l4,275
|
|
54
54
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
55
55
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
56
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
56
|
+
letta_client/core/client_wrapper.py,sha256=QTdJpY9wyKFAykjZavLIcXbkODF4gZJhh9GYSvH-AKs,1998
|
|
57
57
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
58
58
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
59
59
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -88,6 +88,10 @@ letta_client/identities/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPA
|
|
|
88
88
|
letta_client/identities/client.py,sha256=kFcShBwJF3RSmOcEVBYM1-IFTFWD3zvCD0JsHSWDeh4,40986
|
|
89
89
|
letta_client/jobs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
90
90
|
letta_client/jobs/client.py,sha256=z1Zq6dGs2xbf3EAFuD3-m-qbpbUeqpCBYqtIFKkGoMk,15622
|
|
91
|
+
letta_client/messages/__init__.py,sha256=YH5-krRUPFJQGtFgUr_krZfjlEHcRUAIJZ5J1sIE9bM,110
|
|
92
|
+
letta_client/messages/batches/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
93
|
+
letta_client/messages/batches/client.py,sha256=9vjs5IOSlhLeIAjRwy5RHbr0WuNRIAs645k48ayjdkM,17267
|
|
94
|
+
letta_client/messages/client.py,sha256=MTBnxo2irqz8Y3i0iDEtW6SWYOIG4XjEqUZRur3edrQ,5016
|
|
91
95
|
letta_client/models/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
92
96
|
letta_client/models/client.py,sha256=Rd9IHjSdXRzzZyabpq8pDTc9XDnwLPnmm5by335g1D0,6306
|
|
93
97
|
letta_client/projects/__init__.py,sha256=CccxELBuPLqC6SfAJMNP3I4tEzYBNNA9CUrhuPk-TVI,243
|
|
@@ -123,7 +127,7 @@ letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7gl
|
|
|
123
127
|
letta_client/tools/types/add_mcp_server_response_item.py,sha256=TWdsKqGb1INhYtpGnAckz0Pw4nZShumSp4pfocRfxCA,270
|
|
124
128
|
letta_client/tools/types/delete_mcp_server_response_item.py,sha256=MeZObU-7tMSCd-S5yuUjNDse6A1hUz1LLjbko0pXaro,273
|
|
125
129
|
letta_client/tools/types/list_mcp_servers_response_value.py,sha256=AIoXu4bO8QNSU7zjL1jj0Rg4313wVtPaTt13W0aevLQ,273
|
|
126
|
-
letta_client/types/__init__.py,sha256=
|
|
130
|
+
letta_client/types/__init__.py,sha256=X-4mwCyHwKdCmS6dQZeoaZT2fCR6ChlNl9mRH1IAdBI,19827
|
|
127
131
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
128
132
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
129
133
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -144,13 +148,14 @@ letta_client/types/auth_response.py,sha256=jtG9Nn0voJcOWkBtvnuGGwhpUhYz9A8O7soOJ
|
|
|
144
148
|
letta_client/types/auth_scheme_field.py,sha256=W4-qgKtKUSpBHaSvjLyzLybOIsGo7Ggk4VECpsoPnqQ,881
|
|
145
149
|
letta_client/types/bad_request_error_body.py,sha256=E4_eWEc9xeW9BkXGViBDrevV8Jf6PjgEweeGS3vJLD4,567
|
|
146
150
|
letta_client/types/base_tool_rule_schema.py,sha256=FbnJy6gb8wY_DPiU3Gs-u1Ol_l4K7-nAmPTc1oR3kOo,582
|
|
151
|
+
letta_client/types/batch_job.py,sha256=s7mWlU0m7miuf9BTCTKo1rWidSXXcjJoTnS366lcA1Y,2201
|
|
147
152
|
letta_client/types/block.py,sha256=J8McqSpellhd-KsPYontU8DYg3YV41_fQW5rR-85qMk,2900
|
|
148
153
|
letta_client/types/block_update.py,sha256=oIgxvSnav5vxztBdslRMiWOgRaAp3dh43pinZpoLzxk,1496
|
|
149
154
|
letta_client/types/chat_completion_assistant_message_param.py,sha256=QwxAJ9RQqxtZKnt6g6RfDppuMIt-1RAIlpnfSrVdHgg,1219
|
|
150
155
|
letta_client/types/chat_completion_assistant_message_param_content.py,sha256=CJ7Z_Jik2fzBYGy0UuvgDk0aLt3-Xpj3qswBLmWM0Sg,323
|
|
151
156
|
letta_client/types/chat_completion_assistant_message_param_content_item.py,sha256=tF-E0jNH0ilRJgm4vPTqHguCb-TZZ0LJfTXxOnon23w,405
|
|
152
157
|
letta_client/types/chat_completion_audio_param.py,sha256=l3hMhCWVDglmqmVezfuemQZoEevpndfyKJBDLu0_t-U,795
|
|
153
|
-
letta_client/types/chat_completion_audio_param_format.py,sha256=
|
|
158
|
+
letta_client/types/chat_completion_audio_param_format.py,sha256=_Jk2jCTMnQIi3tekbyca3izfaX-1Dkj_Jjc7-jai0D0,200
|
|
154
159
|
letta_client/types/chat_completion_audio_param_voice.py,sha256=9bpfU_DFyUdFLYZMkigrNlre4VklwqX7mGa0myMt7HQ,453
|
|
155
160
|
letta_client/types/chat_completion_content_part_image_param.py,sha256=dUQIFiDbyebgPEpVJJlDvZ5pcoly3LuGq-4fxojDbBc,674
|
|
156
161
|
letta_client/types/chat_completion_content_part_input_audio_param.py,sha256=-RGWHcpNdJQg82E8QhRve2QJQehma91k8eqGqeH29hc,691
|
|
@@ -180,20 +185,20 @@ letta_client/types/completion_create_params_non_streaming.py,sha256=hjEJ-wJWuFuT
|
|
|
180
185
|
letta_client/types/completion_create_params_non_streaming_function_call.py,sha256=6iCjgXwsXnflllhfDDKtHRyxzKqtLcX6-HVr7AXlyUM,329
|
|
181
186
|
letta_client/types/completion_create_params_non_streaming_messages_item.py,sha256=pKMxLh1XFgMl7LqcjKJmdeKYTCwlr3FLFPTuvaLf3D0,883
|
|
182
187
|
letta_client/types/completion_create_params_non_streaming_modalities_item.py,sha256=BuyCf2nTCWVhishXFk3CsQphnPwNXj-kBdPMjkb8X10,189
|
|
183
|
-
letta_client/types/completion_create_params_non_streaming_model.py,sha256=
|
|
188
|
+
letta_client/types/completion_create_params_non_streaming_model.py,sha256=yZSFdZPQikDFyoI5tuaz_1Ub23Y3wYrQ-irav-UsCo4,2310
|
|
184
189
|
letta_client/types/completion_create_params_non_streaming_reasoning_effort.py,sha256=f1hBX3qksGoGC6O2W5qHblCQXtoZiEhiN8LUy1Rv9Ig,198
|
|
185
190
|
letta_client/types/completion_create_params_non_streaming_response_format.py,sha256=c16kBch59yhxAgMeFTxGNrEBNl4Vu3fPmZ2RqqS6bkU,407
|
|
186
|
-
letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=
|
|
191
|
+
letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=zzKUXMUe4WiJbImbYWqCPtEXF-JztlnFiZ-9waj96Sc,196
|
|
187
192
|
letta_client/types/completion_create_params_non_streaming_stop.py,sha256=5vPdgab7iH6eDizESU2_CMieWN5CN3pF8TZs-Zb7rMw,157
|
|
188
193
|
letta_client/types/completion_create_params_non_streaming_tool_choice.py,sha256=jP4qKEF5-TOkBHebni-L9eNpbPnIEpv7fa6v4K_L5U8,346
|
|
189
194
|
letta_client/types/completion_create_params_streaming.py,sha256=sgazDkBKpQTk2NtrJ0l7F0moftbl-zgpw6lkEQt6ha0,3891
|
|
190
195
|
letta_client/types/completion_create_params_streaming_function_call.py,sha256=cxsVe0wAIKPAsndL5vB_BCTy6oSxFph7qB1c1LWmeDw,326
|
|
191
196
|
letta_client/types/completion_create_params_streaming_messages_item.py,sha256=S4E0fe3LgVyetb2PEqhGNxqMj5kgQx4q6Qk2bvvu2Ok,880
|
|
192
197
|
letta_client/types/completion_create_params_streaming_modalities_item.py,sha256=o9ZU7r22WrE6z-BSJ72LJXHtVRIpK499WArVgY-ODgI,186
|
|
193
|
-
letta_client/types/completion_create_params_streaming_model.py,sha256=
|
|
198
|
+
letta_client/types/completion_create_params_streaming_model.py,sha256=P6aKoGFXypa0MTr_wMnj4b_cNynuJCr-vtaXQm4SIwo,2307
|
|
194
199
|
letta_client/types/completion_create_params_streaming_reasoning_effort.py,sha256=4-JFyaD92zia-kN7bPyCWwf_AMDnG2xUXWx8GQU1EFE,195
|
|
195
200
|
letta_client/types/completion_create_params_streaming_response_format.py,sha256=31sy6fKZ4r50zvjVTnoOpwNX81Bx7kFM75Mn7-obbYI,404
|
|
196
|
-
letta_client/types/completion_create_params_streaming_service_tier.py,sha256=
|
|
201
|
+
letta_client/types/completion_create_params_streaming_service_tier.py,sha256=8TpNMpnwtpLbavL00_oYKgu94TbSIptldLmzpPP1eMA,193
|
|
197
202
|
letta_client/types/completion_create_params_streaming_stop.py,sha256=dSyQDu851QyeoRjpoE2JBIyKIYGO5jVx6UIH-bLiQwo,154
|
|
198
203
|
letta_client/types/completion_create_params_streaming_tool_choice.py,sha256=w_JLYtdz8eHzF2lwlMaMGpnOl8_4mjGbsDOSpMyM5cg,343
|
|
199
204
|
letta_client/types/components_schemas_text_content.py,sha256=F21GPPwREb6GodS4dGsT7-4wySEUdhpq6krznF-sOPE,147
|
|
@@ -233,12 +238,11 @@ letta_client/types/init_tool_rule.py,sha256=fPQqBigbqZfJXPoXdpBCFlilVYf5p4-t0tou
|
|
|
233
238
|
letta_client/types/input_audio.py,sha256=fxFmzR3I2ZyxpCc1cuVwKQClgnKGBuY8yZYhYC5SqtU,633
|
|
234
239
|
letta_client/types/input_audio_format.py,sha256=QQFfndI9w66wIbGyHwfmJnk2bEJDPmEs9GybkaNL6AI,154
|
|
235
240
|
letta_client/types/internal_server_error_body.py,sha256=xR9n1zptgmImbH6apQAuwBblYOWAYNLFzY8s0SUcEug,653
|
|
236
|
-
letta_client/types/job.py,sha256=
|
|
241
|
+
letta_client/types/job.py,sha256=yCIUmvvyoN5n92toD7vyMByXjWxHAPCbsf7PMYkrbKY,2763
|
|
237
242
|
letta_client/types/job_status.py,sha256=lX5Q0QMQFnw-WiirqHD6kgBvGr6I7r8rKLnMJdqhlT8,239
|
|
238
|
-
letta_client/types/job_type.py,sha256=
|
|
243
|
+
letta_client/types/job_type.py,sha256=HXYrfzPwxI54PqV7OVcMhewSJ_pBNHc14s9LcExr7Ss,154
|
|
239
244
|
letta_client/types/json_schema.py,sha256=EHcLKBSGRsSzCKTpujKFHylcLJG6ODQIBrjQkU4lWDQ,870
|
|
240
245
|
letta_client/types/letta_batch_request.py,sha256=HdIuaaUaqINbau98jPqyIc7Ge84VlCf6VhAQpIhCFvQ,1354
|
|
241
|
-
letta_client/types/letta_batch_response.py,sha256=i1KP1aZh710acu5bKNmcmdiheuPrKbkJr4_e2K2ki_k,1161
|
|
242
246
|
letta_client/types/letta_message_content_union.py,sha256=YxzyXKxUMeqbqWOlDs9LC8HUiqEhgkNCV9a76GS3spg,486
|
|
243
247
|
letta_client/types/letta_message_union.py,sha256=TTQwlur2CZNdZ466Nb_2TFcSFXrgoMliaNzD33t7Ktw,603
|
|
244
248
|
letta_client/types/letta_request.py,sha256=bCPDRJhSJSo5eILJp0mTw_k26O3dZL1vChfAcaZ0rE8,1240
|
|
@@ -287,7 +291,7 @@ letta_client/types/response_format_json_schema.py,sha256=7CgBQ9Lmst2oz_NoGr-1Sk-
|
|
|
287
291
|
letta_client/types/response_format_text.py,sha256=5HhXaYWDR0zeFLhH5nIqIN3n192UXrMZeSyORjIWFKQ,591
|
|
288
292
|
letta_client/types/round_robin_manager.py,sha256=zcPLc74VlpHPeIHJiEisF9Kn14mKwfQikUjK-DMR-_U,700
|
|
289
293
|
letta_client/types/round_robin_manager_update.py,sha256=EKdEbaXBWyzsiR1TApBkmvhyu_qEf89E0xbC550oyKw,706
|
|
290
|
-
letta_client/types/run.py,sha256
|
|
294
|
+
letta_client/types/run.py,sha256=-6UEu78NS32DaRf6LMkUdYq7_4pMz3RT0p9WKxDP6k4,2947
|
|
291
295
|
letta_client/types/sandbox_config.py,sha256=nvVdB0WnK_-bEHIehvBGiiD0hvujA93Ko4FuGMAJDdk,1550
|
|
292
296
|
letta_client/types/sandbox_config_create.py,sha256=eP3Bg9JsROEQEEXm9zo-AJb5QvinO1fQkbDhNcfAUt0,730
|
|
293
297
|
letta_client/types/sandbox_config_create_config.py,sha256=EsSeN81_yPkorfQgOJmumdCWiUt8hk9HawSsRcCc5Hs,263
|
|
@@ -348,6 +352,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
348
352
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
349
353
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
350
354
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
351
|
-
letta_client-0.1.
|
|
352
|
-
letta_client-0.1.
|
|
353
|
-
letta_client-0.1.
|
|
355
|
+
letta_client-0.1.118.dist-info/METADATA,sha256=vLOndpla-G9Jr5wBzBnfqCiSuN9gdJebeF8XdcS64ic,5042
|
|
356
|
+
letta_client-0.1.118.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
357
|
+
letta_client-0.1.118.dist-info/RECORD,,
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
-
import pydantic
|
|
5
|
-
from .job_status import JobStatus
|
|
6
|
-
import datetime as dt
|
|
7
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
-
import typing
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class LettaBatchResponse(UncheckedBaseModel):
|
|
12
|
-
batch_id: str = pydantic.Field()
|
|
13
|
-
"""
|
|
14
|
-
A unique identifier for this batch request.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
status: JobStatus = pydantic.Field()
|
|
18
|
-
"""
|
|
19
|
-
The current status of the batch request.
|
|
20
|
-
"""
|
|
21
|
-
|
|
22
|
-
agent_count: int = pydantic.Field()
|
|
23
|
-
"""
|
|
24
|
-
The number of agents in the batch request.
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
last_polled_at: dt.datetime = pydantic.Field()
|
|
28
|
-
"""
|
|
29
|
-
The timestamp when the batch was last polled for updates.
|
|
30
|
-
"""
|
|
31
|
-
|
|
32
|
-
created_at: dt.datetime = pydantic.Field()
|
|
33
|
-
"""
|
|
34
|
-
The timestamp when the batch request was created.
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
if IS_PYDANTIC_V2:
|
|
38
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
39
|
-
else:
|
|
40
|
-
|
|
41
|
-
class Config:
|
|
42
|
-
frozen = True
|
|
43
|
-
smart_union = True
|
|
44
|
-
extra = pydantic.Extra.allow
|
|
File without changes
|