letta-client 0.1.266__py3-none-any.whl → 0.1.268__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 +59 -14
- letta_client/agents/__init__.py +1 -3
- letta_client/agents/templates/__init__.py +2 -2
- letta_client/agents/templates/client.py +52 -134
- letta_client/agents/templates/raw_client.py +50 -300
- letta_client/agents/templates/types/__init__.py +1 -3
- letta_client/core/client_wrapper.py +2 -2
- letta_client/errors/__init__.py +1 -9
- letta_client/templates/__init__.py +56 -1
- letta_client/templates/client.py +774 -2
- letta_client/templates/raw_client.py +1016 -21
- letta_client/templates/types/__init__.py +84 -1
- letta_client/templates/types/templates_create_template_response.py +37 -0
- letta_client/{types/internal_server_error_body.py → templates/types/templates_delete_template_response.py} +4 -4
- letta_client/templates/types/templates_fork_template_response.py +37 -0
- letta_client/templates/types/templates_get_template_snapshot_response.py +28 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py +56 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables.py +24 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables_data_item.py +24 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py +25 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item.py +39 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_output_mapping.py +25 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_five.py +22 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_four.py +22 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_max_count_limit.py +23 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_one.py +22 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_seven.py +23 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_two.py +22 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_zero.py +23 -0
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables.py +24 -0
- letta_client/{agents/templates/types/templates_create_response.py → templates/types/templates_get_template_snapshot_response_agents_item_tool_variables_data_item.py} +7 -6
- letta_client/templates/types/templates_get_template_snapshot_response_blocks_item.py +29 -0
- letta_client/templates/types/templates_get_template_snapshot_response_configuration.py +34 -0
- letta_client/templates/types/templates_get_template_snapshot_response_type.py +8 -0
- letta_client/templates/types/templates_list_response_templates_item.py +11 -1
- letta_client/templates/types/templates_list_template_versions_response.py +23 -0
- letta_client/templates/types/templates_list_template_versions_response_versions_item.py +38 -0
- letta_client/templates/types/templates_rename_template_response.py +20 -0
- letta_client/templates/types/templates_save_template_version_response.py +37 -0
- letta_client/types/__init__.py +2 -4
- letta_client/types/conflict_error_body.py +1 -3
- letta_client/types/llm_config.py +6 -0
- letta_client/types/llm_config_verbosity.py +5 -0
- letta_client/types/not_found_error_body.py +1 -1
- {letta_client-0.1.266.dist-info → letta_client-0.1.268.dist-info}/METADATA +1 -1
- {letta_client-0.1.266.dist-info → letta_client-0.1.268.dist-info}/RECORD +47 -25
- letta_client/agents/templates/types/templates_create_version_request_return_agent_state.py +0 -5
- letta_client/errors/internal_server_error.py +0 -10
- letta_client/types/not_found_error_body_message.py +0 -11
- {letta_client-0.1.266.dist-info → letta_client-0.1.268.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
from ...core.serialization import FieldMetadata
|
|
9
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class TemplatesGetTemplateSnapshotResponseConfiguration(UncheckedBaseModel):
|
|
13
|
+
manager_agent_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="managerAgentId")] = None
|
|
14
|
+
manager_type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="managerType")] = None
|
|
15
|
+
termination_token: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="terminationToken")] = None
|
|
16
|
+
max_turns: typing_extensions.Annotated[typing.Optional[float], FieldMetadata(alias="maxTurns")] = None
|
|
17
|
+
sleeptime_agent_frequency: typing_extensions.Annotated[
|
|
18
|
+
typing.Optional[float], FieldMetadata(alias="sleeptimeAgentFrequency")
|
|
19
|
+
] = None
|
|
20
|
+
max_message_buffer_length: typing_extensions.Annotated[
|
|
21
|
+
typing.Optional[float], FieldMetadata(alias="maxMessageBufferLength")
|
|
22
|
+
] = None
|
|
23
|
+
min_message_buffer_length: typing_extensions.Annotated[
|
|
24
|
+
typing.Optional[float], FieldMetadata(alias="minMessageBufferLength")
|
|
25
|
+
] = None
|
|
26
|
+
|
|
27
|
+
if IS_PYDANTIC_V2:
|
|
28
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
29
|
+
else:
|
|
30
|
+
|
|
31
|
+
class Config:
|
|
32
|
+
frozen = True
|
|
33
|
+
smart_union = True
|
|
34
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
TemplatesGetTemplateSnapshotResponseType = typing.Union[
|
|
6
|
+
typing.Literal["classic", "cluster", "sleeptime", "round_robin", "supervisor", "dynamic", "voice_sleeptime"],
|
|
7
|
+
typing.Any,
|
|
8
|
+
]
|
|
@@ -8,10 +8,20 @@ from ...core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class TemplatesListResponseTemplatesItem(UncheckedBaseModel):
|
|
11
|
-
name: str
|
|
11
|
+
name: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The exact name of the template
|
|
14
|
+
"""
|
|
15
|
+
|
|
12
16
|
id: str
|
|
13
17
|
project_id: str
|
|
14
18
|
project_slug: str
|
|
19
|
+
latest_version: str = pydantic.Field()
|
|
20
|
+
"""
|
|
21
|
+
The latest version of the template
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
description: typing.Optional[str] = None
|
|
15
25
|
template_deployment_slug: str = pydantic.Field()
|
|
16
26
|
"""
|
|
17
27
|
The full name of the template, including version and project slug
|
|
@@ -0,0 +1,23 @@
|
|
|
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 .templates_list_template_versions_response_versions_item import TemplatesListTemplateVersionsResponseVersionsItem
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TemplatesListTemplateVersionsResponse(UncheckedBaseModel):
|
|
12
|
+
versions: typing.List[TemplatesListTemplateVersionsResponseVersionsItem]
|
|
13
|
+
has_next_page: bool
|
|
14
|
+
total_count: float
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
frozen = True
|
|
22
|
+
smart_union = True
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,38 @@
|
|
|
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 TemplatesListTemplateVersionsResponseVersionsItem(UncheckedBaseModel):
|
|
11
|
+
version: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The version number
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
created_at: str = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
When the version was created
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
message: typing.Optional[str] = pydantic.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
Version description message
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
is_latest: bool = pydantic.Field()
|
|
27
|
+
"""
|
|
28
|
+
Whether this is the latest version
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
if IS_PYDANTIC_V2:
|
|
32
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
|
+
else:
|
|
34
|
+
|
|
35
|
+
class Config:
|
|
36
|
+
frozen = True
|
|
37
|
+
smart_union = True
|
|
38
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
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 TemplatesRenameTemplateResponse(UncheckedBaseModel):
|
|
11
|
+
success: bool
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,37 @@
|
|
|
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 TemplatesSaveTemplateVersionResponse(UncheckedBaseModel):
|
|
11
|
+
name: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The exact name of the template
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
id: str
|
|
17
|
+
project_id: str
|
|
18
|
+
project_slug: str
|
|
19
|
+
latest_version: str = pydantic.Field()
|
|
20
|
+
"""
|
|
21
|
+
The latest version of the template
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
description: typing.Optional[str] = None
|
|
25
|
+
template_deployment_slug: str = pydantic.Field()
|
|
26
|
+
"""
|
|
27
|
+
The full name of the template, including version and project slug
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
if IS_PYDANTIC_V2:
|
|
31
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
32
|
+
else:
|
|
33
|
+
|
|
34
|
+
class Config:
|
|
35
|
+
frozen = True
|
|
36
|
+
smart_union = True
|
|
37
|
+
extra = pydantic.Extra.allow
|
letta_client/types/__init__.py
CHANGED
|
@@ -145,7 +145,6 @@ from .imported_agents_response import ImportedAgentsResponse
|
|
|
145
145
|
from .init_tool_rule import InitToolRule
|
|
146
146
|
from .input_audio import InputAudio
|
|
147
147
|
from .input_audio_format import InputAudioFormat
|
|
148
|
-
from .internal_server_error_body import InternalServerErrorBody
|
|
149
148
|
from .job import Job
|
|
150
149
|
from .job_status import JobStatus
|
|
151
150
|
from .job_type import JobType
|
|
@@ -187,6 +186,7 @@ from .llm_config import LlmConfig
|
|
|
187
186
|
from .llm_config_compatibility_type import LlmConfigCompatibilityType
|
|
188
187
|
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
189
188
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
189
|
+
from .llm_config_verbosity import LlmConfigVerbosity
|
|
190
190
|
from .local_sandbox_config import LocalSandboxConfig
|
|
191
191
|
from .manager_type import ManagerType
|
|
192
192
|
from .max_count_per_step_tool_rule import MaxCountPerStepToolRule
|
|
@@ -207,7 +207,6 @@ from .message_type import MessageType
|
|
|
207
207
|
from .modal_sandbox_config import ModalSandboxConfig
|
|
208
208
|
from .modal_sandbox_config_language import ModalSandboxConfigLanguage
|
|
209
209
|
from .not_found_error_body import NotFoundErrorBody
|
|
210
|
-
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
211
210
|
from .npm_requirement import NpmRequirement
|
|
212
211
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
213
212
|
from .openai_types_chat_chat_completion_custom_tool_param_custom import (
|
|
@@ -472,7 +471,6 @@ __all__ = [
|
|
|
472
471
|
"InitToolRule",
|
|
473
472
|
"InputAudio",
|
|
474
473
|
"InputAudioFormat",
|
|
475
|
-
"InternalServerErrorBody",
|
|
476
474
|
"Job",
|
|
477
475
|
"JobStatus",
|
|
478
476
|
"JobType",
|
|
@@ -506,6 +504,7 @@ __all__ = [
|
|
|
506
504
|
"LlmConfigCompatibilityType",
|
|
507
505
|
"LlmConfigModelEndpointType",
|
|
508
506
|
"LlmConfigReasoningEffort",
|
|
507
|
+
"LlmConfigVerbosity",
|
|
509
508
|
"LocalSandboxConfig",
|
|
510
509
|
"ManagerType",
|
|
511
510
|
"MaxCountPerStepToolRule",
|
|
@@ -526,7 +525,6 @@ __all__ = [
|
|
|
526
525
|
"ModalSandboxConfig",
|
|
527
526
|
"ModalSandboxConfigLanguage",
|
|
528
527
|
"NotFoundErrorBody",
|
|
529
|
-
"NotFoundErrorBodyMessage",
|
|
530
528
|
"NpmRequirement",
|
|
531
529
|
"OmittedReasoningContent",
|
|
532
530
|
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
@@ -8,9 +8,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class ConflictErrorBody(UncheckedBaseModel):
|
|
11
|
-
message:
|
|
12
|
-
"You can only migrate agents to a new versioned agent template that belongs to the same project"
|
|
13
|
-
] = "You can only migrate agents to a new versioned agent template that belongs to the same project"
|
|
11
|
+
message: str
|
|
14
12
|
|
|
15
13
|
if IS_PYDANTIC_V2:
|
|
16
14
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
letta_client/types/llm_config.py
CHANGED
|
@@ -8,6 +8,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
from .llm_config_compatibility_type import LlmConfigCompatibilityType
|
|
9
9
|
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
10
10
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
11
|
+
from .llm_config_verbosity import LlmConfigVerbosity
|
|
11
12
|
from .provider_category import ProviderCategory
|
|
12
13
|
|
|
13
14
|
|
|
@@ -96,6 +97,11 @@ class LlmConfig(UncheckedBaseModel):
|
|
|
96
97
|
The framework compatibility type for the model.
|
|
97
98
|
"""
|
|
98
99
|
|
|
100
|
+
verbosity: typing.Optional[LlmConfigVerbosity] = pydantic.Field(default=None)
|
|
101
|
+
"""
|
|
102
|
+
Soft control for how verbose model output should be, used for GPT-5 models.
|
|
103
|
+
"""
|
|
104
|
+
|
|
99
105
|
if IS_PYDANTIC_V2:
|
|
100
106
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
101
107
|
else:
|
|
@@ -8,7 +8,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class NotFoundErrorBody(UncheckedBaseModel):
|
|
11
|
-
message:
|
|
11
|
+
message: str
|
|
12
12
|
|
|
13
13
|
if IS_PYDANTIC_V2:
|
|
14
14
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
2
|
-
letta_client/agents/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=pct5eF4SmZcYXw6k2foNgR08PT38xhZ-9FEEttEo894,26094
|
|
2
|
+
letta_client/agents/__init__.py,sha256=yl1d02BPp-nGZLaUdH9mWcYvHu-1RhRyZUgpZQKOMGo,2010
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=Akx-1SYEXkmdtLtytPtdFNhVts8JkjC2aMQnnWgd8Ug,14735
|
|
5
5
|
letta_client/agents/blocks/raw_client.py,sha256=7tdlieWtGyMe1G5Ne9Rcujvr43DbD4K3hVJ7eiJNuFo,24454
|
|
@@ -39,12 +39,10 @@ letta_client/agents/raw_client.py,sha256=bMuSXDrzkKxaTBwMcg9YFTw2EQxKUN3w9-vqK09
|
|
|
39
39
|
letta_client/agents/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
40
40
|
letta_client/agents/sources/client.py,sha256=lCqB6FF9svrwf0oZSFs41WKlMXc-YRhUeb4FZkHbicM,6868
|
|
41
41
|
letta_client/agents/sources/raw_client.py,sha256=ts4c5UBuXzrHU-lFWWrYniQqrMEc8SN0rfiqNXJLP5Y,12399
|
|
42
|
-
letta_client/agents/templates/__init__.py,sha256=
|
|
43
|
-
letta_client/agents/templates/client.py,sha256=
|
|
44
|
-
letta_client/agents/templates/raw_client.py,sha256=
|
|
45
|
-
letta_client/agents/templates/types/__init__.py,sha256=
|
|
46
|
-
letta_client/agents/templates/types/templates_create_response.py,sha256=C00qcgSgyf3sSFAE55k45UmdC_aC5-zobIO3AavWOPE,807
|
|
47
|
-
letta_client/agents/templates/types/templates_create_version_request_return_agent_state.py,sha256=bHgN0KfiCClqf_ZYsfK6o8ELEm_cvmkW-TlzXTFanO8,177
|
|
42
|
+
letta_client/agents/templates/__init__.py,sha256=2q3anjPu2EGZtCTD8GFNFEImT4dIwQ8hUTeUfCP8ZZA,169
|
|
43
|
+
letta_client/agents/templates/client.py,sha256=w5kJwuiMVL91pTgwUdPqDuKd_h50NIVagfIXOuwEArQ,8321
|
|
44
|
+
letta_client/agents/templates/raw_client.py,sha256=31Octb_klpQJ61Kkv7Xvl3euF4oaSH0Yib5PbS42rys,10057
|
|
45
|
+
letta_client/agents/templates/types/__init__.py,sha256=kalMrvEN0SnhXNKN1gMIVMp5MICLlEz1XK-ZksOatXQ,190
|
|
48
46
|
letta_client/agents/templates/types/templates_migrate_response.py,sha256=hxcCvKw08iV7vaHFFm3ti9qlwDmiUtRl30A8DShu99Y,578
|
|
49
47
|
letta_client/agents/tools/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
50
48
|
letta_client/agents/tools/client.py,sha256=gPSQMl2cXena32cWKcdZ8YggFvQDiG2WoBqCU53rvKM,6758
|
|
@@ -92,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
92
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
|
|
93
91
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
94
92
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
95
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
93
|
+
letta_client/core/client_wrapper.py,sha256=Ir6C4LmqRBJqXms9MHG9xRCxAwbpRZqBOd-iMZwN364,2776
|
|
96
94
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
97
95
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
98
96
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -109,10 +107,9 @@ letta_client/embedding_models/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_
|
|
|
109
107
|
letta_client/embedding_models/client.py,sha256=-6o0KN7e04RNs2_jHmfohAvkIjLUJ8SKpHgB4GIsJXc,2998
|
|
110
108
|
letta_client/embedding_models/raw_client.py,sha256=5dY0H4sMub2wIk1co49xzoGRRWj9_guGnpvsl8DWL_M,4694
|
|
111
109
|
letta_client/environment.py,sha256=91gYLF9bT4-hTPQ9dcPfmub4LgEl-T4a5kW7NXzRIJU,198
|
|
112
|
-
letta_client/errors/__init__.py,sha256=
|
|
110
|
+
letta_client/errors/__init__.py,sha256=2BnpW2pXqQDVSDn08Aid7ms-Vj7HtVuBzYY84oRHLrc,456
|
|
113
111
|
letta_client/errors/bad_request_error.py,sha256=PnE3v3kETCXm9E3LiNcHLNtjPEUvpe98-r59q-kQb78,338
|
|
114
112
|
letta_client/errors/conflict_error.py,sha256=BK2eJLfEz68tDCkXUSFzouX-Yu2hkLsjolj16EX-DCk,384
|
|
115
|
-
letta_client/errors/internal_server_error.py,sha256=t1-kpoDC2biEuoE-Ne8v1kuQswvsIEwt_xPPoBmGG00,342
|
|
116
113
|
letta_client/errors/not_found_error.py,sha256=YrqVM0oc3qkQbFbmmm6xr300VGfUNxMSy1UQUp2IOE8,336
|
|
117
114
|
letta_client/errors/payment_required_error.py,sha256=ZlhahzJB5dgBbaBWsX5mRJaRigAgp5ET2hdUT51a5mo,413
|
|
118
115
|
letta_client/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
|
|
@@ -201,7 +198,7 @@ letta_client/tags/raw_client.py,sha256=DQXEgzOuCygBMbzX63Sc9UwfueALa5rUHH3c8jb4O
|
|
|
201
198
|
letta_client/telemetry/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
202
199
|
letta_client/telemetry/client.py,sha256=N5bjIcLVT9FL5nGTbLxlNOOytXQlRWquyyuoWjPZS_g,2974
|
|
203
200
|
letta_client/telemetry/raw_client.py,sha256=305pp86KAnZRtim9lrSyxEA0d8PyC8ZWuFNZgaNs8VA,4559
|
|
204
|
-
letta_client/templates/__init__.py,sha256=
|
|
201
|
+
letta_client/templates/__init__.py,sha256=YaQrboXRJkaaJEiqJHWX8TNNelqkwJyT4vjARhbGYxg,3670
|
|
205
202
|
letta_client/templates/agents/__init__.py,sha256=Nb3AeDuJhSba_DbgHKuCUY1b3PT1jj3-YMJ7uW7RIAk,393
|
|
206
203
|
letta_client/templates/agents/client.py,sha256=HCCEZZ3b0tGonxDNbiPuXadoZu_x1G_OtBdTHRBpG4M,7088
|
|
207
204
|
letta_client/templates/agents/raw_client.py,sha256=RGf_8ZaBbkS3sE7qrKqirL8Mu-E7CDRZNEKFWCJ3v4E,9552
|
|
@@ -209,11 +206,37 @@ letta_client/templates/agents/types/__init__.py,sha256=gDThrVEf3npLrxCqHWKgJLwB6
|
|
|
209
206
|
letta_client/templates/agents/types/agents_create_request_initial_message_sequence_item.py,sha256=0--NEWDhbw-1WBF5wr5tl25ucWkqHvhmSm8iuQOr6tw,986
|
|
210
207
|
letta_client/templates/agents/types/agents_create_request_initial_message_sequence_item_role.py,sha256=Xp6uU0_CfWtIBtHdwicF9b4yAcrCYXQyYvxtNKyq-K4,210
|
|
211
208
|
letta_client/templates/agents/types/agents_create_response.py,sha256=P5sppbD_qW7I9suv5Ykm7tlgnh5a3omYggA8JgLw2RY,637
|
|
212
|
-
letta_client/templates/client.py,sha256
|
|
213
|
-
letta_client/templates/raw_client.py,sha256=
|
|
214
|
-
letta_client/templates/types/__init__.py,sha256=
|
|
209
|
+
letta_client/templates/client.py,sha256=5KxJ8RBcNDwg4v2e0VyKFPbOW6-OstkSUtpY1mNQ_co,26396
|
|
210
|
+
letta_client/templates/raw_client.py,sha256=Ee6CvAuuEtcDnQbB1vJP3i0WWHj4lfhuP_KJK69prQA,43265
|
|
211
|
+
letta_client/templates/types/__init__.py,sha256=BZbN2ZqLS-sTuqju_e9wNAz5z4Flajt0L7v-F_wABDk,5303
|
|
212
|
+
letta_client/templates/types/templates_create_template_response.py,sha256=sDhvuOGpf5szYv6YpZN7yHTzpehOKKfSXmcxg4MQPS4,987
|
|
213
|
+
letta_client/templates/types/templates_delete_template_response.py,sha256=_DUyWh9jtgw8u_U_JsV8N-RhPcY32QLAQZsUCSXDCTY,583
|
|
214
|
+
letta_client/templates/types/templates_fork_template_response.py,sha256=4qCHr2J6dWcZM30Qm_3JxuM7MednWLr0YM-Fu14-96E,985
|
|
215
|
+
letta_client/templates/types/templates_get_template_snapshot_response.py,sha256=75kEOy6l8d1uboqVYHbOWUHk6Ij8pzQ_TmmEe5wEf0c,1295
|
|
216
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py,sha256=ciczqvGIPMcuZCu3ObpVAZh8u_cDWbY6ImApwBOK6lc,2567
|
|
217
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables.py,sha256=POh1PTstz0UC_rOnkpEyIQI0yHrANeM6Y5vuJlJAruU,877
|
|
218
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables_data_item.py,sha256=TNgE_92wCm2MEGERb_q24_GKzvbh1z1I3pchuwowowA,816
|
|
219
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py,sha256=sYXztaPT_AtgJH0U3pjpzseusEHwNeg7F43JjXdirCQ,924
|
|
220
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item.py,sha256=qoZ-EdDcNRYAQ2bADpvPLAzTKURXZR7ubz4o8yIu3LA,2061
|
|
221
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_output_mapping.py,sha256=LLnaNqnXFnoLRTZo2O9nCFlkLTkdj2Re1h6ItsM-_RQ,895
|
|
222
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_five.py,sha256=6yyJTWEoTy6UVFHqqzbvfY_i1VmWLuZVaRBWU8EbKx8,738
|
|
223
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_four.py,sha256=f6ocdxac6oeozltoJK9JyDRf2mSlxC4iYkOoXx5iQRk,731
|
|
224
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_max_count_limit.py,sha256=SfDBej2crgo7Bp9vksmT-abkCBJTDWJ9fC5zmZ0Tz7U,772
|
|
225
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_one.py,sha256=hCBKI3NoMG3ka0nE_DxScubJuyCKmvTBpk916BLygfo,726
|
|
226
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_seven.py,sha256=q66qeWM8QE-ySyWv2mnkEnO8pntQrXkifw-zLvtqVns,766
|
|
227
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_two.py,sha256=LNzwnMLjyskkT4-2WoRD3D9-JYZXpfcLAB91LAqzwxc,726
|
|
228
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_zero.py,sha256=1vTNmInW_YrU9H9Ik361lMnzHSKjd48J1KE5eY3n0r8,770
|
|
229
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables.py,sha256=P4F5i-3Oum79uzNmn_oM7dkkYj66eVSxCG5MtmCY0nM,869
|
|
230
|
+
letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables_data_item.py,sha256=DA0m9nJ_6p5Uwx-jbGbxnmqev3jlXo6t2T_BdLTi--s,814
|
|
231
|
+
letta_client/templates/types/templates_get_template_snapshot_response_blocks_item.py,sha256=rODpkefuRh8p2l3mtkh5_3MFovMkCg8CrDCMWOSNXCE,946
|
|
232
|
+
letta_client/templates/types/templates_get_template_snapshot_response_configuration.py,sha256=c3KhXD7IG5j5dzrviH3l3RqU8Xfz6s9F4RQ0ePNpBs4,1567
|
|
233
|
+
letta_client/templates/types/templates_get_template_snapshot_response_type.py,sha256=DuJQ1O1qoSE3NDwlwXmpz6BiNC5nZ0HeuHFp3M93JBM,269
|
|
215
234
|
letta_client/templates/types/templates_list_response.py,sha256=M2vTXGuqbQBEsh-lO0OWLRaYk5VgWD7pUTfOeERAyXk,729
|
|
216
|
-
letta_client/templates/types/templates_list_response_templates_item.py,sha256=
|
|
235
|
+
letta_client/templates/types/templates_list_response_templates_item.py,sha256=b6HQ18JRTcXqsL7dcgwy-jUy5LmlCloYzDMgHVogsFM,990
|
|
236
|
+
letta_client/templates/types/templates_list_template_versions_response.py,sha256=NLwzDD3p4jXjUth8MDKG1s-ezJA1DN07t1phhFy6xek,814
|
|
237
|
+
letta_client/templates/types/templates_list_template_versions_response_versions_item.py,sha256=HS0mrUz1qROFff1ha3SBcs63gS4spj0LUYg82Slam2Y,956
|
|
238
|
+
letta_client/templates/types/templates_rename_template_response.py,sha256=iH8paSt5k0jzqTDezOw2PJbgbDJIqVkA4zWnsa64JX4,583
|
|
239
|
+
letta_client/templates/types/templates_save_template_version_response.py,sha256=HtiDzCZAcXhSEPmznAHAiYKQN5dZI_dC-JPt6w-EfhE,992
|
|
217
240
|
letta_client/tools/__init__.py,sha256=ZR4ev9ZmyWZl9iJPXK_FRk79YjgIytkA_2TlNS1PaQI,725
|
|
218
241
|
letta_client/tools/client.py,sha256=uF7Z2l1_TF1Wu6HBHHh3D_g3tfIqMe5ZKvUNiwL8sqI,59151
|
|
219
242
|
letta_client/tools/raw_client.py,sha256=ulZZNTVaUUcfMggx9KnHAv1z4R5cuLYvDAxo0aDDt1o,105489
|
|
@@ -228,7 +251,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
|
|
|
228
251
|
letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
|
|
229
252
|
letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
|
|
230
253
|
letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
|
|
231
|
-
letta_client/types/__init__.py,sha256=
|
|
254
|
+
letta_client/types/__init__.py,sha256=HOJ86BtZLHp41ilGUrFTdeKAHxpkhRX49HL6fSqfJpU,28725
|
|
232
255
|
letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
|
|
233
256
|
letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
|
|
234
257
|
letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
|
|
@@ -320,7 +343,7 @@ letta_client/types/completion_create_params_streaming_verbosity.py,sha256=bj0nHr
|
|
|
320
343
|
letta_client/types/components_schemas_text_content.py,sha256=F21GPPwREb6GodS4dGsT7-4wySEUdhpq6krznF-sOPE,147
|
|
321
344
|
letta_client/types/conditional_tool_rule.py,sha256=p13n4riIYsxcGmiMZekNNcXTmBMv-YueovNPGWkuNHc,1464
|
|
322
345
|
letta_client/types/conditional_tool_rule_schema.py,sha256=zb6LXzC6Hk4Q-wdehR85aUWiWZogece0XAdlbh3EC1Q,718
|
|
323
|
-
letta_client/types/conflict_error_body.py,sha256=
|
|
346
|
+
letta_client/types/conflict_error_body.py,sha256=XBgxHQyzZ2XDEaR9xZl_mGBuSnXeJUimoc3YDhRaHWs,566
|
|
324
347
|
letta_client/types/context_window_overview.py,sha256=1rWCBJvgJkkyMVPjgbhx1y26WbRScMORK8PgVvFiv8s,2816
|
|
325
348
|
letta_client/types/continue_tool_rule.py,sha256=NsinYb8PMKFnBmQALOH_AzQ4c5yKxiqw7b7SxVWPXsE,1036
|
|
326
349
|
letta_client/types/core_memory_block_schema.py,sha256=5_k2XFEsPDwldGfPdzHW3j_7IJOBqTVscq89lXTD4d8,985
|
|
@@ -372,7 +395,6 @@ letta_client/types/imported_agents_response.py,sha256=PDBKbNcUNpRumkUgQTE4-pfPc9
|
|
|
372
395
|
letta_client/types/init_tool_rule.py,sha256=ybXzH1cWQesY2Z4Umf3lnGep8TmulRW6OCtrV7cx8hw,1044
|
|
373
396
|
letta_client/types/input_audio.py,sha256=l4T076iM05SxiqBx5TEkE4baG99rk1olL6hmVictuJQ,634
|
|
374
397
|
letta_client/types/input_audio_format.py,sha256=QQFfndI9w66wIbGyHwfmJnk2bEJDPmEs9GybkaNL6AI,154
|
|
375
|
-
letta_client/types/internal_server_error_body.py,sha256=OGgSj6M7Vna5oxesOOYlBTzIDCavTy3Y_IakjwvDU-Q,654
|
|
376
398
|
letta_client/types/job.py,sha256=b0eEVqG-wNxJJR_DIfsgdMh2FkZUKH_H19SIWVYdk30,3188
|
|
377
399
|
letta_client/types/job_status.py,sha256=hfkoSxAxkPegq1FSzzCTWQCBzoJwlvyrYnxtC0LzfUs,219
|
|
378
400
|
letta_client/types/job_type.py,sha256=HXYrfzPwxI54PqV7OVcMhewSJ_pBNHc14s9LcExr7Ss,154
|
|
@@ -402,10 +424,11 @@ letta_client/types/letta_stop_reason.py,sha256=jYkXBnAKsdPS8tmdv_xumyVVQk9OoHKFy
|
|
|
402
424
|
letta_client/types/letta_streaming_request.py,sha256=pEq4WEzKTtKA5XdyR544D6kEQztJQxg0PSeMSHteDfg,2251
|
|
403
425
|
letta_client/types/letta_usage_statistics.py,sha256=uZZq2lVOGHK6N-VhA0oknQfUjE9Zb0sMYh0mHDvl-lc,1887
|
|
404
426
|
letta_client/types/letta_user_message_content_union.py,sha256=2SrcmMjvsQzCvfIUYG7PkaE4brMZcL6H437GSCLK4zg,230
|
|
405
|
-
letta_client/types/llm_config.py,sha256=
|
|
427
|
+
letta_client/types/llm_config.py,sha256=QxVLfO04egVhKg1J3nB-FkrrMpyK124HpgAyVD-_zk0,3864
|
|
406
428
|
letta_client/types/llm_config_compatibility_type.py,sha256=m6E90W-R9-Oi3EGSV_GdPIuVC2rmAH7TsUKbl79EiAQ,165
|
|
407
429
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=o59NDg3-3ud2mqAPYze40G7kyVD7pkRRbdT_vdTqL24,602
|
|
408
430
|
letta_client/types/llm_config_reasoning_effort.py,sha256=r4I3i2c7RxkBe-xXOE_XCXwjp9Y0QoaF2SVY7WYPdg4,184
|
|
431
|
+
letta_client/types/llm_config_verbosity.py,sha256=MO2MK7xRvBZd7W0jF_zluQc5XDs9L1URoqiY_lPE0AI,167
|
|
409
432
|
letta_client/types/local_sandbox_config.py,sha256=J_Dkqk2kkkw23AzLdDDM3r9ply-TK4HlEWIwsLKLhIQ,1388
|
|
410
433
|
letta_client/types/manager_type.py,sha256=3ztXv2xWw6PIgDoqqxaHwdIcssDYqdqB0KqUDSW3Bc0,222
|
|
411
434
|
letta_client/types/max_count_per_step_tool_rule.py,sha256=tl5vm0BvkHu4HHfQx14z8E0pZu3ysua1yCGMmOB-ccU,1226
|
|
@@ -425,8 +448,7 @@ letta_client/types/message_role.py,sha256=HKatrA1jt02oTObExloTY3rW8Urzn37kBTg0Z6
|
|
|
425
448
|
letta_client/types/message_type.py,sha256=cEx51Mpt5B4g1QI0QzG81IYS-9lHmTTj_HokHOkJU0M,357
|
|
426
449
|
letta_client/types/modal_sandbox_config.py,sha256=QBGbV1563_tr6Fep0uBy1oboERRQC-pl4mfZmyueIgc,1138
|
|
427
450
|
letta_client/types/modal_sandbox_config_language.py,sha256=RHJmtMZwO-kcYqHIWFel0R2LwKZbAw19V-bhEUguDI0,174
|
|
428
|
-
letta_client/types/not_found_error_body.py,sha256=
|
|
429
|
-
letta_client/types/not_found_error_body_message.py,sha256=Kc9xrVghgDATdPAGpTPnzyKe6ds5q8Vr6zcBU5lLcH4,309
|
|
451
|
+
letta_client/types/not_found_error_body.py,sha256=yE3-m6hzUyibPfMU09MqPOfairn7WtqdrqRpybnfsxk,566
|
|
430
452
|
letta_client/types/npm_requirement.py,sha256=XnJhQNy8ywDXzgKuT4wT8PTk-6umQ_3N7Ok9RKuyT2E,774
|
|
431
453
|
letta_client/types/omitted_reasoning_content.py,sha256=SW3FdgrmkcGwF4CH2cFx3KoYkJewjzmDeh8mP-UlHDI,623
|
|
432
454
|
letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py,sha256=qpE18SGU6NorQ3lziqS4Hy51f8HNgwi1DFhPAl9yclc,879
|
|
@@ -538,6 +560,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
538
560
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
539
561
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
540
562
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
541
|
-
letta_client-0.1.
|
|
542
|
-
letta_client-0.1.
|
|
543
|
-
letta_client-0.1.
|
|
563
|
+
letta_client-0.1.268.dist-info/METADATA,sha256=M5DkwoqO0JstwsDzmNWwjeD_nMAfPGKv7tdcmgrkVWY,5781
|
|
564
|
+
letta_client-0.1.268.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
565
|
+
letta_client-0.1.268.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ..core.api_error import ApiError
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class InternalServerError(ApiError):
|
|
9
|
-
def __init__(self, body: typing.Optional[typing.Any], headers: typing.Optional[typing.Dict[str, str]] = None):
|
|
10
|
-
super().__init__(status_code=500, headers=headers, body=body)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
NotFoundErrorBodyMessage = typing.Union[
|
|
6
|
-
typing.Literal[
|
|
7
|
-
"Agent provided is a template or not found, you can only migrate deployed agents",
|
|
8
|
-
"Template version provided does not exist",
|
|
9
|
-
],
|
|
10
|
-
typing.Any,
|
|
11
|
-
]
|
|
File without changes
|