letta-client 0.1.309__py3-none-any.whl → 0.1.311__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 +12 -0
- letta_client/agents/blocks/client.py +10 -0
- letta_client/agents/blocks/raw_client.py +10 -0
- letta_client/agents/passages/client.py +12 -12
- letta_client/agents/passages/raw_client.py +17 -16
- letta_client/blocks/client.py +20 -0
- letta_client/blocks/raw_client.py +20 -0
- letta_client/core/client_wrapper.py +2 -2
- letta_client/groups/client.py +10 -0
- letta_client/groups/raw_client.py +10 -0
- letta_client/types/__init__.py +12 -0
- letta_client/types/block.py +5 -0
- letta_client/types/block_schema.py +5 -0
- letta_client/types/block_update.py +5 -0
- letta_client/types/create_block.py +5 -0
- letta_client/types/file_block.py +5 -0
- letta_client/types/group.py +5 -0
- letta_client/types/group_schema.py +5 -0
- letta_client/types/internal_template_agent_create.py +256 -0
- letta_client/types/internal_template_agent_create_response_format.py +11 -0
- letta_client/types/internal_template_agent_create_tool_rules_item.py +25 -0
- letta_client/types/internal_template_block_create.py +93 -0
- letta_client/types/internal_template_group_create.py +68 -0
- letta_client/types/internal_template_group_create_manager_config.py +13 -0
- {letta_client-0.1.309.dist-info → letta_client-0.1.311.dist-info}/METADATA +1 -1
- {letta_client-0.1.309.dist-info → letta_client-0.1.311.dist-info}/RECORD +27 -21
- {letta_client-0.1.309.dist-info → letta_client-0.1.311.dist-info}/WHEEL +0 -0
letta_client/types/group.py
CHANGED
|
@@ -94,6 +94,11 @@ class Group(UncheckedBaseModel):
|
|
|
94
94
|
The desired minimum length of messages in the context window of the convo agent. This is a best effort, and may be off-by-one due to user/assistant interleaving.
|
|
95
95
|
"""
|
|
96
96
|
|
|
97
|
+
hidden: typing.Optional[bool] = pydantic.Field(default=None)
|
|
98
|
+
"""
|
|
99
|
+
If set to True, the group will be hidden.
|
|
100
|
+
"""
|
|
101
|
+
|
|
97
102
|
if IS_PYDANTIC_V2:
|
|
98
103
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
99
104
|
else:
|
|
@@ -38,6 +38,11 @@ class GroupSchema(UncheckedBaseModel):
|
|
|
38
38
|
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
|
+
hidden: typing.Optional[bool] = pydantic.Field(default=None)
|
|
42
|
+
"""
|
|
43
|
+
If set to True, the group will be hidden.
|
|
44
|
+
"""
|
|
45
|
+
|
|
41
46
|
id: str = pydantic.Field()
|
|
42
47
|
"""
|
|
43
48
|
Human-readable identifier for this group in the file
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
+
from .agent_type import AgentType
|
|
9
|
+
from .create_block import CreateBlock
|
|
10
|
+
from .embedding_config import EmbeddingConfig
|
|
11
|
+
from .internal_template_agent_create_response_format import InternalTemplateAgentCreateResponseFormat
|
|
12
|
+
from .internal_template_agent_create_tool_rules_item import InternalTemplateAgentCreateToolRulesItem
|
|
13
|
+
from .llm_config import LlmConfig
|
|
14
|
+
from .message_create import MessageCreate
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class InternalTemplateAgentCreate(UncheckedBaseModel):
|
|
18
|
+
"""
|
|
19
|
+
Used for Letta Cloud
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
23
|
+
"""
|
|
24
|
+
The name of the agent.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
memory_blocks: typing.Optional[typing.List[CreateBlock]] = pydantic.Field(default=None)
|
|
28
|
+
"""
|
|
29
|
+
The blocks to create in the agent's in-context memory.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
tools: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
33
|
+
"""
|
|
34
|
+
The tools used by the agent.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
tool_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
38
|
+
"""
|
|
39
|
+
The ids of the tools used by the agent.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
source_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
43
|
+
"""
|
|
44
|
+
The ids of the sources used by the agent.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
block_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
48
|
+
"""
|
|
49
|
+
The ids of the blocks used by the agent.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
tool_rules: typing.Optional[typing.List[InternalTemplateAgentCreateToolRulesItem]] = pydantic.Field(default=None)
|
|
53
|
+
"""
|
|
54
|
+
The tool rules governing the agent.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
tags: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
58
|
+
"""
|
|
59
|
+
The tags associated with the agent.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
system: typing.Optional[str] = pydantic.Field(default=None)
|
|
63
|
+
"""
|
|
64
|
+
The system prompt used by the agent.
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
agent_type: typing.Optional[AgentType] = pydantic.Field(default=None)
|
|
68
|
+
"""
|
|
69
|
+
The type of agent.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
llm_config: typing.Optional[LlmConfig] = pydantic.Field(default=None)
|
|
73
|
+
"""
|
|
74
|
+
The LLM configuration used by the agent.
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
embedding_config: typing.Optional[EmbeddingConfig] = pydantic.Field(default=None)
|
|
78
|
+
"""
|
|
79
|
+
The embedding configuration used by the agent.
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
initial_message_sequence: typing.Optional[typing.List[MessageCreate]] = pydantic.Field(default=None)
|
|
83
|
+
"""
|
|
84
|
+
The initial set of messages to put in the agent's in-context memory.
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
include_base_tools: typing.Optional[bool] = pydantic.Field(default=None)
|
|
88
|
+
"""
|
|
89
|
+
If true, attaches the Letta core tools (e.g. core_memory related functions).
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
include_multi_agent_tools: typing.Optional[bool] = pydantic.Field(default=None)
|
|
93
|
+
"""
|
|
94
|
+
If true, attaches the Letta multi-agent tools (e.g. sending a message to another agent).
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
include_base_tool_rules: typing.Optional[bool] = pydantic.Field(default=None)
|
|
98
|
+
"""
|
|
99
|
+
If true, attaches the Letta base tool rules (e.g. deny all tools not explicitly allowed).
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
include_default_source: typing.Optional[bool] = pydantic.Field(default=None)
|
|
103
|
+
"""
|
|
104
|
+
If true, automatically creates and attaches a default data source for this agent.
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
108
|
+
"""
|
|
109
|
+
The description of the agent.
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
113
|
+
"""
|
|
114
|
+
The metadata of the agent.
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
model: typing.Optional[str] = pydantic.Field(default=None)
|
|
118
|
+
"""
|
|
119
|
+
The LLM configuration handle used by the agent, specified in the format provider/model-name, as an alternative to specifying llm_config.
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
embedding: typing.Optional[str] = pydantic.Field(default=None)
|
|
123
|
+
"""
|
|
124
|
+
The embedding configuration handle used by the agent, specified in the format provider/model-name.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
context_window_limit: typing.Optional[int] = pydantic.Field(default=None)
|
|
128
|
+
"""
|
|
129
|
+
The context window limit used by the agent.
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
embedding_chunk_size: typing.Optional[int] = pydantic.Field(default=None)
|
|
133
|
+
"""
|
|
134
|
+
The embedding chunk size used by the agent.
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
max_tokens: typing.Optional[int] = pydantic.Field(default=None)
|
|
138
|
+
"""
|
|
139
|
+
The maximum number of tokens to generate, including reasoning step. If not set, the model will use its default value.
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
max_reasoning_tokens: typing.Optional[int] = pydantic.Field(default=None)
|
|
143
|
+
"""
|
|
144
|
+
The maximum number of tokens to generate for reasoning step. If not set, the model will use its default value.
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
enable_reasoner: typing.Optional[bool] = pydantic.Field(default=None)
|
|
148
|
+
"""
|
|
149
|
+
Whether to enable internal extended thinking step for a reasoner model.
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
reasoning: typing.Optional[bool] = pydantic.Field(default=None)
|
|
153
|
+
"""
|
|
154
|
+
Whether to enable reasoning for this agent.
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
from_template: typing.Optional[str] = pydantic.Field(default=None)
|
|
158
|
+
"""
|
|
159
|
+
The template id used to configure the agent
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
template: typing.Optional[bool] = pydantic.Field(default=None)
|
|
163
|
+
"""
|
|
164
|
+
Whether the agent is a template
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
project: typing.Optional[str] = pydantic.Field(default=None)
|
|
168
|
+
"""
|
|
169
|
+
Deprecated: Project should now be passed via the X-Project header instead of in the request body. If using the sdk, this can be done via the new x_project field below.
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
tool_exec_environment_variables: typing.Optional[typing.Dict[str, typing.Optional[str]]] = pydantic.Field(
|
|
173
|
+
default=None
|
|
174
|
+
)
|
|
175
|
+
"""
|
|
176
|
+
The environment variables for tool execution specific to this agent.
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
memory_variables: typing.Optional[typing.Dict[str, typing.Optional[str]]] = pydantic.Field(default=None)
|
|
180
|
+
"""
|
|
181
|
+
The variables that should be set for the agent.
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
185
|
+
"""
|
|
186
|
+
The id of the project the agent belongs to.
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
template_id: str = pydantic.Field()
|
|
190
|
+
"""
|
|
191
|
+
The id of the template.
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
base_template_id: str = pydantic.Field()
|
|
195
|
+
"""
|
|
196
|
+
The id of the base template.
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
identity_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
200
|
+
"""
|
|
201
|
+
The ids of the identities associated with this agent.
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
message_buffer_autoclear: typing.Optional[bool] = pydantic.Field(default=None)
|
|
205
|
+
"""
|
|
206
|
+
If set to True, the agent will not remember previous messages (though the agent will still retain state via core memory blocks and archival/recall memory). Not recommended unless you have an advanced use case.
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
enable_sleeptime: typing.Optional[bool] = pydantic.Field(default=None)
|
|
210
|
+
"""
|
|
211
|
+
If set to True, memory management will move to a background agent thread.
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
response_format: typing.Optional[InternalTemplateAgentCreateResponseFormat] = pydantic.Field(default=None)
|
|
215
|
+
"""
|
|
216
|
+
The response format for the agent.
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
timezone: typing.Optional[str] = pydantic.Field(default=None)
|
|
220
|
+
"""
|
|
221
|
+
The timezone of the agent (IANA format).
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
max_files_open: typing.Optional[int] = pydantic.Field(default=None)
|
|
225
|
+
"""
|
|
226
|
+
Maximum number of files that can be open at once for this agent. Setting this too high may exceed the context window, which will break the agent.
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
per_file_view_window_char_limit: typing.Optional[int] = pydantic.Field(default=None)
|
|
230
|
+
"""
|
|
231
|
+
The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
hidden: typing.Optional[bool] = pydantic.Field(default=None)
|
|
235
|
+
"""
|
|
236
|
+
If set to True, the agent will be hidden.
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
deployment_id: str = pydantic.Field()
|
|
240
|
+
"""
|
|
241
|
+
The id of the deployment.
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
entity_id: str = pydantic.Field()
|
|
245
|
+
"""
|
|
246
|
+
The id of the entity within the template.
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
if IS_PYDANTIC_V2:
|
|
250
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
251
|
+
else:
|
|
252
|
+
|
|
253
|
+
class Config:
|
|
254
|
+
frozen = True
|
|
255
|
+
smart_union = True
|
|
256
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .json_object_response_format import JsonObjectResponseFormat
|
|
6
|
+
from .json_schema_response_format import JsonSchemaResponseFormat
|
|
7
|
+
from .text_response_format import TextResponseFormat
|
|
8
|
+
|
|
9
|
+
InternalTemplateAgentCreateResponseFormat = typing.Union[
|
|
10
|
+
JsonObjectResponseFormat, JsonSchemaResponseFormat, TextResponseFormat
|
|
11
|
+
]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .child_tool_rule import ChildToolRule
|
|
6
|
+
from .conditional_tool_rule import ConditionalToolRule
|
|
7
|
+
from .continue_tool_rule import ContinueToolRule
|
|
8
|
+
from .init_tool_rule import InitToolRule
|
|
9
|
+
from .max_count_per_step_tool_rule import MaxCountPerStepToolRule
|
|
10
|
+
from .parent_tool_rule import ParentToolRule
|
|
11
|
+
from .required_before_exit_tool_rule import RequiredBeforeExitToolRule
|
|
12
|
+
from .requires_approval_tool_rule import RequiresApprovalToolRule
|
|
13
|
+
from .terminal_tool_rule import TerminalToolRule
|
|
14
|
+
|
|
15
|
+
InternalTemplateAgentCreateToolRulesItem = typing.Union[
|
|
16
|
+
ConditionalToolRule,
|
|
17
|
+
ChildToolRule,
|
|
18
|
+
ContinueToolRule,
|
|
19
|
+
TerminalToolRule,
|
|
20
|
+
MaxCountPerStepToolRule,
|
|
21
|
+
ParentToolRule,
|
|
22
|
+
RequiredBeforeExitToolRule,
|
|
23
|
+
RequiresApprovalToolRule,
|
|
24
|
+
InitToolRule,
|
|
25
|
+
]
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InternalTemplateBlockCreate(UncheckedBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Used for Letta Cloud
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
value: str = pydantic.Field()
|
|
16
|
+
"""
|
|
17
|
+
Value of the block.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
limit: typing.Optional[int] = pydantic.Field(default=None)
|
|
21
|
+
"""
|
|
22
|
+
Character limit of the block.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
26
|
+
"""
|
|
27
|
+
The associated project id.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
31
|
+
"""
|
|
32
|
+
Name of the block if it is a template.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
is_template: typing.Optional[bool] = None
|
|
36
|
+
template_id: str = pydantic.Field()
|
|
37
|
+
"""
|
|
38
|
+
The id of the template.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
base_template_id: str = pydantic.Field()
|
|
42
|
+
"""
|
|
43
|
+
The id of the base template.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
deployment_id: str = pydantic.Field()
|
|
47
|
+
"""
|
|
48
|
+
The id of the deployment.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
entity_id: str = pydantic.Field()
|
|
52
|
+
"""
|
|
53
|
+
The id of the entity within the template.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
preserve_on_migration: typing.Optional[bool] = pydantic.Field(default=None)
|
|
57
|
+
"""
|
|
58
|
+
Preserve the block on template migration.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
label: str = pydantic.Field()
|
|
62
|
+
"""
|
|
63
|
+
Label of the block.
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
read_only: typing.Optional[bool] = pydantic.Field(default=None)
|
|
67
|
+
"""
|
|
68
|
+
Whether the agent has read-only access to the block.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
72
|
+
"""
|
|
73
|
+
Description of the block.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
77
|
+
"""
|
|
78
|
+
Metadata of the block.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
hidden: typing.Optional[bool] = pydantic.Field(default=None)
|
|
82
|
+
"""
|
|
83
|
+
If set to True, the block will be hidden.
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
if IS_PYDANTIC_V2:
|
|
87
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
88
|
+
else:
|
|
89
|
+
|
|
90
|
+
class Config:
|
|
91
|
+
frozen = True
|
|
92
|
+
smart_union = True
|
|
93
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
+
from .internal_template_group_create_manager_config import InternalTemplateGroupCreateManagerConfig
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class InternalTemplateGroupCreate(UncheckedBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
Used for Letta Cloud
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
agent_ids: typing.List[str] = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
description: str = pydantic.Field()
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
manager_config: typing.Optional[InternalTemplateGroupCreateManagerConfig] = pydantic.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
The associated project id.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
shared_block_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
hidden: typing.Optional[bool] = pydantic.Field(default=None)
|
|
42
|
+
"""
|
|
43
|
+
If set to True, the group will be hidden.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
base_template_id: str = pydantic.Field()
|
|
47
|
+
"""
|
|
48
|
+
The id of the base template.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
template_id: str = pydantic.Field()
|
|
52
|
+
"""
|
|
53
|
+
The id of the template.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
deployment_id: str = pydantic.Field()
|
|
57
|
+
"""
|
|
58
|
+
The id of the deployment.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
if IS_PYDANTIC_V2:
|
|
62
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
63
|
+
else:
|
|
64
|
+
|
|
65
|
+
class Config:
|
|
66
|
+
frozen = True
|
|
67
|
+
smart_union = True
|
|
68
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .dynamic_manager import DynamicManager
|
|
6
|
+
from .round_robin_manager import RoundRobinManager
|
|
7
|
+
from .sleeptime_manager import SleeptimeManager
|
|
8
|
+
from .supervisor_manager import SupervisorManager
|
|
9
|
+
from .voice_sleeptime_manager import VoiceSleeptimeManager
|
|
10
|
+
|
|
11
|
+
InternalTemplateGroupCreateManagerConfig = typing.Union[
|
|
12
|
+
DynamicManager, RoundRobinManager, SleeptimeManager, SupervisorManager, VoiceSleeptimeManager
|
|
13
|
+
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=bXiTjE64Mj9HyVqd7lTCNddeKrY_jCMBMD8_r_1q2S8,28177
|
|
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
|
-
letta_client/agents/blocks/client.py,sha256=
|
|
5
|
-
letta_client/agents/blocks/raw_client.py,sha256=
|
|
4
|
+
letta_client/agents/blocks/client.py,sha256=WAKaFGx76QqDG1Ygd2hlvyXHTjV-ObjnvQSMKK6h1SM,16143
|
|
5
|
+
letta_client/agents/blocks/raw_client.py,sha256=sYWCzx2HRrBsCt4XUW3fVsoQodqzGyg1d_Atl6WxUqw,25918
|
|
6
6
|
letta_client/agents/client.py,sha256=Vbp6YR8VGA47BZdPx-sB3TP8ziFqCcR97_NBK54jiF0,74128
|
|
7
7
|
letta_client/agents/context/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
8
8
|
letta_client/agents/context/client.py,sha256=fhpJFWRs6INGreRyEw9gsFnlUWR48vIHbN_jVIHIBrw,3052
|
|
@@ -34,8 +34,8 @@ letta_client/agents/messages/types/messages_modify_request.py,sha256=0NT3pgbqQIt
|
|
|
34
34
|
letta_client/agents/messages/types/messages_modify_response.py,sha256=0nbkp7q7iaM2esLkdmIe0CYpJWY6LYtR3V-WkKaAy-g,871
|
|
35
35
|
letta_client/agents/messages/types/messages_preview_raw_payload_request.py,sha256=ncI14H-30FLJujezUyk2yS7Jfqf7TqqhcWejWXQ4pcE,283
|
|
36
36
|
letta_client/agents/passages/__init__.py,sha256=wA0bocGcbmgb62sL9MEWpKzP_KBVv8KHhvc6vZH6MOE,187
|
|
37
|
-
letta_client/agents/passages/client.py,sha256=
|
|
38
|
-
letta_client/agents/passages/raw_client.py,sha256=
|
|
37
|
+
letta_client/agents/passages/client.py,sha256=x0Fj8BvukT4PDAsdqYiPLcoTVKWb7YSgi7Q8CX3m6Wc,17387
|
|
38
|
+
letta_client/agents/passages/raw_client.py,sha256=4oe8qXeXHM09ZwGJUtV0yh-WfaQ18q6oOlQ-aOGqKs8,26535
|
|
39
39
|
letta_client/agents/passages/types/__init__.py,sha256=zA5psnkblMdGa_kOTKkqZmMPtryV1uGScnWFeI9fuu4,220
|
|
40
40
|
letta_client/agents/passages/types/passages_search_request_tag_match_mode.py,sha256=cgAkixKi6VCJGFHUtjEzYdgq9KJcn5nrEMbR3zKp2rE,171
|
|
41
41
|
letta_client/agents/raw_client.py,sha256=h3USsoctFijFNYUQDi6OdgvpJBtj7a8ekrL58EtsV7A,97954
|
|
@@ -72,8 +72,8 @@ letta_client/blocks/__init__.py,sha256=OK5uayItv4zSbrTkGOcJTg_18SteMmhDkY9W1wXAB
|
|
|
72
72
|
letta_client/blocks/agents/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
73
73
|
letta_client/blocks/agents/client.py,sha256=b03IICHfrBToWFjSsfp_ZUN0RBJIAZh0zkV2PVuYbzg,4143
|
|
74
74
|
letta_client/blocks/agents/raw_client.py,sha256=aiatfKp8iVtXRL1aSpxoCW_JhWljqLRRQtRz964vGMA,5936
|
|
75
|
-
letta_client/blocks/client.py,sha256=
|
|
76
|
-
letta_client/blocks/raw_client.py,sha256=
|
|
75
|
+
letta_client/blocks/client.py,sha256=E4-vslCVlwbMmSoA4qNh_5nmuBuGeDSJo5l4NIkyoHw,28034
|
|
76
|
+
letta_client/blocks/raw_client.py,sha256=9_Bw1YBoOWW8uPfb1SJ33ChiSuLCorVvr8uOa--072Q,40577
|
|
77
77
|
letta_client/client.py,sha256=tW5VYkenZUTQ77Z9gyMWEswEYZpyO3jAaacFk5FfXos,24940
|
|
78
78
|
letta_client/client_side_access_tokens/__init__.py,sha256=28nrPumub-n2rjse3XCDcwjN6gRZveEh-8CC1PQsdo8,1581
|
|
79
79
|
letta_client/client_side_access_tokens/client.py,sha256=8JRdcMMSWVFpf6dd54tX7wSSBkjpejzveqiGGRddz40,11051
|
|
@@ -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=muV0VZGSz1Us-ZK_tIEIJ1zdOXdj3zoiSCp1bZimnyg,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
|
|
@@ -125,7 +125,7 @@ letta_client/folders/passages/client.py,sha256=Z7iefTFmudpKV-JoSW3mLNoJoU2K53Cto
|
|
|
125
125
|
letta_client/folders/passages/raw_client.py,sha256=xpDddxeKOxTcvB-qtHfP2p8e4T1hZSAYwp-smrJNhc8,5901
|
|
126
126
|
letta_client/folders/raw_client.py,sha256=bd5th49qJBEdmDMB5ugVEzP_mXUeZsCo3Kxn6KnugYU,41600
|
|
127
127
|
letta_client/groups/__init__.py,sha256=qrGge7rHzMf1V10ZpxL3rbxmpx9esxUCoQ29gV3Nwhk,454
|
|
128
|
-
letta_client/groups/client.py,sha256=
|
|
128
|
+
letta_client/groups/client.py,sha256=63NtCAe4OEn1abqYliI6RnfkbfumiPd33G9BhoOfJ9I,17191
|
|
129
129
|
letta_client/groups/messages/__init__.py,sha256=sX6KPOYCrwTCyzKGNBxejgOvDNFopOJkWd037ei6Uik,263
|
|
130
130
|
letta_client/groups/messages/client.py,sha256=_Bj44n8PBTRvPhU3AdBDL8QGOeI2UDH-d4B-Q5BbHLI,25670
|
|
131
131
|
letta_client/groups/messages/raw_client.py,sha256=gt9f3ntwa7qmdUfvxVIZOMlCeTBiT8kUavzPY-qcjH4,37893
|
|
@@ -133,7 +133,7 @@ letta_client/groups/messages/types/__init__.py,sha256=8WRhpu-Xkvw1oqY-n0vptOO46B
|
|
|
133
133
|
letta_client/groups/messages/types/letta_streaming_response.py,sha256=IFJSwCiedThHyMYhK4CqLV01HqS8JZ1KZDs4V13Yc0w,666
|
|
134
134
|
letta_client/groups/messages/types/messages_modify_request.py,sha256=0NT3pgbqQItc_p5cjBl4MaJ6bIMAlMhvdBJWm9zilpQ,476
|
|
135
135
|
letta_client/groups/messages/types/messages_modify_response.py,sha256=0nbkp7q7iaM2esLkdmIe0CYpJWY6LYtR3V-WkKaAy-g,871
|
|
136
|
-
letta_client/groups/raw_client.py,sha256=
|
|
136
|
+
letta_client/groups/raw_client.py,sha256=gfT4hD2HEvBtteZu2tMZPucOwwHS-zg72SdFRxX1hyM,29943
|
|
137
137
|
letta_client/groups/types/__init__.py,sha256=o7_cyVEMWvswE9WmTCYiJEVqKhPgtLPw398JkHzF7ro,285
|
|
138
138
|
letta_client/groups/types/group_create_manager_config.py,sha256=AelsYFpwlqpI9VeRvW7WE_Y5OTBxv97psgCybDubD8c,514
|
|
139
139
|
letta_client/groups/types/group_update_manager_config.py,sha256=ZE9HGu_7M9Zc9qa0RhCuXlxxUcE90MYzXj97M7cpiEU,626
|
|
@@ -262,7 +262,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
|
|
|
262
262
|
letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
|
|
263
263
|
letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
|
|
264
264
|
letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
|
|
265
|
-
letta_client/types/__init__.py,sha256=
|
|
265
|
+
letta_client/types/__init__.py,sha256=ASxjFvQ1zvBhfqKpbPXyniGTLFUmK_bFgJWlQHy1Tbc,30954
|
|
266
266
|
letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
|
|
267
267
|
letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
|
|
268
268
|
letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
|
|
@@ -291,9 +291,9 @@ letta_client/types/bad_request_error_body.py,sha256=FXRnHlblilUaHvShh1ia8TgLy5Z1
|
|
|
291
291
|
letta_client/types/base_64_image.py,sha256=Ta6vR3od9sYQGrWgOSrFq7cS0-mm6cGTa2gWdFpSmo0,965
|
|
292
292
|
letta_client/types/base_tool_rule_schema.py,sha256=e2pHhj1fdWmuBfkyD_MODwCQnM_MrN6LL2CEx0SqKvY,583
|
|
293
293
|
letta_client/types/batch_job.py,sha256=TvfC7eXlkRgWaVp0jBE72uUEYsyNacgB1dSv-KaTfhc,2631
|
|
294
|
-
letta_client/types/block.py,sha256=
|
|
295
|
-
letta_client/types/block_schema.py,sha256=
|
|
296
|
-
letta_client/types/block_update.py,sha256=
|
|
294
|
+
letta_client/types/block.py,sha256=g-uYemwR0gGBgJIad4cMj8gx3gVI8EfhHiLOvrZ_Kv8,3793
|
|
295
|
+
letta_client/types/block_schema.py,sha256=iCXe0NHt_HQFOoc8rwplIE2GQehgArOotIecrtKKsD4,2304
|
|
296
|
+
letta_client/types/block_update.py,sha256=jauNp2WlyKT96FgAIpbzWGq4d8oKNWVbxZvepetvl8c,2389
|
|
297
297
|
letta_client/types/body_export_agent_serialized.py,sha256=KPLEf_PQpSRWdjDF6etcdtzo4WfHmQOdXwY7SktoDhM,880
|
|
298
298
|
letta_client/types/chat_completion_allowed_tool_choice_param.py,sha256=CrdImk8trUU-LFi-MmzvfufqcGcbjmcnosJ6LLbjHBU,760
|
|
299
299
|
letta_client/types/chat_completion_allowed_tools_param.py,sha256=CgzJpK31hM_3CwdbVNG1uvH-urRNL5xsgdKbSm2csMI,769
|
|
@@ -365,7 +365,7 @@ letta_client/types/conflict_error_body.py,sha256=XBgxHQyzZ2XDEaR9xZl_mGBuSnXeJUi
|
|
|
365
365
|
letta_client/types/context_window_overview.py,sha256=1rWCBJvgJkkyMVPjgbhx1y26WbRScMORK8PgVvFiv8s,2816
|
|
366
366
|
letta_client/types/continue_tool_rule.py,sha256=NsinYb8PMKFnBmQALOH_AzQ4c5yKxiqw7b7SxVWPXsE,1036
|
|
367
367
|
letta_client/types/core_memory_block_schema.py,sha256=5_k2XFEsPDwldGfPdzHW3j_7IJOBqTVscq89lXTD4d8,985
|
|
368
|
-
letta_client/types/create_block.py,sha256=
|
|
368
|
+
letta_client/types/create_block.py,sha256=ZWieozFojBRfecUNo0RnA6jI_juXykSAQ1TBq2Xa5g8,2170
|
|
369
369
|
letta_client/types/custom_format_grammar.py,sha256=l16BZsFb3wPxhl-S6Q93RCBajoActOSQg6PIjTlAAuU,709
|
|
370
370
|
letta_client/types/custom_format_grammar_grammar.py,sha256=8skLshQW2sHV41OJrdTJX1SRbA5rjRGrqAbetf4YK14,706
|
|
371
371
|
letta_client/types/custom_format_grammar_grammar_syntax.py,sha256=8xsJRq0D02hhMGCQ55owIE-w7i4wu1ymWGNaKjg3cO4,173
|
|
@@ -379,7 +379,7 @@ letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=KGUZl9cAQN
|
|
|
379
379
|
letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
|
|
380
380
|
letta_client/types/file.py,sha256=YPkTYb8V_XsvuQ6qXUzzDsp4iQMlZxPormZWoy7ROnI,629
|
|
381
381
|
letta_client/types/file_agent_schema.py,sha256=I0uHseeqx-FDK5pVAb6-0zrqpfNdXcjDTb4_LS2QmGw,1890
|
|
382
|
-
letta_client/types/file_block.py,sha256=
|
|
382
|
+
letta_client/types/file_block.py,sha256=0uRgIMwZDZuLZ-QklPts62aNTDglQeumSLtpwP6TWQ4,3268
|
|
383
383
|
letta_client/types/file_file.py,sha256=JEE9Aa0puZ4j6wZUI6HbZfF8keB_-qoPh4C-Mn6oOQ0,666
|
|
384
384
|
letta_client/types/file_metadata.py,sha256=RH11HWwyMyO2hmZzboTJzrLaOt7r7-I8pExUkXv0ja4,2831
|
|
385
385
|
letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
|
|
@@ -393,8 +393,8 @@ letta_client/types/function_output.py,sha256=PmcCPw239hjzoP32ynV-9UDQRNpDhrkpICp
|
|
|
393
393
|
letta_client/types/function_tool.py,sha256=X4yY7kSNSlDM4srYifeajOuwJkmBj26AW6Jlo5E-fvw,698
|
|
394
394
|
letta_client/types/generate_tool_input.py,sha256=9eqavChO3e0hXmovp1GvRIsNd8N11pBCiFjKpbG-WG8,1096
|
|
395
395
|
letta_client/types/generate_tool_output.py,sha256=0Heilco0ySpWaKsSGF0JIYHCRblVhYrcppBfhlpy98E,861
|
|
396
|
-
letta_client/types/group.py,sha256=
|
|
397
|
-
letta_client/types/group_schema.py,sha256=
|
|
396
|
+
letta_client/types/group.py,sha256=4UxeKdj3CjXCdiWLHj_RK29s_VX97ZAjppRy3uJiUIQ,2700
|
|
397
|
+
letta_client/types/group_schema.py,sha256=gbW0JfOnuVD_I4jnXBqdBgElcrLHFyXbeC7M5czU50M,1381
|
|
398
398
|
letta_client/types/group_schema_manager_config.py,sha256=3kIh_FoLwKOA5JDcZbHmpF8j1Ld0w7-kk9pRugVdWvw,474
|
|
399
399
|
letta_client/types/health.py,sha256=M5qOOKBb6PET3M4VrdHZ4_6643I0GNKq6WldhzkilJI,619
|
|
400
400
|
letta_client/types/hidden_reasoning_message.py,sha256=qbzaXbCp19cqaCRQaw2EWaqdxWSrRwohiLFfpY298JA,1691
|
|
@@ -413,6 +413,12 @@ letta_client/types/imported_agents_response.py,sha256=PDBKbNcUNpRumkUgQTE4-pfPc9
|
|
|
413
413
|
letta_client/types/init_tool_rule.py,sha256=ybXzH1cWQesY2Z4Umf3lnGep8TmulRW6OCtrV7cx8hw,1044
|
|
414
414
|
letta_client/types/input_audio.py,sha256=l4T076iM05SxiqBx5TEkE4baG99rk1olL6hmVictuJQ,634
|
|
415
415
|
letta_client/types/input_audio_format.py,sha256=QQFfndI9w66wIbGyHwfmJnk2bEJDPmEs9GybkaNL6AI,154
|
|
416
|
+
letta_client/types/internal_template_agent_create.py,sha256=q1qgpCpfHbkAMGZfJTw1SGS2EeKzPtLA6raygY70bls,8255
|
|
417
|
+
letta_client/types/internal_template_agent_create_response_format.py,sha256=4SOu2jhF5qZDlDorGrZ2cdyUF2do0IOtslZ_219qtzk,401
|
|
418
|
+
letta_client/types/internal_template_agent_create_tool_rules_item.py,sha256=zAZ1RbQnzI0K9YAP3OcBxRyi2WRx6G60lOnt6sekiS8,842
|
|
419
|
+
letta_client/types/internal_template_block_create.py,sha256=zxyp52nkcFrWzgM4IhHqehSwMcSSBSb6f5oD3XHE60c,2199
|
|
420
|
+
letta_client/types/internal_template_group_create.py,sha256=nTFITl4Q6sRlYe4heRL7p55ZxVc1FD0nG3O96d0UHTw,1588
|
|
421
|
+
letta_client/types/internal_template_group_create_manager_config.py,sha256=zAX6KW-UB6dyqXSm2Wtp30wRfitANePpuoulLzsQm7M,490
|
|
416
422
|
letta_client/types/job.py,sha256=dQLV9NM5mTYnS5iER8f-MvNAcC2CD7NXBBwQvbJN77c,3193
|
|
417
423
|
letta_client/types/job_status.py,sha256=hfkoSxAxkPegq1FSzzCTWQCBzoJwlvyrYnxtC0LzfUs,219
|
|
418
424
|
letta_client/types/job_type.py,sha256=HXYrfzPwxI54PqV7OVcMhewSJ_pBNHc14s9LcExr7Ss,154
|
|
@@ -584,6 +590,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
584
590
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
585
591
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
586
592
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
587
|
-
letta_client-0.1.
|
|
588
|
-
letta_client-0.1.
|
|
589
|
-
letta_client-0.1.
|
|
593
|
+
letta_client-0.1.311.dist-info/METADATA,sha256=3KbvOc0RGBVQG59kchwjVWt2qqdZE3MxM--ezpzq3-A,5782
|
|
594
|
+
letta_client-0.1.311.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
595
|
+
letta_client-0.1.311.dist-info/RECORD,,
|
|
File without changes
|