letta-client 0.1.178__py3-none-any.whl → 0.1.180__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 +3 -2
- letta_client/agents/client.py +2 -2
- letta_client/core/client_wrapper.py +1 -1
- letta_client/steps/__init__.py +2 -2
- letta_client/steps/client.py +5 -5
- letta_client/steps/types/__init__.py +1 -2
- letta_client/types/__init__.py +2 -0
- letta_client/types/feedback_type.py +5 -0
- {letta_client-0.1.178.dist-info → letta_client-0.1.180.dist-info}/METADATA +1 -1
- {letta_client-0.1.178.dist-info → letta_client-0.1.180.dist-info}/RECORD +11 -11
- letta_client/steps/types/add_feedback_request_feedback.py +0 -5
- {letta_client-0.1.178.dist-info → letta_client-0.1.180.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -89,6 +89,7 @@ from .types import (
|
|
|
89
89
|
E2BSandboxConfig,
|
|
90
90
|
EmbeddingConfig,
|
|
91
91
|
EmbeddingConfigEmbeddingEndpointType,
|
|
92
|
+
FeedbackType,
|
|
92
93
|
File,
|
|
93
94
|
FileFile,
|
|
94
95
|
FileMetadata,
|
|
@@ -310,7 +311,7 @@ from .client_side_access_tokens import (
|
|
|
310
311
|
from .environment import LettaEnvironment
|
|
311
312
|
from .groups import GroupCreateManagerConfig, GroupUpdateManagerConfig
|
|
312
313
|
from .projects import ProjectsListResponse, ProjectsListResponseProjectsItem
|
|
313
|
-
from .steps import
|
|
314
|
+
from .steps import StepsListRequestFeedback
|
|
314
315
|
from .templates import TemplatesListResponse, TemplatesListResponseTemplatesItem
|
|
315
316
|
from .tools import (
|
|
316
317
|
AddMcpServerRequest,
|
|
@@ -327,7 +328,6 @@ __all__ = [
|
|
|
327
328
|
"ActionModel",
|
|
328
329
|
"ActionParametersModel",
|
|
329
330
|
"ActionResponseModel",
|
|
330
|
-
"AddFeedbackRequestFeedback",
|
|
331
331
|
"AddMcpServerRequest",
|
|
332
332
|
"AddMcpServerResponseItem",
|
|
333
333
|
"AgentEnvironmentVariable",
|
|
@@ -437,6 +437,7 @@ __all__ = [
|
|
|
437
437
|
"E2BSandboxConfig",
|
|
438
438
|
"EmbeddingConfig",
|
|
439
439
|
"EmbeddingConfigEmbeddingEndpointType",
|
|
440
|
+
"FeedbackType",
|
|
440
441
|
"File",
|
|
441
442
|
"FileFile",
|
|
442
443
|
"FileMetadata",
|
letta_client/agents/client.py
CHANGED
|
@@ -293,7 +293,7 @@ class AgentsClient:
|
|
|
293
293
|
The initial set of messages to put in the agent's in-context memory.
|
|
294
294
|
|
|
295
295
|
include_base_tools : typing.Optional[bool]
|
|
296
|
-
If true, attaches the Letta core tools (e.g.
|
|
296
|
+
If true, attaches the Letta core tools (e.g. core_memory related functions).
|
|
297
297
|
|
|
298
298
|
include_multi_agent_tools : typing.Optional[bool]
|
|
299
299
|
If true, attaches the Letta multi-agent tools (e.g. sending a message to another agent).
|
|
@@ -1398,7 +1398,7 @@ class AsyncAgentsClient:
|
|
|
1398
1398
|
The initial set of messages to put in the agent's in-context memory.
|
|
1399
1399
|
|
|
1400
1400
|
include_base_tools : typing.Optional[bool]
|
|
1401
|
-
If true, attaches the Letta core tools (e.g.
|
|
1401
|
+
If true, attaches the Letta core tools (e.g. core_memory related functions).
|
|
1402
1402
|
|
|
1403
1403
|
include_multi_agent_tools : typing.Optional[bool]
|
|
1404
1404
|
If true, attaches the Letta multi-agent tools (e.g. sending a message to another agent).
|
|
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
17
|
"X-Fern-Language": "Python",
|
|
18
18
|
"X-Fern-SDK-Name": "letta-client",
|
|
19
|
-
"X-Fern-SDK-Version": "0.1.
|
|
19
|
+
"X-Fern-SDK-Version": "0.1.180",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
letta_client/steps/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import
|
|
3
|
+
from .types import StepsListRequestFeedback
|
|
4
4
|
from . import feedback
|
|
5
5
|
|
|
6
|
-
__all__ = ["
|
|
6
|
+
__all__ = ["StepsListRequestFeedback", "feedback"]
|
letta_client/steps/client.py
CHANGED
|
@@ -12,7 +12,7 @@ from ..types.http_validation_error import HttpValidationError
|
|
|
12
12
|
from json.decoder import JSONDecodeError
|
|
13
13
|
from ..core.api_error import ApiError
|
|
14
14
|
from ..core.jsonable_encoder import jsonable_encoder
|
|
15
|
-
from
|
|
15
|
+
from ..types.feedback_type import FeedbackType
|
|
16
16
|
from ..core.client_wrapper import AsyncClientWrapper
|
|
17
17
|
from .feedback.client import AsyncFeedbackClient
|
|
18
18
|
|
|
@@ -196,7 +196,7 @@ class StepsClient:
|
|
|
196
196
|
self,
|
|
197
197
|
step_id: str,
|
|
198
198
|
*,
|
|
199
|
-
feedback: typing.Optional[
|
|
199
|
+
feedback: typing.Optional[FeedbackType] = None,
|
|
200
200
|
request_options: typing.Optional[RequestOptions] = None,
|
|
201
201
|
) -> Step:
|
|
202
202
|
"""
|
|
@@ -206,7 +206,7 @@ class StepsClient:
|
|
|
206
206
|
----------
|
|
207
207
|
step_id : str
|
|
208
208
|
|
|
209
|
-
feedback : typing.Optional[
|
|
209
|
+
feedback : typing.Optional[FeedbackType]
|
|
210
210
|
|
|
211
211
|
request_options : typing.Optional[RequestOptions]
|
|
212
212
|
Request-specific configuration.
|
|
@@ -455,7 +455,7 @@ class AsyncStepsClient:
|
|
|
455
455
|
self,
|
|
456
456
|
step_id: str,
|
|
457
457
|
*,
|
|
458
|
-
feedback: typing.Optional[
|
|
458
|
+
feedback: typing.Optional[FeedbackType] = None,
|
|
459
459
|
request_options: typing.Optional[RequestOptions] = None,
|
|
460
460
|
) -> Step:
|
|
461
461
|
"""
|
|
@@ -465,7 +465,7 @@ class AsyncStepsClient:
|
|
|
465
465
|
----------
|
|
466
466
|
step_id : str
|
|
467
467
|
|
|
468
|
-
feedback : typing.Optional[
|
|
468
|
+
feedback : typing.Optional[FeedbackType]
|
|
469
469
|
|
|
470
470
|
request_options : typing.Optional[RequestOptions]
|
|
471
471
|
Request-specific configuration.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .add_feedback_request_feedback import AddFeedbackRequestFeedback
|
|
4
3
|
from .steps_list_request_feedback import StepsListRequestFeedback
|
|
5
4
|
|
|
6
|
-
__all__ = ["
|
|
5
|
+
__all__ = ["StepsListRequestFeedback"]
|
letta_client/types/__init__.py
CHANGED
|
@@ -88,6 +88,7 @@ from .dynamic_manager_update import DynamicManagerUpdate
|
|
|
88
88
|
from .e_2_b_sandbox_config import E2BSandboxConfig
|
|
89
89
|
from .embedding_config import EmbeddingConfig
|
|
90
90
|
from .embedding_config_embedding_endpoint_type import EmbeddingConfigEmbeddingEndpointType
|
|
91
|
+
from .feedback_type import FeedbackType
|
|
91
92
|
from .file import File
|
|
92
93
|
from .file_file import FileFile
|
|
93
94
|
from .file_metadata import FileMetadata
|
|
@@ -343,6 +344,7 @@ __all__ = [
|
|
|
343
344
|
"E2BSandboxConfig",
|
|
344
345
|
"EmbeddingConfig",
|
|
345
346
|
"EmbeddingConfigEmbeddingEndpointType",
|
|
347
|
+
"FeedbackType",
|
|
346
348
|
"File",
|
|
347
349
|
"FileFile",
|
|
348
350
|
"FileMetadata",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=OW9d5lmZRZOZF5Yn7b_1h3oJUoJz5TyMSayQW89iZRw,18094
|
|
2
2
|
letta_client/agents/__init__.py,sha256=9L60SAZIihZzh_KhVxu0uX4RS7z2iKKctzQsS8ycXHc,1954
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=ecE03lE5tP1AtCMFLT9FzdYyQMx_D7NI5m42b41pV40,24684
|
|
5
|
-
letta_client/agents/client.py,sha256=
|
|
5
|
+
letta_client/agents/client.py,sha256=pBXmpyAbdfnv04iObR7f92OlAW7VyXMsaEuFhL6hvNE,89143
|
|
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
|
|
@@ -65,7 +65,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_re
|
|
|
65
65
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py,sha256=R-H25IpNp9feSrW8Yj3h9O3UTMVvFniQJElogKxLuoE,254
|
|
66
66
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
67
67
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
68
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
68
|
+
letta_client/core/client_wrapper.py,sha256=2asI3xBsOBVdylE_VirBzGIob05eO1CqREBMT8Np9OQ,1998
|
|
69
69
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
70
70
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
71
71
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -131,12 +131,11 @@ letta_client/sources/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roe
|
|
|
131
131
|
letta_client/sources/files/client.py,sha256=VwOnQEZpY0j2LqRAPO1EbtfykAYbBwPHcI7DC19L91w,13742
|
|
132
132
|
letta_client/sources/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
133
133
|
letta_client/sources/passages/client.py,sha256=XxpITU_fq9MKiSd8Qu720Dprnxp5wlDEf6yjXaEfwSQ,5969
|
|
134
|
-
letta_client/steps/__init__.py,sha256=
|
|
135
|
-
letta_client/steps/client.py,sha256=
|
|
134
|
+
letta_client/steps/__init__.py,sha256=Vitg85t2RrFWGxc4yqPbmd1dDZ44L0A1cnQFVTGRDCw,184
|
|
135
|
+
letta_client/steps/client.py,sha256=sBBcMWgL7yIJhpcoP03V7njiYqHOrgTGm3NZKj3dBfc,17073
|
|
136
136
|
letta_client/steps/feedback/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
137
137
|
letta_client/steps/feedback/client.py,sha256=GXsXnrsf-wmuRLvsj8F2wjVcOOg4fbUvseIMjhFm7Xg,2943
|
|
138
|
-
letta_client/steps/types/__init__.py,sha256=
|
|
139
|
-
letta_client/steps/types/add_feedback_request_feedback.py,sha256=tCrw9Pmeu0tiJhEhp900iw1-nmDf0R--ZB7H7uplUOI,174
|
|
138
|
+
letta_client/steps/types/__init__.py,sha256=afgL6YcS_8FJ3Syf7DwWW82CmYDqb9zelSZpJ4Rt70o,171
|
|
140
139
|
letta_client/steps/types/steps_list_request_feedback.py,sha256=Au1YSn3UYRc_b4yxUT6hFqru4iJ-SX-_Ndb3PwCYGp8,172
|
|
141
140
|
letta_client/tags/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
142
141
|
letta_client/tags/client.py,sha256=1xIPtMWJ6ssAhPEFgl5CyJHyvND9MHCLIbEzQWxntZ0,5167
|
|
@@ -161,7 +160,7 @@ letta_client/tools/types/list_mcp_servers_response_value.py,sha256=Eyji5qB7Fhowi
|
|
|
161
160
|
letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
|
|
162
161
|
letta_client/tools/types/update_mcp_server_request.py,sha256=SEMNYHB_mwJNSMHKO7keU0C_CMBktV7lfZUnACPe_fU,314
|
|
163
162
|
letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
|
|
164
|
-
letta_client/types/__init__.py,sha256=
|
|
163
|
+
letta_client/types/__init__.py,sha256=zN8B2TBwrfgDPvDp4E68EIn3SILewbUy618B_z35cgk,22373
|
|
165
164
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
166
165
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
167
166
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -250,6 +249,7 @@ letta_client/types/dynamic_manager_update.py,sha256=Kew94BsFP6vP9pUXpZDMFZAo3Tya
|
|
|
250
249
|
letta_client/types/e_2_b_sandbox_config.py,sha256=w3R4QpPjeie5aKw8sb_eKhl78J0k5vLCcATNS3Qaeyw,957
|
|
251
250
|
letta_client/types/embedding_config.py,sha256=ubGDLn8_H1qOoZUUj6de0MVrQnM2umVR2vdnOolPyr4,2539
|
|
252
251
|
letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=Ho1HSODi21PkzsZR58g7FlIMReFU2yf0hAS5OyUsW6Q,559
|
|
252
|
+
letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
|
|
253
253
|
letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
|
|
254
254
|
letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJruw,665
|
|
255
255
|
letta_client/types/file_metadata.py,sha256=93kCGqz_Hpd-tCfqmXfe8a7pmUckDYrr48hbOGIKqgg,2553
|
|
@@ -414,6 +414,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
414
414
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
415
415
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
416
416
|
letta_client/voice/client.py,sha256=EX79F2D5bieXNP8g1ZPw8xwAzqE1A3hshCHUSlTV1kw,5739
|
|
417
|
-
letta_client-0.1.
|
|
418
|
-
letta_client-0.1.
|
|
419
|
-
letta_client-0.1.
|
|
417
|
+
letta_client-0.1.180.dist-info/METADATA,sha256=Y9AYHiUjDHIVX4Q9-nYZ5B5QjllAYK2T_pRj_bAhn5U,5093
|
|
418
|
+
letta_client-0.1.180.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
419
|
+
letta_client-0.1.180.dist-info/RECORD,,
|
|
File without changes
|