letta-client 0.1.321__py3-none-any.whl → 0.1.323__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 +10 -182
- letta_client/core/client_wrapper.py +2 -2
- letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py +1 -0
- letta_client/types/__init__.py +10 -196
- letta_client/types/agent_type.py +1 -0
- letta_client/types/{chat_completion_message_function_tool_call_output.py → chat_completion_message_function_tool_call.py} +3 -3
- letta_client/types/{function_call.py → function.py} +1 -1
- letta_client/types/{function_definition_input.py → function_definition.py} +1 -1
- letta_client/types/function_tool.py +2 -2
- letta_client/types/letta_schemas_agent_file_message_schema.py +2 -2
- letta_client/types/message.py +2 -2
- letta_client/types/message_content_item.py +2 -0
- letta_client/types/omitted_reasoning_content.py +4 -0
- letta_client/types/reasoning_content.py +4 -0
- letta_client/types/redacted_reasoning_content.py +4 -0
- letta_client/types/summarized_reasoning_content.py +39 -0
- letta_client/types/{chat_completion_content_part_refusal_param.py → summarized_reasoning_content_part.py} +10 -3
- {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/METADATA +1 -1
- {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/RECORD +20 -106
- letta_client/types/audio.py +0 -20
- letta_client/types/chat_completion_allowed_tool_choice_param.py +0 -22
- letta_client/types/chat_completion_allowed_tools_param.py +0 -22
- letta_client/types/chat_completion_allowed_tools_param_mode.py +0 -5
- letta_client/types/chat_completion_assistant_message_param.py +0 -30
- letta_client/types/chat_completion_assistant_message_param_content.py +0 -9
- letta_client/types/chat_completion_assistant_message_param_content_item.py +0 -10
- letta_client/types/chat_completion_assistant_message_param_tool_calls_item.py +0 -10
- letta_client/types/chat_completion_audio_param.py +0 -23
- letta_client/types/chat_completion_audio_param_format.py +0 -5
- letta_client/types/chat_completion_audio_param_voice.py +0 -15
- letta_client/types/chat_completion_content_part_image_param.py +0 -22
- letta_client/types/chat_completion_content_part_input_audio_param.py +0 -22
- letta_client/types/chat_completion_content_part_text_param.py +0 -21
- letta_client/types/chat_completion_custom_tool_param.py +0 -24
- letta_client/types/chat_completion_developer_message_param.py +0 -23
- letta_client/types/chat_completion_developer_message_param_content.py +0 -7
- letta_client/types/chat_completion_function_call_option_param.py +0 -20
- letta_client/types/chat_completion_function_message_param.py +0 -22
- letta_client/types/chat_completion_function_tool_param.py +0 -22
- letta_client/types/chat_completion_message_custom_tool_call_param.py +0 -25
- letta_client/types/chat_completion_message_function_tool_call_input.py +0 -25
- letta_client/types/chat_completion_message_function_tool_call_param.py +0 -25
- letta_client/types/chat_completion_named_tool_choice_custom_param.py +0 -24
- letta_client/types/chat_completion_named_tool_choice_param.py +0 -24
- letta_client/types/chat_completion_prediction_content_param.py +0 -22
- letta_client/types/chat_completion_prediction_content_param_content.py +0 -7
- letta_client/types/chat_completion_stream_options_param.py +0 -21
- letta_client/types/chat_completion_system_message_param.py +0 -23
- letta_client/types/chat_completion_system_message_param_content.py +0 -7
- letta_client/types/chat_completion_tool_message_param.py +0 -23
- letta_client/types/chat_completion_tool_message_param_content.py +0 -7
- letta_client/types/chat_completion_user_message_param.py +0 -23
- letta_client/types/chat_completion_user_message_param_content.py +0 -7
- letta_client/types/chat_completion_user_message_param_content_item.py +0 -15
- letta_client/types/completion_create_params_non_streaming.py +0 -69
- letta_client/types/completion_create_params_non_streaming_function_call.py +0 -9
- letta_client/types/completion_create_params_non_streaming_messages_item.py +0 -19
- letta_client/types/completion_create_params_non_streaming_modalities_item.py +0 -5
- letta_client/types/completion_create_params_non_streaming_model.py +0 -69
- letta_client/types/completion_create_params_non_streaming_reasoning_effort.py +0 -7
- letta_client/types/completion_create_params_non_streaming_response_format.py +0 -11
- letta_client/types/completion_create_params_non_streaming_service_tier.py +0 -7
- letta_client/types/completion_create_params_non_streaming_stop.py +0 -5
- letta_client/types/completion_create_params_non_streaming_tool_choice.py +0 -16
- letta_client/types/completion_create_params_non_streaming_tools_item.py +0 -10
- letta_client/types/completion_create_params_non_streaming_verbosity.py +0 -5
- letta_client/types/completion_create_params_streaming.py +0 -69
- letta_client/types/completion_create_params_streaming_function_call.py +0 -9
- letta_client/types/completion_create_params_streaming_messages_item.py +0 -19
- letta_client/types/completion_create_params_streaming_modalities_item.py +0 -5
- letta_client/types/completion_create_params_streaming_model.py +0 -69
- letta_client/types/completion_create_params_streaming_reasoning_effort.py +0 -7
- letta_client/types/completion_create_params_streaming_response_format.py +0 -11
- letta_client/types/completion_create_params_streaming_service_tier.py +0 -7
- letta_client/types/completion_create_params_streaming_stop.py +0 -5
- letta_client/types/completion_create_params_streaming_tool_choice.py +0 -16
- letta_client/types/completion_create_params_streaming_tools_item.py +0 -8
- letta_client/types/completion_create_params_streaming_verbosity.py +0 -5
- letta_client/types/custom_format_grammar.py +0 -22
- letta_client/types/custom_format_grammar_grammar.py +0 -22
- letta_client/types/custom_format_grammar_grammar_syntax.py +0 -5
- letta_client/types/custom_format_text.py +0 -20
- letta_client/types/file.py +0 -22
- letta_client/types/file_file.py +0 -22
- letta_client/types/function_definition_output.py +0 -23
- letta_client/types/function_output.py +0 -21
- letta_client/types/image_url.py +0 -22
- letta_client/types/image_url_detail.py +0 -5
- letta_client/types/input_audio.py +0 -22
- letta_client/types/input_audio_format.py +0 -5
- letta_client/types/json_schema.py +0 -27
- letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py +0 -25
- letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom_format.py +0 -8
- letta_client/types/openai_types_chat_chat_completion_message_custom_tool_call_param_custom.py +0 -21
- letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_function.py +0 -21
- letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_param_function.py +0 -21
- letta_client/types/openai_types_chat_chat_completion_named_tool_choice_custom_param_custom.py +0 -20
- letta_client/types/openai_types_chat_chat_completion_named_tool_choice_param_function.py +0 -20
- letta_client/types/openai_types_chat_completion_create_params_function.py +0 -22
- letta_client/types/response_format_json_object.py +0 -20
- letta_client/types/response_format_json_schema.py +0 -22
- letta_client/types/response_format_text.py +0 -20
- letta_client/types/web_search_options.py +0 -23
- letta_client/types/web_search_options_search_context_size.py +0 -5
- letta_client/types/web_search_options_user_location.py +0 -22
- letta_client/types/web_search_options_user_location_approximate.py +0 -23
- {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -25,7 +25,6 @@ from .types import (
|
|
|
25
25
|
Archive,
|
|
26
26
|
AssistantMessage,
|
|
27
27
|
AssistantMessageContent,
|
|
28
|
-
Audio,
|
|
29
28
|
AuthRequest,
|
|
30
29
|
AuthResponse,
|
|
31
30
|
AuthSchemeField,
|
|
@@ -37,69 +36,10 @@ from .types import (
|
|
|
37
36
|
BlockSchema,
|
|
38
37
|
BlockUpdate,
|
|
39
38
|
BodyExportAgent,
|
|
40
|
-
|
|
41
|
-
ChatCompletionAllowedToolsParam,
|
|
42
|
-
ChatCompletionAllowedToolsParamMode,
|
|
43
|
-
ChatCompletionAssistantMessageParam,
|
|
44
|
-
ChatCompletionAssistantMessageParamContent,
|
|
45
|
-
ChatCompletionAssistantMessageParamContentItem,
|
|
46
|
-
ChatCompletionAssistantMessageParamToolCallsItem,
|
|
47
|
-
ChatCompletionAudioParam,
|
|
48
|
-
ChatCompletionAudioParamFormat,
|
|
49
|
-
ChatCompletionAudioParamVoice,
|
|
50
|
-
ChatCompletionContentPartImageParam,
|
|
51
|
-
ChatCompletionContentPartInputAudioParam,
|
|
52
|
-
ChatCompletionContentPartRefusalParam,
|
|
53
|
-
ChatCompletionContentPartTextParam,
|
|
54
|
-
ChatCompletionCustomToolParam,
|
|
55
|
-
ChatCompletionDeveloperMessageParam,
|
|
56
|
-
ChatCompletionDeveloperMessageParamContent,
|
|
57
|
-
ChatCompletionFunctionCallOptionParam,
|
|
58
|
-
ChatCompletionFunctionMessageParam,
|
|
59
|
-
ChatCompletionFunctionToolParam,
|
|
60
|
-
ChatCompletionMessageCustomToolCallParam,
|
|
61
|
-
ChatCompletionMessageFunctionToolCallInput,
|
|
62
|
-
ChatCompletionMessageFunctionToolCallOutput,
|
|
63
|
-
ChatCompletionMessageFunctionToolCallParam,
|
|
64
|
-
ChatCompletionNamedToolChoiceCustomParam,
|
|
65
|
-
ChatCompletionNamedToolChoiceParam,
|
|
66
|
-
ChatCompletionPredictionContentParam,
|
|
67
|
-
ChatCompletionPredictionContentParamContent,
|
|
68
|
-
ChatCompletionStreamOptionsParam,
|
|
69
|
-
ChatCompletionSystemMessageParam,
|
|
70
|
-
ChatCompletionSystemMessageParamContent,
|
|
71
|
-
ChatCompletionToolMessageParam,
|
|
72
|
-
ChatCompletionToolMessageParamContent,
|
|
73
|
-
ChatCompletionUserMessageParam,
|
|
74
|
-
ChatCompletionUserMessageParamContent,
|
|
75
|
-
ChatCompletionUserMessageParamContentItem,
|
|
39
|
+
ChatCompletionMessageFunctionToolCall,
|
|
76
40
|
ChildToolRule,
|
|
77
41
|
ChildToolRuleSchema,
|
|
78
42
|
CodeInput,
|
|
79
|
-
CompletionCreateParamsNonStreaming,
|
|
80
|
-
CompletionCreateParamsNonStreamingFunctionCall,
|
|
81
|
-
CompletionCreateParamsNonStreamingMessagesItem,
|
|
82
|
-
CompletionCreateParamsNonStreamingModalitiesItem,
|
|
83
|
-
CompletionCreateParamsNonStreamingModel,
|
|
84
|
-
CompletionCreateParamsNonStreamingReasoningEffort,
|
|
85
|
-
CompletionCreateParamsNonStreamingResponseFormat,
|
|
86
|
-
CompletionCreateParamsNonStreamingServiceTier,
|
|
87
|
-
CompletionCreateParamsNonStreamingStop,
|
|
88
|
-
CompletionCreateParamsNonStreamingToolChoice,
|
|
89
|
-
CompletionCreateParamsNonStreamingToolsItem,
|
|
90
|
-
CompletionCreateParamsNonStreamingVerbosity,
|
|
91
|
-
CompletionCreateParamsStreaming,
|
|
92
|
-
CompletionCreateParamsStreamingFunctionCall,
|
|
93
|
-
CompletionCreateParamsStreamingMessagesItem,
|
|
94
|
-
CompletionCreateParamsStreamingModalitiesItem,
|
|
95
|
-
CompletionCreateParamsStreamingModel,
|
|
96
|
-
CompletionCreateParamsStreamingReasoningEffort,
|
|
97
|
-
CompletionCreateParamsStreamingResponseFormat,
|
|
98
|
-
CompletionCreateParamsStreamingServiceTier,
|
|
99
|
-
CompletionCreateParamsStreamingStop,
|
|
100
|
-
CompletionCreateParamsStreamingToolChoice,
|
|
101
|
-
CompletionCreateParamsStreamingToolsItem,
|
|
102
|
-
CompletionCreateParamsStreamingVerbosity,
|
|
103
43
|
ComponentsSchemasTextContent,
|
|
104
44
|
ConditionalToolRule,
|
|
105
45
|
ConditionalToolRuleSchema,
|
|
@@ -108,10 +48,6 @@ from .types import (
|
|
|
108
48
|
ContinueToolRule,
|
|
109
49
|
CoreMemoryBlockSchema,
|
|
110
50
|
CreateBlock,
|
|
111
|
-
CustomFormatGrammar,
|
|
112
|
-
CustomFormatGrammarGrammar,
|
|
113
|
-
CustomFormatGrammarGrammarSyntax,
|
|
114
|
-
CustomFormatText,
|
|
115
51
|
DeleteDeploymentResponse,
|
|
116
52
|
DeploymentEntity,
|
|
117
53
|
DuplicateFileHandling,
|
|
@@ -121,19 +57,15 @@ from .types import (
|
|
|
121
57
|
EmbeddingConfig,
|
|
122
58
|
EmbeddingConfigEmbeddingEndpointType,
|
|
123
59
|
FeedbackType,
|
|
124
|
-
File,
|
|
125
60
|
FileAgentSchema,
|
|
126
61
|
FileBlock,
|
|
127
|
-
FileFile,
|
|
128
62
|
FileMetadata,
|
|
129
63
|
FileProcessingStatus,
|
|
130
64
|
FileSchema,
|
|
131
65
|
FileStats,
|
|
132
66
|
Folder,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
FunctionDefinitionOutput,
|
|
136
|
-
FunctionOutput,
|
|
67
|
+
Function,
|
|
68
|
+
FunctionDefinition,
|
|
137
69
|
FunctionTool,
|
|
138
70
|
GenerateToolInput,
|
|
139
71
|
GenerateToolOutput,
|
|
@@ -151,12 +83,8 @@ from .types import (
|
|
|
151
83
|
IdentityType,
|
|
152
84
|
ImageContent,
|
|
153
85
|
ImageContentSource,
|
|
154
|
-
ImageUrl,
|
|
155
|
-
ImageUrlDetail,
|
|
156
86
|
ImportedAgentsResponse,
|
|
157
87
|
InitToolRule,
|
|
158
|
-
InputAudio,
|
|
159
|
-
InputAudioFormat,
|
|
160
88
|
InternalServerErrorBody,
|
|
161
89
|
InternalTemplateAgentCreate,
|
|
162
90
|
InternalTemplateAgentCreateResponseFormat,
|
|
@@ -168,7 +96,6 @@ from .types import (
|
|
|
168
96
|
JobStatus,
|
|
169
97
|
JobType,
|
|
170
98
|
JsonObjectResponseFormat,
|
|
171
|
-
JsonSchema,
|
|
172
99
|
JsonSchemaResponseFormat,
|
|
173
100
|
LettaBatchMessages,
|
|
174
101
|
LettaBatchRequest,
|
|
@@ -226,14 +153,6 @@ from .types import (
|
|
|
226
153
|
NotFoundErrorBody,
|
|
227
154
|
NpmRequirement,
|
|
228
155
|
OmittedReasoningContent,
|
|
229
|
-
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
230
|
-
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
231
|
-
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
232
|
-
OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction,
|
|
233
|
-
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
234
|
-
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
235
|
-
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
236
|
-
OpenaiTypesChatCompletionCreateParamsFunction,
|
|
237
156
|
Organization,
|
|
238
157
|
OrganizationCreate,
|
|
239
158
|
OrganizationSourcesStats,
|
|
@@ -255,9 +174,6 @@ from .types import (
|
|
|
255
174
|
RedactedReasoningContent,
|
|
256
175
|
RequiredBeforeExitToolRule,
|
|
257
176
|
RequiresApprovalToolRule,
|
|
258
|
-
ResponseFormatJsonObject,
|
|
259
|
-
ResponseFormatJsonSchema,
|
|
260
|
-
ResponseFormatText,
|
|
261
177
|
RoundRobinManager,
|
|
262
178
|
RoundRobinManagerUpdate,
|
|
263
179
|
Run,
|
|
@@ -285,6 +201,8 @@ from .types import (
|
|
|
285
201
|
StepStatus,
|
|
286
202
|
StopReasonType,
|
|
287
203
|
StreamableHttpServerConfig,
|
|
204
|
+
SummarizedReasoningContent,
|
|
205
|
+
SummarizedReasoningContentPart,
|
|
288
206
|
SupervisorManager,
|
|
289
207
|
SupervisorManagerUpdate,
|
|
290
208
|
SystemMessage,
|
|
@@ -331,10 +249,6 @@ from .types import (
|
|
|
331
249
|
VectorDbProvider,
|
|
332
250
|
VoiceSleeptimeManager,
|
|
333
251
|
VoiceSleeptimeManagerUpdate,
|
|
334
|
-
WebSearchOptions,
|
|
335
|
-
WebSearchOptionsSearchContextSize,
|
|
336
|
-
WebSearchOptionsUserLocation,
|
|
337
|
-
WebSearchOptionsUserLocationApproximate,
|
|
338
252
|
)
|
|
339
253
|
from .errors import (
|
|
340
254
|
BadRequestError,
|
|
@@ -504,7 +418,6 @@ __all__ = [
|
|
|
504
418
|
"AssistantMessage",
|
|
505
419
|
"AssistantMessageContent",
|
|
506
420
|
"AsyncLetta",
|
|
507
|
-
"Audio",
|
|
508
421
|
"AuthRequest",
|
|
509
422
|
"AuthResponse",
|
|
510
423
|
"AuthSchemeField",
|
|
@@ -519,42 +432,7 @@ __all__ = [
|
|
|
519
432
|
"BlockUpdate",
|
|
520
433
|
"BlocksListRequestOrder",
|
|
521
434
|
"BodyExportAgent",
|
|
522
|
-
"
|
|
523
|
-
"ChatCompletionAllowedToolsParam",
|
|
524
|
-
"ChatCompletionAllowedToolsParamMode",
|
|
525
|
-
"ChatCompletionAssistantMessageParam",
|
|
526
|
-
"ChatCompletionAssistantMessageParamContent",
|
|
527
|
-
"ChatCompletionAssistantMessageParamContentItem",
|
|
528
|
-
"ChatCompletionAssistantMessageParamToolCallsItem",
|
|
529
|
-
"ChatCompletionAudioParam",
|
|
530
|
-
"ChatCompletionAudioParamFormat",
|
|
531
|
-
"ChatCompletionAudioParamVoice",
|
|
532
|
-
"ChatCompletionContentPartImageParam",
|
|
533
|
-
"ChatCompletionContentPartInputAudioParam",
|
|
534
|
-
"ChatCompletionContentPartRefusalParam",
|
|
535
|
-
"ChatCompletionContentPartTextParam",
|
|
536
|
-
"ChatCompletionCustomToolParam",
|
|
537
|
-
"ChatCompletionDeveloperMessageParam",
|
|
538
|
-
"ChatCompletionDeveloperMessageParamContent",
|
|
539
|
-
"ChatCompletionFunctionCallOptionParam",
|
|
540
|
-
"ChatCompletionFunctionMessageParam",
|
|
541
|
-
"ChatCompletionFunctionToolParam",
|
|
542
|
-
"ChatCompletionMessageCustomToolCallParam",
|
|
543
|
-
"ChatCompletionMessageFunctionToolCallInput",
|
|
544
|
-
"ChatCompletionMessageFunctionToolCallOutput",
|
|
545
|
-
"ChatCompletionMessageFunctionToolCallParam",
|
|
546
|
-
"ChatCompletionNamedToolChoiceCustomParam",
|
|
547
|
-
"ChatCompletionNamedToolChoiceParam",
|
|
548
|
-
"ChatCompletionPredictionContentParam",
|
|
549
|
-
"ChatCompletionPredictionContentParamContent",
|
|
550
|
-
"ChatCompletionStreamOptionsParam",
|
|
551
|
-
"ChatCompletionSystemMessageParam",
|
|
552
|
-
"ChatCompletionSystemMessageParamContent",
|
|
553
|
-
"ChatCompletionToolMessageParam",
|
|
554
|
-
"ChatCompletionToolMessageParamContent",
|
|
555
|
-
"ChatCompletionUserMessageParam",
|
|
556
|
-
"ChatCompletionUserMessageParamContent",
|
|
557
|
-
"ChatCompletionUserMessageParamContentItem",
|
|
435
|
+
"ChatCompletionMessageFunctionToolCall",
|
|
558
436
|
"ChildToolRule",
|
|
559
437
|
"ChildToolRuleSchema",
|
|
560
438
|
"ClientSideAccessTokensCreateRequestPolicyItem",
|
|
@@ -569,30 +447,6 @@ __all__ = [
|
|
|
569
447
|
"ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItem",
|
|
570
448
|
"ClientSideAccessTokensListClientSideAccessTokensResponseTokensItemPolicyDataItemAccessItem",
|
|
571
449
|
"CodeInput",
|
|
572
|
-
"CompletionCreateParamsNonStreaming",
|
|
573
|
-
"CompletionCreateParamsNonStreamingFunctionCall",
|
|
574
|
-
"CompletionCreateParamsNonStreamingMessagesItem",
|
|
575
|
-
"CompletionCreateParamsNonStreamingModalitiesItem",
|
|
576
|
-
"CompletionCreateParamsNonStreamingModel",
|
|
577
|
-
"CompletionCreateParamsNonStreamingReasoningEffort",
|
|
578
|
-
"CompletionCreateParamsNonStreamingResponseFormat",
|
|
579
|
-
"CompletionCreateParamsNonStreamingServiceTier",
|
|
580
|
-
"CompletionCreateParamsNonStreamingStop",
|
|
581
|
-
"CompletionCreateParamsNonStreamingToolChoice",
|
|
582
|
-
"CompletionCreateParamsNonStreamingToolsItem",
|
|
583
|
-
"CompletionCreateParamsNonStreamingVerbosity",
|
|
584
|
-
"CompletionCreateParamsStreaming",
|
|
585
|
-
"CompletionCreateParamsStreamingFunctionCall",
|
|
586
|
-
"CompletionCreateParamsStreamingMessagesItem",
|
|
587
|
-
"CompletionCreateParamsStreamingModalitiesItem",
|
|
588
|
-
"CompletionCreateParamsStreamingModel",
|
|
589
|
-
"CompletionCreateParamsStreamingReasoningEffort",
|
|
590
|
-
"CompletionCreateParamsStreamingResponseFormat",
|
|
591
|
-
"CompletionCreateParamsStreamingServiceTier",
|
|
592
|
-
"CompletionCreateParamsStreamingStop",
|
|
593
|
-
"CompletionCreateParamsStreamingToolChoice",
|
|
594
|
-
"CompletionCreateParamsStreamingToolsItem",
|
|
595
|
-
"CompletionCreateParamsStreamingVerbosity",
|
|
596
450
|
"ComponentsSchemasTextContent",
|
|
597
451
|
"ConditionalToolRule",
|
|
598
452
|
"ConditionalToolRuleSchema",
|
|
@@ -606,10 +460,6 @@ __all__ = [
|
|
|
606
460
|
"CreateAgentRequestResponseFormat",
|
|
607
461
|
"CreateAgentRequestToolRulesItem",
|
|
608
462
|
"CreateBlock",
|
|
609
|
-
"CustomFormatGrammar",
|
|
610
|
-
"CustomFormatGrammarGrammar",
|
|
611
|
-
"CustomFormatGrammarGrammarSyntax",
|
|
612
|
-
"CustomFormatText",
|
|
613
463
|
"DeleteDeploymentResponse",
|
|
614
464
|
"DeleteMcpServerResponseItem",
|
|
615
465
|
"DeploymentEntity",
|
|
@@ -620,20 +470,16 @@ __all__ = [
|
|
|
620
470
|
"EmbeddingConfig",
|
|
621
471
|
"EmbeddingConfigEmbeddingEndpointType",
|
|
622
472
|
"FeedbackType",
|
|
623
|
-
"File",
|
|
624
473
|
"FileAgentSchema",
|
|
625
474
|
"FileBlock",
|
|
626
|
-
"FileFile",
|
|
627
475
|
"FileMetadata",
|
|
628
476
|
"FileProcessingStatus",
|
|
629
477
|
"FileSchema",
|
|
630
478
|
"FileStats",
|
|
631
479
|
"Folder",
|
|
632
480
|
"FoldersListRequestOrder",
|
|
633
|
-
"
|
|
634
|
-
"
|
|
635
|
-
"FunctionDefinitionOutput",
|
|
636
|
-
"FunctionOutput",
|
|
481
|
+
"Function",
|
|
482
|
+
"FunctionDefinition",
|
|
637
483
|
"FunctionTool",
|
|
638
484
|
"GenerateToolInput",
|
|
639
485
|
"GenerateToolOutput",
|
|
@@ -655,12 +501,8 @@ __all__ = [
|
|
|
655
501
|
"IdentityType",
|
|
656
502
|
"ImageContent",
|
|
657
503
|
"ImageContentSource",
|
|
658
|
-
"ImageUrl",
|
|
659
|
-
"ImageUrlDetail",
|
|
660
504
|
"ImportedAgentsResponse",
|
|
661
505
|
"InitToolRule",
|
|
662
|
-
"InputAudio",
|
|
663
|
-
"InputAudioFormat",
|
|
664
506
|
"InternalServerError",
|
|
665
507
|
"InternalServerErrorBody",
|
|
666
508
|
"InternalTemplateAgentCreate",
|
|
@@ -673,7 +515,6 @@ __all__ = [
|
|
|
673
515
|
"JobStatus",
|
|
674
516
|
"JobType",
|
|
675
517
|
"JsonObjectResponseFormat",
|
|
676
|
-
"JsonSchema",
|
|
677
518
|
"JsonSchemaResponseFormat",
|
|
678
519
|
"Letta",
|
|
679
520
|
"LettaBatchMessages",
|
|
@@ -737,14 +578,6 @@ __all__ = [
|
|
|
737
578
|
"NotFoundErrorBody",
|
|
738
579
|
"NpmRequirement",
|
|
739
580
|
"OmittedReasoningContent",
|
|
740
|
-
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
741
|
-
"OpenaiTypesChatChatCompletionCustomToolParamCustomFormat",
|
|
742
|
-
"OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom",
|
|
743
|
-
"OpenaiTypesChatChatCompletionMessageFunctionToolCallFunction",
|
|
744
|
-
"OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction",
|
|
745
|
-
"OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom",
|
|
746
|
-
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
747
|
-
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
748
581
|
"Organization",
|
|
749
582
|
"OrganizationCreate",
|
|
750
583
|
"OrganizationSourcesStats",
|
|
@@ -770,9 +603,6 @@ __all__ = [
|
|
|
770
603
|
"RedactedReasoningContent",
|
|
771
604
|
"RequiredBeforeExitToolRule",
|
|
772
605
|
"RequiresApprovalToolRule",
|
|
773
|
-
"ResponseFormatJsonObject",
|
|
774
|
-
"ResponseFormatJsonSchema",
|
|
775
|
-
"ResponseFormatText",
|
|
776
606
|
"RoundRobinManager",
|
|
777
607
|
"RoundRobinManagerUpdate",
|
|
778
608
|
"Run",
|
|
@@ -803,6 +633,8 @@ __all__ = [
|
|
|
803
633
|
"StopReasonType",
|
|
804
634
|
"StreamableHttpServerConfig",
|
|
805
635
|
"StreamingResponse",
|
|
636
|
+
"SummarizedReasoningContent",
|
|
637
|
+
"SummarizedReasoningContentPart",
|
|
806
638
|
"SupervisorManager",
|
|
807
639
|
"SupervisorManagerUpdate",
|
|
808
640
|
"SystemMessage",
|
|
@@ -897,10 +729,6 @@ __all__ = [
|
|
|
897
729
|
"VectorDbProvider",
|
|
898
730
|
"VoiceSleeptimeManager",
|
|
899
731
|
"VoiceSleeptimeManagerUpdate",
|
|
900
|
-
"WebSearchOptions",
|
|
901
|
-
"WebSearchOptionsSearchContextSize",
|
|
902
|
-
"WebSearchOptionsUserLocation",
|
|
903
|
-
"WebSearchOptionsUserLocationApproximate",
|
|
904
732
|
"__version__",
|
|
905
733
|
"agents",
|
|
906
734
|
"archives",
|
|
@@ -24,10 +24,10 @@ class BaseClientWrapper:
|
|
|
24
24
|
|
|
25
25
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
26
26
|
headers: typing.Dict[str, str] = {
|
|
27
|
-
"User-Agent": "letta-client/0.1.
|
|
27
|
+
"User-Agent": "letta-client/0.1.323",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.323",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|