letta-client 1.0.0a10__py3-none-any.whl → 1.0.0a11__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/_client.py +5 -1
- letta_client/_streaming.py +40 -2
- letta_client/_version.py +1 -1
- letta_client/resources/agents/blocks.py +15 -17
- letta_client/resources/agents/files.py +10 -13
- letta_client/resources/agents/folders.py +10 -13
- letta_client/resources/agents/messages.py +14 -4
- letta_client/resources/agents/tools.py +10 -13
- letta_client/resources/archives.py +10 -12
- letta_client/resources/batches/batches.py +10 -12
- letta_client/resources/batches/messages.py +11 -14
- letta_client/resources/blocks/blocks.py +19 -22
- letta_client/resources/folders/agents.py +10 -13
- letta_client/resources/folders/files.py +9 -12
- letta_client/resources/folders/folders.py +10 -12
- letta_client/resources/identities/blocks.py +7 -7
- letta_client/resources/identities/identities.py +10 -12
- letta_client/resources/runs/runs.py +11 -13
- letta_client/resources/tags.py +10 -13
- letta_client/resources/tools.py +10 -12
- letta_client/types/__init__.py +7 -4
- letta_client/types/agents/__init__.py +2 -3
- letta_client/types/agents/file_list_response.py +14 -3
- letta_client/types/agents/folder_list_response.py +7 -3
- letta_client/types/agents/letta_streaming_response.py +70 -0
- letta_client/types/agents/tool_list_response.py +10 -0
- letta_client/types/archive_list_response.py +10 -0
- letta_client/types/batch_list_response.py +10 -0
- letta_client/types/batches/__init__.py +1 -0
- letta_client/types/batches/message_list_response.py +12 -0
- letta_client/types/{block_list_response.py → block_response.py} +5 -5
- letta_client/types/folder_list_response.py +10 -0
- letta_client/types/folders/agent_list_response.py +2 -1
- letta_client/types/folders/file_list_response.py +7 -4
- letta_client/types/identities/__init__.py +0 -1
- letta_client/types/identity_list_response.py +10 -0
- letta_client/types/run_list_response.py +10 -0
- letta_client/types/tag_list_response.py +2 -1
- letta_client/types/tool.py +25 -25
- letta_client/types/tool_list_response.py +10 -0
- {letta_client-1.0.0a10.dist-info → letta_client-1.0.0a11.dist-info}/METADATA +1 -1
- {letta_client-1.0.0a10.dist-info → letta_client-1.0.0a11.dist-info}/RECORD +44 -42
- letta_client/types/agents/block_list_response.py +0 -63
- letta_client/types/agents/block_modify_response.py +0 -63
- letta_client/types/agents/block_retrieve_response.py +0 -63
- letta_client/types/block_create_response.py +0 -63
- letta_client/types/block_modify_response.py +0 -63
- letta_client/types/block_retrieve_response.py +0 -63
- letta_client/types/identities/block_list_response.py +0 -63
- {letta_client-1.0.0a10.dist-info → letta_client-1.0.0a11.dist-info}/WHEEL +0 -0
- {letta_client-1.0.0a10.dist-info → letta_client-1.0.0a11.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, Optional
|
|
4
|
-
|
|
5
|
-
from .._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["BlockCreateResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BlockCreateResponse(BaseModel):
|
|
11
|
-
value: str
|
|
12
|
-
"""Value of the block."""
|
|
13
|
-
|
|
14
|
-
id: Optional[str] = None
|
|
15
|
-
"""The human-friendly ID of the Block"""
|
|
16
|
-
|
|
17
|
-
base_template_id: Optional[str] = None
|
|
18
|
-
"""(Deprecated) The base template id of the block."""
|
|
19
|
-
|
|
20
|
-
created_by_id: Optional[str] = None
|
|
21
|
-
"""The id of the user that made this Block."""
|
|
22
|
-
|
|
23
|
-
deployment_id: Optional[str] = None
|
|
24
|
-
"""(Deprecated) The id of the deployment."""
|
|
25
|
-
|
|
26
|
-
description: Optional[str] = None
|
|
27
|
-
"""Description of the block."""
|
|
28
|
-
|
|
29
|
-
entity_id: Optional[str] = None
|
|
30
|
-
"""(Deprecated) The id of the entity within the template."""
|
|
31
|
-
|
|
32
|
-
hidden: Optional[bool] = None
|
|
33
|
-
"""(Deprecated) If set to True, the block will be hidden."""
|
|
34
|
-
|
|
35
|
-
is_template: Optional[bool] = None
|
|
36
|
-
"""Whether the block is a template (e.g. saved human/persona options)."""
|
|
37
|
-
|
|
38
|
-
label: Optional[str] = None
|
|
39
|
-
"""Label of the block (e.g. 'human', 'persona') in the context window."""
|
|
40
|
-
|
|
41
|
-
last_updated_by_id: Optional[str] = None
|
|
42
|
-
"""The id of the user that last updated this Block."""
|
|
43
|
-
|
|
44
|
-
limit: Optional[int] = None
|
|
45
|
-
"""Character limit of the block."""
|
|
46
|
-
|
|
47
|
-
metadata: Optional[Dict[str, object]] = None
|
|
48
|
-
"""Metadata of the block."""
|
|
49
|
-
|
|
50
|
-
preserve_on_migration: Optional[bool] = None
|
|
51
|
-
"""(Deprecated) Preserve the block on template migration."""
|
|
52
|
-
|
|
53
|
-
project_id: Optional[str] = None
|
|
54
|
-
"""The associated project id."""
|
|
55
|
-
|
|
56
|
-
read_only: Optional[bool] = None
|
|
57
|
-
"""(Deprecated) Whether the agent has read-only access to the block."""
|
|
58
|
-
|
|
59
|
-
template_id: Optional[str] = None
|
|
60
|
-
"""(Deprecated) The id of the template."""
|
|
61
|
-
|
|
62
|
-
template_name: Optional[str] = None
|
|
63
|
-
"""(Deprecated) The name of the block template (if it is a template)."""
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, Optional
|
|
4
|
-
|
|
5
|
-
from .._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["BlockModifyResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BlockModifyResponse(BaseModel):
|
|
11
|
-
value: str
|
|
12
|
-
"""Value of the block."""
|
|
13
|
-
|
|
14
|
-
id: Optional[str] = None
|
|
15
|
-
"""The human-friendly ID of the Block"""
|
|
16
|
-
|
|
17
|
-
base_template_id: Optional[str] = None
|
|
18
|
-
"""(Deprecated) The base template id of the block."""
|
|
19
|
-
|
|
20
|
-
created_by_id: Optional[str] = None
|
|
21
|
-
"""The id of the user that made this Block."""
|
|
22
|
-
|
|
23
|
-
deployment_id: Optional[str] = None
|
|
24
|
-
"""(Deprecated) The id of the deployment."""
|
|
25
|
-
|
|
26
|
-
description: Optional[str] = None
|
|
27
|
-
"""Description of the block."""
|
|
28
|
-
|
|
29
|
-
entity_id: Optional[str] = None
|
|
30
|
-
"""(Deprecated) The id of the entity within the template."""
|
|
31
|
-
|
|
32
|
-
hidden: Optional[bool] = None
|
|
33
|
-
"""(Deprecated) If set to True, the block will be hidden."""
|
|
34
|
-
|
|
35
|
-
is_template: Optional[bool] = None
|
|
36
|
-
"""Whether the block is a template (e.g. saved human/persona options)."""
|
|
37
|
-
|
|
38
|
-
label: Optional[str] = None
|
|
39
|
-
"""Label of the block (e.g. 'human', 'persona') in the context window."""
|
|
40
|
-
|
|
41
|
-
last_updated_by_id: Optional[str] = None
|
|
42
|
-
"""The id of the user that last updated this Block."""
|
|
43
|
-
|
|
44
|
-
limit: Optional[int] = None
|
|
45
|
-
"""Character limit of the block."""
|
|
46
|
-
|
|
47
|
-
metadata: Optional[Dict[str, object]] = None
|
|
48
|
-
"""Metadata of the block."""
|
|
49
|
-
|
|
50
|
-
preserve_on_migration: Optional[bool] = None
|
|
51
|
-
"""(Deprecated) Preserve the block on template migration."""
|
|
52
|
-
|
|
53
|
-
project_id: Optional[str] = None
|
|
54
|
-
"""The associated project id."""
|
|
55
|
-
|
|
56
|
-
read_only: Optional[bool] = None
|
|
57
|
-
"""(Deprecated) Whether the agent has read-only access to the block."""
|
|
58
|
-
|
|
59
|
-
template_id: Optional[str] = None
|
|
60
|
-
"""(Deprecated) The id of the template."""
|
|
61
|
-
|
|
62
|
-
template_name: Optional[str] = None
|
|
63
|
-
"""(Deprecated) The name of the block template (if it is a template)."""
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, Optional
|
|
4
|
-
|
|
5
|
-
from .._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["BlockRetrieveResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BlockRetrieveResponse(BaseModel):
|
|
11
|
-
value: str
|
|
12
|
-
"""Value of the block."""
|
|
13
|
-
|
|
14
|
-
id: Optional[str] = None
|
|
15
|
-
"""The human-friendly ID of the Block"""
|
|
16
|
-
|
|
17
|
-
base_template_id: Optional[str] = None
|
|
18
|
-
"""(Deprecated) The base template id of the block."""
|
|
19
|
-
|
|
20
|
-
created_by_id: Optional[str] = None
|
|
21
|
-
"""The id of the user that made this Block."""
|
|
22
|
-
|
|
23
|
-
deployment_id: Optional[str] = None
|
|
24
|
-
"""(Deprecated) The id of the deployment."""
|
|
25
|
-
|
|
26
|
-
description: Optional[str] = None
|
|
27
|
-
"""Description of the block."""
|
|
28
|
-
|
|
29
|
-
entity_id: Optional[str] = None
|
|
30
|
-
"""(Deprecated) The id of the entity within the template."""
|
|
31
|
-
|
|
32
|
-
hidden: Optional[bool] = None
|
|
33
|
-
"""(Deprecated) If set to True, the block will be hidden."""
|
|
34
|
-
|
|
35
|
-
is_template: Optional[bool] = None
|
|
36
|
-
"""Whether the block is a template (e.g. saved human/persona options)."""
|
|
37
|
-
|
|
38
|
-
label: Optional[str] = None
|
|
39
|
-
"""Label of the block (e.g. 'human', 'persona') in the context window."""
|
|
40
|
-
|
|
41
|
-
last_updated_by_id: Optional[str] = None
|
|
42
|
-
"""The id of the user that last updated this Block."""
|
|
43
|
-
|
|
44
|
-
limit: Optional[int] = None
|
|
45
|
-
"""Character limit of the block."""
|
|
46
|
-
|
|
47
|
-
metadata: Optional[Dict[str, object]] = None
|
|
48
|
-
"""Metadata of the block."""
|
|
49
|
-
|
|
50
|
-
preserve_on_migration: Optional[bool] = None
|
|
51
|
-
"""(Deprecated) Preserve the block on template migration."""
|
|
52
|
-
|
|
53
|
-
project_id: Optional[str] = None
|
|
54
|
-
"""The associated project id."""
|
|
55
|
-
|
|
56
|
-
read_only: Optional[bool] = None
|
|
57
|
-
"""(Deprecated) Whether the agent has read-only access to the block."""
|
|
58
|
-
|
|
59
|
-
template_id: Optional[str] = None
|
|
60
|
-
"""(Deprecated) The id of the template."""
|
|
61
|
-
|
|
62
|
-
template_name: Optional[str] = None
|
|
63
|
-
"""(Deprecated) The name of the block template (if it is a template)."""
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["BlockListResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BlockListResponse(BaseModel):
|
|
11
|
-
value: str
|
|
12
|
-
"""Value of the block."""
|
|
13
|
-
|
|
14
|
-
id: Optional[str] = None
|
|
15
|
-
"""The human-friendly ID of the Block"""
|
|
16
|
-
|
|
17
|
-
base_template_id: Optional[str] = None
|
|
18
|
-
"""(Deprecated) The base template id of the block."""
|
|
19
|
-
|
|
20
|
-
created_by_id: Optional[str] = None
|
|
21
|
-
"""The id of the user that made this Block."""
|
|
22
|
-
|
|
23
|
-
deployment_id: Optional[str] = None
|
|
24
|
-
"""(Deprecated) The id of the deployment."""
|
|
25
|
-
|
|
26
|
-
description: Optional[str] = None
|
|
27
|
-
"""Description of the block."""
|
|
28
|
-
|
|
29
|
-
entity_id: Optional[str] = None
|
|
30
|
-
"""(Deprecated) The id of the entity within the template."""
|
|
31
|
-
|
|
32
|
-
hidden: Optional[bool] = None
|
|
33
|
-
"""(Deprecated) If set to True, the block will be hidden."""
|
|
34
|
-
|
|
35
|
-
is_template: Optional[bool] = None
|
|
36
|
-
"""Whether the block is a template (e.g. saved human/persona options)."""
|
|
37
|
-
|
|
38
|
-
label: Optional[str] = None
|
|
39
|
-
"""Label of the block (e.g. 'human', 'persona') in the context window."""
|
|
40
|
-
|
|
41
|
-
last_updated_by_id: Optional[str] = None
|
|
42
|
-
"""The id of the user that last updated this Block."""
|
|
43
|
-
|
|
44
|
-
limit: Optional[int] = None
|
|
45
|
-
"""Character limit of the block."""
|
|
46
|
-
|
|
47
|
-
metadata: Optional[Dict[str, object]] = None
|
|
48
|
-
"""Metadata of the block."""
|
|
49
|
-
|
|
50
|
-
preserve_on_migration: Optional[bool] = None
|
|
51
|
-
"""(Deprecated) Preserve the block on template migration."""
|
|
52
|
-
|
|
53
|
-
project_id: Optional[str] = None
|
|
54
|
-
"""The associated project id."""
|
|
55
|
-
|
|
56
|
-
read_only: Optional[bool] = None
|
|
57
|
-
"""(Deprecated) Whether the agent has read-only access to the block."""
|
|
58
|
-
|
|
59
|
-
template_id: Optional[str] = None
|
|
60
|
-
"""(Deprecated) The id of the template."""
|
|
61
|
-
|
|
62
|
-
template_name: Optional[str] = None
|
|
63
|
-
"""(Deprecated) The name of the block template (if it is a template)."""
|
|
File without changes
|
|
File without changes
|