letta-client 0.1.265__py3-none-any.whl → 0.1.267__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 +48 -8
- letta_client/core/client_wrapper.py +2 -2
- letta_client/types/__init__.py +57 -9
- letta_client/types/chat_completion_allowed_tool_choice_param.py +22 -0
- letta_client/types/chat_completion_allowed_tools_param.py +22 -0
- letta_client/types/chat_completion_allowed_tools_param_mode.py +5 -0
- letta_client/types/chat_completion_assistant_message_param.py +2 -2
- letta_client/types/chat_completion_assistant_message_param_tool_calls_item.py +10 -0
- letta_client/types/chat_completion_custom_tool_param.py +24 -0
- letta_client/types/{chat_completion_tool_param.py → chat_completion_function_tool_param.py} +1 -1
- letta_client/types/chat_completion_message_custom_tool_call_param.py +25 -0
- letta_client/types/{chat_completion_message_tool_call.py → chat_completion_message_function_tool_call.py} +1 -1
- letta_client/types/{chat_completion_message_tool_call_param.py → chat_completion_message_function_tool_call_param.py} +4 -4
- letta_client/types/chat_completion_named_tool_choice_custom_param.py +24 -0
- letta_client/types/chat_completion_stream_options_param.py +1 -0
- letta_client/types/completion_create_params_non_streaming.py +4 -2
- letta_client/types/completion_create_params_non_streaming_model.py +7 -0
- letta_client/types/completion_create_params_non_streaming_reasoning_effort.py +3 -1
- letta_client/types/completion_create_params_non_streaming_tool_choice.py +8 -1
- letta_client/types/completion_create_params_non_streaming_tools_item.py +10 -0
- letta_client/types/completion_create_params_non_streaming_verbosity.py +5 -0
- letta_client/types/completion_create_params_streaming.py +4 -2
- letta_client/types/completion_create_params_streaming_model.py +7 -0
- letta_client/types/completion_create_params_streaming_reasoning_effort.py +3 -1
- letta_client/types/completion_create_params_streaming_tool_choice.py +8 -1
- letta_client/types/completion_create_params_streaming_tools_item.py +8 -0
- letta_client/types/completion_create_params_streaming_verbosity.py +5 -0
- letta_client/types/custom_format_grammar.py +22 -0
- letta_client/types/custom_format_grammar_grammar.py +22 -0
- letta_client/types/custom_format_grammar_grammar_syntax.py +5 -0
- letta_client/types/custom_format_text.py +20 -0
- letta_client/types/llm_config.py +6 -0
- letta_client/types/llm_config_verbosity.py +5 -0
- letta_client/types/message.py +2 -2
- letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py +25 -0
- letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom_format.py +8 -0
- letta_client/types/openai_types_chat_chat_completion_message_custom_tool_call_param_custom.py +21 -0
- letta_client/types/{openai_types_chat_chat_completion_message_tool_call_param_function.py → openai_types_chat_chat_completion_message_function_tool_call_param_function.py} +1 -1
- letta_client/types/openai_types_chat_chat_completion_named_tool_choice_custom_param_custom.py +20 -0
- {letta_client-0.1.265.dist-info → letta_client-0.1.267.dist-info}/METADATA +1 -1
- {letta_client-0.1.265.dist-info → letta_client-0.1.267.dist-info}/RECORD +42 -22
- {letta_client-0.1.265.dist-info → letta_client-0.1.267.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -29,9 +29,13 @@ from .types import (
|
|
|
29
29
|
BlockSchema,
|
|
30
30
|
BlockUpdate,
|
|
31
31
|
BodyExportAgentSerialized,
|
|
32
|
+
ChatCompletionAllowedToolChoiceParam,
|
|
33
|
+
ChatCompletionAllowedToolsParam,
|
|
34
|
+
ChatCompletionAllowedToolsParamMode,
|
|
32
35
|
ChatCompletionAssistantMessageParam,
|
|
33
36
|
ChatCompletionAssistantMessageParamContent,
|
|
34
37
|
ChatCompletionAssistantMessageParamContentItem,
|
|
38
|
+
ChatCompletionAssistantMessageParamToolCallsItem,
|
|
35
39
|
ChatCompletionAudioParam,
|
|
36
40
|
ChatCompletionAudioParamFormat,
|
|
37
41
|
ChatCompletionAudioParamVoice,
|
|
@@ -39,12 +43,16 @@ from .types import (
|
|
|
39
43
|
ChatCompletionContentPartInputAudioParam,
|
|
40
44
|
ChatCompletionContentPartRefusalParam,
|
|
41
45
|
ChatCompletionContentPartTextParam,
|
|
46
|
+
ChatCompletionCustomToolParam,
|
|
42
47
|
ChatCompletionDeveloperMessageParam,
|
|
43
48
|
ChatCompletionDeveloperMessageParamContent,
|
|
44
49
|
ChatCompletionFunctionCallOptionParam,
|
|
45
50
|
ChatCompletionFunctionMessageParam,
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
ChatCompletionFunctionToolParam,
|
|
52
|
+
ChatCompletionMessageCustomToolCallParam,
|
|
53
|
+
ChatCompletionMessageFunctionToolCall,
|
|
54
|
+
ChatCompletionMessageFunctionToolCallParam,
|
|
55
|
+
ChatCompletionNamedToolChoiceCustomParam,
|
|
48
56
|
ChatCompletionNamedToolChoiceParam,
|
|
49
57
|
ChatCompletionPredictionContentParam,
|
|
50
58
|
ChatCompletionPredictionContentParamContent,
|
|
@@ -53,7 +61,6 @@ from .types import (
|
|
|
53
61
|
ChatCompletionSystemMessageParamContent,
|
|
54
62
|
ChatCompletionToolMessageParam,
|
|
55
63
|
ChatCompletionToolMessageParamContent,
|
|
56
|
-
ChatCompletionToolParam,
|
|
57
64
|
ChatCompletionUserMessageParam,
|
|
58
65
|
ChatCompletionUserMessageParamContent,
|
|
59
66
|
ChatCompletionUserMessageParamContentItem,
|
|
@@ -70,6 +77,8 @@ from .types import (
|
|
|
70
77
|
CompletionCreateParamsNonStreamingServiceTier,
|
|
71
78
|
CompletionCreateParamsNonStreamingStop,
|
|
72
79
|
CompletionCreateParamsNonStreamingToolChoice,
|
|
80
|
+
CompletionCreateParamsNonStreamingToolsItem,
|
|
81
|
+
CompletionCreateParamsNonStreamingVerbosity,
|
|
73
82
|
CompletionCreateParamsStreaming,
|
|
74
83
|
CompletionCreateParamsStreamingFunctionCall,
|
|
75
84
|
CompletionCreateParamsStreamingMessagesItem,
|
|
@@ -80,6 +89,8 @@ from .types import (
|
|
|
80
89
|
CompletionCreateParamsStreamingServiceTier,
|
|
81
90
|
CompletionCreateParamsStreamingStop,
|
|
82
91
|
CompletionCreateParamsStreamingToolChoice,
|
|
92
|
+
CompletionCreateParamsStreamingToolsItem,
|
|
93
|
+
CompletionCreateParamsStreamingVerbosity,
|
|
83
94
|
ComponentsSchemasTextContent,
|
|
84
95
|
ConditionalToolRule,
|
|
85
96
|
ConditionalToolRuleSchema,
|
|
@@ -88,6 +99,10 @@ from .types import (
|
|
|
88
99
|
ContinueToolRule,
|
|
89
100
|
CoreMemoryBlockSchema,
|
|
90
101
|
CreateBlock,
|
|
102
|
+
CustomFormatGrammar,
|
|
103
|
+
CustomFormatGrammarGrammar,
|
|
104
|
+
CustomFormatGrammarGrammarSyntax,
|
|
105
|
+
CustomFormatText,
|
|
91
106
|
DuplicateFileHandling,
|
|
92
107
|
DynamicManager,
|
|
93
108
|
DynamicManagerUpdate,
|
|
@@ -165,6 +180,7 @@ from .types import (
|
|
|
165
180
|
LlmConfigCompatibilityType,
|
|
166
181
|
LlmConfigModelEndpointType,
|
|
167
182
|
LlmConfigReasoningEffort,
|
|
183
|
+
LlmConfigVerbosity,
|
|
168
184
|
LocalSandboxConfig,
|
|
169
185
|
ManagerType,
|
|
170
186
|
MaxCountPerStepToolRule,
|
|
@@ -188,7 +204,11 @@ from .types import (
|
|
|
188
204
|
NotFoundErrorBodyMessage,
|
|
189
205
|
NpmRequirement,
|
|
190
206
|
OmittedReasoningContent,
|
|
191
|
-
|
|
207
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
208
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
209
|
+
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
210
|
+
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
211
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
192
212
|
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
193
213
|
OpenaiTypesChatCompletionCreateParamsFunction,
|
|
194
214
|
Organization,
|
|
@@ -412,9 +432,13 @@ __all__ = [
|
|
|
412
432
|
"BlockSchema",
|
|
413
433
|
"BlockUpdate",
|
|
414
434
|
"BodyExportAgentSerialized",
|
|
435
|
+
"ChatCompletionAllowedToolChoiceParam",
|
|
436
|
+
"ChatCompletionAllowedToolsParam",
|
|
437
|
+
"ChatCompletionAllowedToolsParamMode",
|
|
415
438
|
"ChatCompletionAssistantMessageParam",
|
|
416
439
|
"ChatCompletionAssistantMessageParamContent",
|
|
417
440
|
"ChatCompletionAssistantMessageParamContentItem",
|
|
441
|
+
"ChatCompletionAssistantMessageParamToolCallsItem",
|
|
418
442
|
"ChatCompletionAudioParam",
|
|
419
443
|
"ChatCompletionAudioParamFormat",
|
|
420
444
|
"ChatCompletionAudioParamVoice",
|
|
@@ -422,12 +446,16 @@ __all__ = [
|
|
|
422
446
|
"ChatCompletionContentPartInputAudioParam",
|
|
423
447
|
"ChatCompletionContentPartRefusalParam",
|
|
424
448
|
"ChatCompletionContentPartTextParam",
|
|
449
|
+
"ChatCompletionCustomToolParam",
|
|
425
450
|
"ChatCompletionDeveloperMessageParam",
|
|
426
451
|
"ChatCompletionDeveloperMessageParamContent",
|
|
427
452
|
"ChatCompletionFunctionCallOptionParam",
|
|
428
453
|
"ChatCompletionFunctionMessageParam",
|
|
429
|
-
"
|
|
430
|
-
"
|
|
454
|
+
"ChatCompletionFunctionToolParam",
|
|
455
|
+
"ChatCompletionMessageCustomToolCallParam",
|
|
456
|
+
"ChatCompletionMessageFunctionToolCall",
|
|
457
|
+
"ChatCompletionMessageFunctionToolCallParam",
|
|
458
|
+
"ChatCompletionNamedToolChoiceCustomParam",
|
|
431
459
|
"ChatCompletionNamedToolChoiceParam",
|
|
432
460
|
"ChatCompletionPredictionContentParam",
|
|
433
461
|
"ChatCompletionPredictionContentParamContent",
|
|
@@ -436,7 +464,6 @@ __all__ = [
|
|
|
436
464
|
"ChatCompletionSystemMessageParamContent",
|
|
437
465
|
"ChatCompletionToolMessageParam",
|
|
438
466
|
"ChatCompletionToolMessageParamContent",
|
|
439
|
-
"ChatCompletionToolParam",
|
|
440
467
|
"ChatCompletionUserMessageParam",
|
|
441
468
|
"ChatCompletionUserMessageParamContent",
|
|
442
469
|
"ChatCompletionUserMessageParamContentItem",
|
|
@@ -464,6 +491,8 @@ __all__ = [
|
|
|
464
491
|
"CompletionCreateParamsNonStreamingServiceTier",
|
|
465
492
|
"CompletionCreateParamsNonStreamingStop",
|
|
466
493
|
"CompletionCreateParamsNonStreamingToolChoice",
|
|
494
|
+
"CompletionCreateParamsNonStreamingToolsItem",
|
|
495
|
+
"CompletionCreateParamsNonStreamingVerbosity",
|
|
467
496
|
"CompletionCreateParamsStreaming",
|
|
468
497
|
"CompletionCreateParamsStreamingFunctionCall",
|
|
469
498
|
"CompletionCreateParamsStreamingMessagesItem",
|
|
@@ -474,6 +503,8 @@ __all__ = [
|
|
|
474
503
|
"CompletionCreateParamsStreamingServiceTier",
|
|
475
504
|
"CompletionCreateParamsStreamingStop",
|
|
476
505
|
"CompletionCreateParamsStreamingToolChoice",
|
|
506
|
+
"CompletionCreateParamsStreamingToolsItem",
|
|
507
|
+
"CompletionCreateParamsStreamingVerbosity",
|
|
477
508
|
"ComponentsSchemasTextContent",
|
|
478
509
|
"ConditionalToolRule",
|
|
479
510
|
"ConditionalToolRuleSchema",
|
|
@@ -487,6 +518,10 @@ __all__ = [
|
|
|
487
518
|
"CreateAgentRequestResponseFormat",
|
|
488
519
|
"CreateAgentRequestToolRulesItem",
|
|
489
520
|
"CreateBlock",
|
|
521
|
+
"CustomFormatGrammar",
|
|
522
|
+
"CustomFormatGrammarGrammar",
|
|
523
|
+
"CustomFormatGrammarGrammarSyntax",
|
|
524
|
+
"CustomFormatText",
|
|
490
525
|
"DeleteMcpServerResponseItem",
|
|
491
526
|
"DuplicateFileHandling",
|
|
492
527
|
"DynamicManager",
|
|
@@ -571,6 +606,7 @@ __all__ = [
|
|
|
571
606
|
"LlmConfigCompatibilityType",
|
|
572
607
|
"LlmConfigModelEndpointType",
|
|
573
608
|
"LlmConfigReasoningEffort",
|
|
609
|
+
"LlmConfigVerbosity",
|
|
574
610
|
"LocalSandboxConfig",
|
|
575
611
|
"ManagerType",
|
|
576
612
|
"MaxCountPerStepToolRule",
|
|
@@ -595,7 +631,11 @@ __all__ = [
|
|
|
595
631
|
"NotFoundErrorBodyMessage",
|
|
596
632
|
"NpmRequirement",
|
|
597
633
|
"OmittedReasoningContent",
|
|
598
|
-
"
|
|
634
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
635
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustomFormat",
|
|
636
|
+
"OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom",
|
|
637
|
+
"OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction",
|
|
638
|
+
"OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom",
|
|
599
639
|
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
600
640
|
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
601
641
|
"Organization",
|
|
@@ -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.267",
|
|
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.267",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
letta_client/types/__init__.py
CHANGED
|
@@ -28,9 +28,13 @@ from .block import Block
|
|
|
28
28
|
from .block_schema import BlockSchema
|
|
29
29
|
from .block_update import BlockUpdate
|
|
30
30
|
from .body_export_agent_serialized import BodyExportAgentSerialized
|
|
31
|
+
from .chat_completion_allowed_tool_choice_param import ChatCompletionAllowedToolChoiceParam
|
|
32
|
+
from .chat_completion_allowed_tools_param import ChatCompletionAllowedToolsParam
|
|
33
|
+
from .chat_completion_allowed_tools_param_mode import ChatCompletionAllowedToolsParamMode
|
|
31
34
|
from .chat_completion_assistant_message_param import ChatCompletionAssistantMessageParam
|
|
32
35
|
from .chat_completion_assistant_message_param_content import ChatCompletionAssistantMessageParamContent
|
|
33
36
|
from .chat_completion_assistant_message_param_content_item import ChatCompletionAssistantMessageParamContentItem
|
|
37
|
+
from .chat_completion_assistant_message_param_tool_calls_item import ChatCompletionAssistantMessageParamToolCallsItem
|
|
34
38
|
from .chat_completion_audio_param import ChatCompletionAudioParam
|
|
35
39
|
from .chat_completion_audio_param_format import ChatCompletionAudioParamFormat
|
|
36
40
|
from .chat_completion_audio_param_voice import ChatCompletionAudioParamVoice
|
|
@@ -38,12 +42,16 @@ from .chat_completion_content_part_image_param import ChatCompletionContentPartI
|
|
|
38
42
|
from .chat_completion_content_part_input_audio_param import ChatCompletionContentPartInputAudioParam
|
|
39
43
|
from .chat_completion_content_part_refusal_param import ChatCompletionContentPartRefusalParam
|
|
40
44
|
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
|
|
45
|
+
from .chat_completion_custom_tool_param import ChatCompletionCustomToolParam
|
|
41
46
|
from .chat_completion_developer_message_param import ChatCompletionDeveloperMessageParam
|
|
42
47
|
from .chat_completion_developer_message_param_content import ChatCompletionDeveloperMessageParamContent
|
|
43
48
|
from .chat_completion_function_call_option_param import ChatCompletionFunctionCallOptionParam
|
|
44
49
|
from .chat_completion_function_message_param import ChatCompletionFunctionMessageParam
|
|
45
|
-
from .
|
|
46
|
-
from .
|
|
50
|
+
from .chat_completion_function_tool_param import ChatCompletionFunctionToolParam
|
|
51
|
+
from .chat_completion_message_custom_tool_call_param import ChatCompletionMessageCustomToolCallParam
|
|
52
|
+
from .chat_completion_message_function_tool_call import ChatCompletionMessageFunctionToolCall
|
|
53
|
+
from .chat_completion_message_function_tool_call_param import ChatCompletionMessageFunctionToolCallParam
|
|
54
|
+
from .chat_completion_named_tool_choice_custom_param import ChatCompletionNamedToolChoiceCustomParam
|
|
47
55
|
from .chat_completion_named_tool_choice_param import ChatCompletionNamedToolChoiceParam
|
|
48
56
|
from .chat_completion_prediction_content_param import ChatCompletionPredictionContentParam
|
|
49
57
|
from .chat_completion_prediction_content_param_content import ChatCompletionPredictionContentParamContent
|
|
@@ -52,7 +60,6 @@ from .chat_completion_system_message_param import ChatCompletionSystemMessagePar
|
|
|
52
60
|
from .chat_completion_system_message_param_content import ChatCompletionSystemMessageParamContent
|
|
53
61
|
from .chat_completion_tool_message_param import ChatCompletionToolMessageParam
|
|
54
62
|
from .chat_completion_tool_message_param_content import ChatCompletionToolMessageParamContent
|
|
55
|
-
from .chat_completion_tool_param import ChatCompletionToolParam
|
|
56
63
|
from .chat_completion_user_message_param import ChatCompletionUserMessageParam
|
|
57
64
|
from .chat_completion_user_message_param_content import ChatCompletionUserMessageParamContent
|
|
58
65
|
from .chat_completion_user_message_param_content_item import ChatCompletionUserMessageParamContentItem
|
|
@@ -69,6 +76,8 @@ from .completion_create_params_non_streaming_response_format import CompletionCr
|
|
|
69
76
|
from .completion_create_params_non_streaming_service_tier import CompletionCreateParamsNonStreamingServiceTier
|
|
70
77
|
from .completion_create_params_non_streaming_stop import CompletionCreateParamsNonStreamingStop
|
|
71
78
|
from .completion_create_params_non_streaming_tool_choice import CompletionCreateParamsNonStreamingToolChoice
|
|
79
|
+
from .completion_create_params_non_streaming_tools_item import CompletionCreateParamsNonStreamingToolsItem
|
|
80
|
+
from .completion_create_params_non_streaming_verbosity import CompletionCreateParamsNonStreamingVerbosity
|
|
72
81
|
from .completion_create_params_streaming import CompletionCreateParamsStreaming
|
|
73
82
|
from .completion_create_params_streaming_function_call import CompletionCreateParamsStreamingFunctionCall
|
|
74
83
|
from .completion_create_params_streaming_messages_item import CompletionCreateParamsStreamingMessagesItem
|
|
@@ -79,6 +88,8 @@ from .completion_create_params_streaming_response_format import CompletionCreate
|
|
|
79
88
|
from .completion_create_params_streaming_service_tier import CompletionCreateParamsStreamingServiceTier
|
|
80
89
|
from .completion_create_params_streaming_stop import CompletionCreateParamsStreamingStop
|
|
81
90
|
from .completion_create_params_streaming_tool_choice import CompletionCreateParamsStreamingToolChoice
|
|
91
|
+
from .completion_create_params_streaming_tools_item import CompletionCreateParamsStreamingToolsItem
|
|
92
|
+
from .completion_create_params_streaming_verbosity import CompletionCreateParamsStreamingVerbosity
|
|
82
93
|
from .components_schemas_text_content import ComponentsSchemasTextContent
|
|
83
94
|
from .conditional_tool_rule import ConditionalToolRule
|
|
84
95
|
from .conditional_tool_rule_schema import ConditionalToolRuleSchema
|
|
@@ -87,6 +98,10 @@ from .context_window_overview import ContextWindowOverview
|
|
|
87
98
|
from .continue_tool_rule import ContinueToolRule
|
|
88
99
|
from .core_memory_block_schema import CoreMemoryBlockSchema
|
|
89
100
|
from .create_block import CreateBlock
|
|
101
|
+
from .custom_format_grammar import CustomFormatGrammar
|
|
102
|
+
from .custom_format_grammar_grammar import CustomFormatGrammarGrammar
|
|
103
|
+
from .custom_format_grammar_grammar_syntax import CustomFormatGrammarGrammarSyntax
|
|
104
|
+
from .custom_format_text import CustomFormatText
|
|
90
105
|
from .duplicate_file_handling import DuplicateFileHandling
|
|
91
106
|
from .dynamic_manager import DynamicManager
|
|
92
107
|
from .dynamic_manager_update import DynamicManagerUpdate
|
|
@@ -172,6 +187,7 @@ from .llm_config import LlmConfig
|
|
|
172
187
|
from .llm_config_compatibility_type import LlmConfigCompatibilityType
|
|
173
188
|
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
174
189
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
190
|
+
from .llm_config_verbosity import LlmConfigVerbosity
|
|
175
191
|
from .local_sandbox_config import LocalSandboxConfig
|
|
176
192
|
from .manager_type import ManagerType
|
|
177
193
|
from .max_count_per_step_tool_rule import MaxCountPerStepToolRule
|
|
@@ -195,8 +211,20 @@ from .not_found_error_body import NotFoundErrorBody
|
|
|
195
211
|
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
196
212
|
from .npm_requirement import NpmRequirement
|
|
197
213
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
198
|
-
from .
|
|
199
|
-
|
|
214
|
+
from .openai_types_chat_chat_completion_custom_tool_param_custom import (
|
|
215
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
216
|
+
)
|
|
217
|
+
from .openai_types_chat_chat_completion_custom_tool_param_custom_format import (
|
|
218
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
219
|
+
)
|
|
220
|
+
from .openai_types_chat_chat_completion_message_custom_tool_call_param_custom import (
|
|
221
|
+
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
222
|
+
)
|
|
223
|
+
from .openai_types_chat_chat_completion_message_function_tool_call_param_function import (
|
|
224
|
+
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
225
|
+
)
|
|
226
|
+
from .openai_types_chat_chat_completion_named_tool_choice_custom_param_custom import (
|
|
227
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
200
228
|
)
|
|
201
229
|
from .openai_types_chat_chat_completion_named_tool_choice_param_function import (
|
|
202
230
|
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
@@ -328,9 +356,13 @@ __all__ = [
|
|
|
328
356
|
"BlockSchema",
|
|
329
357
|
"BlockUpdate",
|
|
330
358
|
"BodyExportAgentSerialized",
|
|
359
|
+
"ChatCompletionAllowedToolChoiceParam",
|
|
360
|
+
"ChatCompletionAllowedToolsParam",
|
|
361
|
+
"ChatCompletionAllowedToolsParamMode",
|
|
331
362
|
"ChatCompletionAssistantMessageParam",
|
|
332
363
|
"ChatCompletionAssistantMessageParamContent",
|
|
333
364
|
"ChatCompletionAssistantMessageParamContentItem",
|
|
365
|
+
"ChatCompletionAssistantMessageParamToolCallsItem",
|
|
334
366
|
"ChatCompletionAudioParam",
|
|
335
367
|
"ChatCompletionAudioParamFormat",
|
|
336
368
|
"ChatCompletionAudioParamVoice",
|
|
@@ -338,12 +370,16 @@ __all__ = [
|
|
|
338
370
|
"ChatCompletionContentPartInputAudioParam",
|
|
339
371
|
"ChatCompletionContentPartRefusalParam",
|
|
340
372
|
"ChatCompletionContentPartTextParam",
|
|
373
|
+
"ChatCompletionCustomToolParam",
|
|
341
374
|
"ChatCompletionDeveloperMessageParam",
|
|
342
375
|
"ChatCompletionDeveloperMessageParamContent",
|
|
343
376
|
"ChatCompletionFunctionCallOptionParam",
|
|
344
377
|
"ChatCompletionFunctionMessageParam",
|
|
345
|
-
"
|
|
346
|
-
"
|
|
378
|
+
"ChatCompletionFunctionToolParam",
|
|
379
|
+
"ChatCompletionMessageCustomToolCallParam",
|
|
380
|
+
"ChatCompletionMessageFunctionToolCall",
|
|
381
|
+
"ChatCompletionMessageFunctionToolCallParam",
|
|
382
|
+
"ChatCompletionNamedToolChoiceCustomParam",
|
|
347
383
|
"ChatCompletionNamedToolChoiceParam",
|
|
348
384
|
"ChatCompletionPredictionContentParam",
|
|
349
385
|
"ChatCompletionPredictionContentParamContent",
|
|
@@ -352,7 +388,6 @@ __all__ = [
|
|
|
352
388
|
"ChatCompletionSystemMessageParamContent",
|
|
353
389
|
"ChatCompletionToolMessageParam",
|
|
354
390
|
"ChatCompletionToolMessageParamContent",
|
|
355
|
-
"ChatCompletionToolParam",
|
|
356
391
|
"ChatCompletionUserMessageParam",
|
|
357
392
|
"ChatCompletionUserMessageParamContent",
|
|
358
393
|
"ChatCompletionUserMessageParamContentItem",
|
|
@@ -369,6 +404,8 @@ __all__ = [
|
|
|
369
404
|
"CompletionCreateParamsNonStreamingServiceTier",
|
|
370
405
|
"CompletionCreateParamsNonStreamingStop",
|
|
371
406
|
"CompletionCreateParamsNonStreamingToolChoice",
|
|
407
|
+
"CompletionCreateParamsNonStreamingToolsItem",
|
|
408
|
+
"CompletionCreateParamsNonStreamingVerbosity",
|
|
372
409
|
"CompletionCreateParamsStreaming",
|
|
373
410
|
"CompletionCreateParamsStreamingFunctionCall",
|
|
374
411
|
"CompletionCreateParamsStreamingMessagesItem",
|
|
@@ -379,6 +416,8 @@ __all__ = [
|
|
|
379
416
|
"CompletionCreateParamsStreamingServiceTier",
|
|
380
417
|
"CompletionCreateParamsStreamingStop",
|
|
381
418
|
"CompletionCreateParamsStreamingToolChoice",
|
|
419
|
+
"CompletionCreateParamsStreamingToolsItem",
|
|
420
|
+
"CompletionCreateParamsStreamingVerbosity",
|
|
382
421
|
"ComponentsSchemasTextContent",
|
|
383
422
|
"ConditionalToolRule",
|
|
384
423
|
"ConditionalToolRuleSchema",
|
|
@@ -387,6 +426,10 @@ __all__ = [
|
|
|
387
426
|
"ContinueToolRule",
|
|
388
427
|
"CoreMemoryBlockSchema",
|
|
389
428
|
"CreateBlock",
|
|
429
|
+
"CustomFormatGrammar",
|
|
430
|
+
"CustomFormatGrammarGrammar",
|
|
431
|
+
"CustomFormatGrammarGrammarSyntax",
|
|
432
|
+
"CustomFormatText",
|
|
390
433
|
"DuplicateFileHandling",
|
|
391
434
|
"DynamicManager",
|
|
392
435
|
"DynamicManagerUpdate",
|
|
@@ -464,6 +507,7 @@ __all__ = [
|
|
|
464
507
|
"LlmConfigCompatibilityType",
|
|
465
508
|
"LlmConfigModelEndpointType",
|
|
466
509
|
"LlmConfigReasoningEffort",
|
|
510
|
+
"LlmConfigVerbosity",
|
|
467
511
|
"LocalSandboxConfig",
|
|
468
512
|
"ManagerType",
|
|
469
513
|
"MaxCountPerStepToolRule",
|
|
@@ -487,7 +531,11 @@ __all__ = [
|
|
|
487
531
|
"NotFoundErrorBodyMessage",
|
|
488
532
|
"NpmRequirement",
|
|
489
533
|
"OmittedReasoningContent",
|
|
490
|
-
"
|
|
534
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
535
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustomFormat",
|
|
536
|
+
"OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom",
|
|
537
|
+
"OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction",
|
|
538
|
+
"OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom",
|
|
491
539
|
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
492
540
|
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
493
541
|
"Organization",
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .chat_completion_allowed_tools_param import ChatCompletionAllowedToolsParam
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ChatCompletionAllowedToolChoiceParam(UncheckedBaseModel):
|
|
12
|
+
allowed_tools: ChatCompletionAllowedToolsParam
|
|
13
|
+
type: typing.Literal["allowed_tools"] = "allowed_tools"
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .chat_completion_allowed_tools_param_mode import ChatCompletionAllowedToolsParamMode
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ChatCompletionAllowedToolsParam(UncheckedBaseModel):
|
|
12
|
+
mode: ChatCompletionAllowedToolsParamMode
|
|
13
|
+
tools: typing.List[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -7,7 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
|
7
7
|
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .audio import Audio
|
|
9
9
|
from .chat_completion_assistant_message_param_content import ChatCompletionAssistantMessageParamContent
|
|
10
|
-
from .
|
|
10
|
+
from .chat_completion_assistant_message_param_tool_calls_item import ChatCompletionAssistantMessageParamToolCallsItem
|
|
11
11
|
from .function_call import FunctionCall
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ class ChatCompletionAssistantMessageParam(UncheckedBaseModel):
|
|
|
18
18
|
function_call: typing.Optional[FunctionCall] = None
|
|
19
19
|
name: typing.Optional[str] = None
|
|
20
20
|
refusal: typing.Optional[str] = None
|
|
21
|
-
tool_calls: typing.Optional[typing.List[
|
|
21
|
+
tool_calls: typing.Optional[typing.List[ChatCompletionAssistantMessageParamToolCallsItem]] = None
|
|
22
22
|
|
|
23
23
|
if IS_PYDANTIC_V2:
|
|
24
24
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .chat_completion_message_custom_tool_call_param import ChatCompletionMessageCustomToolCallParam
|
|
6
|
+
from .chat_completion_message_function_tool_call_param import ChatCompletionMessageFunctionToolCallParam
|
|
7
|
+
|
|
8
|
+
ChatCompletionAssistantMessageParamToolCallsItem = typing.Union[
|
|
9
|
+
ChatCompletionMessageFunctionToolCallParam, ChatCompletionMessageCustomToolCallParam
|
|
10
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
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 .openai_types_chat_chat_completion_custom_tool_param_custom import (
|
|
9
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ChatCompletionCustomToolParam(UncheckedBaseModel):
|
|
14
|
+
custom: OpenaiTypesChatChatCompletionCustomToolParamCustom
|
|
15
|
+
type: typing.Literal["custom"] = "custom"
|
|
16
|
+
|
|
17
|
+
if IS_PYDANTIC_V2:
|
|
18
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
19
|
+
else:
|
|
20
|
+
|
|
21
|
+
class Config:
|
|
22
|
+
frozen = True
|
|
23
|
+
smart_union = True
|
|
24
|
+
extra = pydantic.Extra.allow
|
|
@@ -8,7 +8,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
from .function_definition_input import FunctionDefinitionInput
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class ChatCompletionFunctionToolParam(UncheckedBaseModel):
|
|
12
12
|
function: FunctionDefinitionInput
|
|
13
13
|
type: typing.Literal["function"] = "function"
|
|
14
14
|
|
|
@@ -0,0 +1,25 @@
|
|
|
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 .openai_types_chat_chat_completion_message_custom_tool_call_param_custom import (
|
|
9
|
+
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ChatCompletionMessageCustomToolCallParam(UncheckedBaseModel):
|
|
14
|
+
id: str
|
|
15
|
+
custom: OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom
|
|
16
|
+
type: typing.Literal["custom"] = "custom"
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -8,7 +8,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
from .function_output import FunctionOutput
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class ChatCompletionMessageFunctionToolCall(UncheckedBaseModel):
|
|
12
12
|
id: str
|
|
13
13
|
function: FunctionOutput
|
|
14
14
|
type: typing.Literal["function"] = "function"
|
|
@@ -5,14 +5,14 @@ import typing
|
|
|
5
5
|
import pydantic
|
|
6
6
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
7
|
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
-
from .
|
|
9
|
-
|
|
8
|
+
from .openai_types_chat_chat_completion_message_function_tool_call_param_function import (
|
|
9
|
+
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
10
10
|
)
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class ChatCompletionMessageFunctionToolCallParam(UncheckedBaseModel):
|
|
14
14
|
id: str
|
|
15
|
-
function:
|
|
15
|
+
function: OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction
|
|
16
16
|
type: typing.Literal["function"] = "function"
|
|
17
17
|
|
|
18
18
|
if IS_PYDANTIC_V2:
|
|
@@ -0,0 +1,24 @@
|
|
|
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 .openai_types_chat_chat_completion_named_tool_choice_custom_param_custom import (
|
|
9
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ChatCompletionNamedToolChoiceCustomParam(UncheckedBaseModel):
|
|
14
|
+
custom: OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom
|
|
15
|
+
type: typing.Literal["custom"] = "custom"
|
|
16
|
+
|
|
17
|
+
if IS_PYDANTIC_V2:
|
|
18
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
19
|
+
else:
|
|
20
|
+
|
|
21
|
+
class Config:
|
|
22
|
+
frozen = True
|
|
23
|
+
smart_union = True
|
|
24
|
+
extra = pydantic.Extra.allow
|
|
@@ -8,7 +8,6 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
from .chat_completion_audio_param import ChatCompletionAudioParam
|
|
9
9
|
from .chat_completion_prediction_content_param import ChatCompletionPredictionContentParam
|
|
10
10
|
from .chat_completion_stream_options_param import ChatCompletionStreamOptionsParam
|
|
11
|
-
from .chat_completion_tool_param import ChatCompletionToolParam
|
|
12
11
|
from .completion_create_params_non_streaming_function_call import CompletionCreateParamsNonStreamingFunctionCall
|
|
13
12
|
from .completion_create_params_non_streaming_messages_item import CompletionCreateParamsNonStreamingMessagesItem
|
|
14
13
|
from .completion_create_params_non_streaming_modalities_item import CompletionCreateParamsNonStreamingModalitiesItem
|
|
@@ -18,6 +17,8 @@ from .completion_create_params_non_streaming_response_format import CompletionCr
|
|
|
18
17
|
from .completion_create_params_non_streaming_service_tier import CompletionCreateParamsNonStreamingServiceTier
|
|
19
18
|
from .completion_create_params_non_streaming_stop import CompletionCreateParamsNonStreamingStop
|
|
20
19
|
from .completion_create_params_non_streaming_tool_choice import CompletionCreateParamsNonStreamingToolChoice
|
|
20
|
+
from .completion_create_params_non_streaming_tools_item import CompletionCreateParamsNonStreamingToolsItem
|
|
21
|
+
from .completion_create_params_non_streaming_verbosity import CompletionCreateParamsNonStreamingVerbosity
|
|
21
22
|
from .openai_types_chat_completion_create_params_function import OpenaiTypesChatCompletionCreateParamsFunction
|
|
22
23
|
from .web_search_options import WebSearchOptions
|
|
23
24
|
|
|
@@ -50,10 +51,11 @@ class CompletionCreateParamsNonStreaming(UncheckedBaseModel):
|
|
|
50
51
|
stream_options: typing.Optional[ChatCompletionStreamOptionsParam] = None
|
|
51
52
|
temperature: typing.Optional[float] = None
|
|
52
53
|
tool_choice: typing.Optional[CompletionCreateParamsNonStreamingToolChoice] = None
|
|
53
|
-
tools: typing.Optional[typing.List[
|
|
54
|
+
tools: typing.Optional[typing.List[CompletionCreateParamsNonStreamingToolsItem]] = None
|
|
54
55
|
top_logprobs: typing.Optional[int] = None
|
|
55
56
|
top_p: typing.Optional[float] = None
|
|
56
57
|
user: typing.Optional[str] = None
|
|
58
|
+
verbosity: typing.Optional[CompletionCreateParamsNonStreamingVerbosity] = None
|
|
57
59
|
web_search_options: typing.Optional[WebSearchOptions] = None
|
|
58
60
|
stream: typing.Optional[bool] = None
|
|
59
61
|
|
|
@@ -4,6 +4,13 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
CompletionCreateParamsNonStreamingModel = typing.Union[
|
|
6
6
|
str,
|
|
7
|
+
typing.Literal["gpt-5"],
|
|
8
|
+
typing.Literal["gpt-5-mini"],
|
|
9
|
+
typing.Literal["gpt-5-nano"],
|
|
10
|
+
typing.Literal["gpt-5-2025-08-07"],
|
|
11
|
+
typing.Literal["gpt-5-mini-2025-08-07"],
|
|
12
|
+
typing.Literal["gpt-5-nano-2025-08-07"],
|
|
13
|
+
typing.Literal["gpt-5-chat-latest"],
|
|
7
14
|
typing.Literal["gpt-4.1"],
|
|
8
15
|
typing.Literal["gpt-4.1-mini"],
|
|
9
16
|
typing.Literal["gpt-4.1-nano"],
|
|
@@ -2,4 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
CompletionCreateParamsNonStreamingReasoningEffort = typing.Union[
|
|
5
|
+
CompletionCreateParamsNonStreamingReasoningEffort = typing.Union[
|
|
6
|
+
typing.Literal["minimal", "low", "medium", "high"], typing.Any
|
|
7
|
+
]
|
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
+
from .chat_completion_allowed_tool_choice_param import ChatCompletionAllowedToolChoiceParam
|
|
6
|
+
from .chat_completion_named_tool_choice_custom_param import ChatCompletionNamedToolChoiceCustomParam
|
|
5
7
|
from .chat_completion_named_tool_choice_param import ChatCompletionNamedToolChoiceParam
|
|
6
8
|
|
|
7
9
|
CompletionCreateParamsNonStreamingToolChoice = typing.Union[
|
|
8
|
-
typing.Literal["none"],
|
|
10
|
+
typing.Literal["none"],
|
|
11
|
+
typing.Literal["auto"],
|
|
12
|
+
typing.Literal["required"],
|
|
13
|
+
ChatCompletionAllowedToolChoiceParam,
|
|
14
|
+
ChatCompletionNamedToolChoiceParam,
|
|
15
|
+
ChatCompletionNamedToolChoiceCustomParam,
|
|
9
16
|
]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .chat_completion_custom_tool_param import ChatCompletionCustomToolParam
|
|
6
|
+
from .chat_completion_function_tool_param import ChatCompletionFunctionToolParam
|
|
7
|
+
|
|
8
|
+
CompletionCreateParamsNonStreamingToolsItem = typing.Union[
|
|
9
|
+
ChatCompletionFunctionToolParam, ChatCompletionCustomToolParam
|
|
10
|
+
]
|
|
@@ -8,7 +8,6 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
8
8
|
from .chat_completion_audio_param import ChatCompletionAudioParam
|
|
9
9
|
from .chat_completion_prediction_content_param import ChatCompletionPredictionContentParam
|
|
10
10
|
from .chat_completion_stream_options_param import ChatCompletionStreamOptionsParam
|
|
11
|
-
from .chat_completion_tool_param import ChatCompletionToolParam
|
|
12
11
|
from .completion_create_params_streaming_function_call import CompletionCreateParamsStreamingFunctionCall
|
|
13
12
|
from .completion_create_params_streaming_messages_item import CompletionCreateParamsStreamingMessagesItem
|
|
14
13
|
from .completion_create_params_streaming_modalities_item import CompletionCreateParamsStreamingModalitiesItem
|
|
@@ -18,6 +17,8 @@ from .completion_create_params_streaming_response_format import CompletionCreate
|
|
|
18
17
|
from .completion_create_params_streaming_service_tier import CompletionCreateParamsStreamingServiceTier
|
|
19
18
|
from .completion_create_params_streaming_stop import CompletionCreateParamsStreamingStop
|
|
20
19
|
from .completion_create_params_streaming_tool_choice import CompletionCreateParamsStreamingToolChoice
|
|
20
|
+
from .completion_create_params_streaming_tools_item import CompletionCreateParamsStreamingToolsItem
|
|
21
|
+
from .completion_create_params_streaming_verbosity import CompletionCreateParamsStreamingVerbosity
|
|
21
22
|
from .openai_types_chat_completion_create_params_function import OpenaiTypesChatCompletionCreateParamsFunction
|
|
22
23
|
from .web_search_options import WebSearchOptions
|
|
23
24
|
|
|
@@ -50,10 +51,11 @@ class CompletionCreateParamsStreaming(UncheckedBaseModel):
|
|
|
50
51
|
stream_options: typing.Optional[ChatCompletionStreamOptionsParam] = None
|
|
51
52
|
temperature: typing.Optional[float] = None
|
|
52
53
|
tool_choice: typing.Optional[CompletionCreateParamsStreamingToolChoice] = None
|
|
53
|
-
tools: typing.Optional[typing.List[
|
|
54
|
+
tools: typing.Optional[typing.List[CompletionCreateParamsStreamingToolsItem]] = None
|
|
54
55
|
top_logprobs: typing.Optional[int] = None
|
|
55
56
|
top_p: typing.Optional[float] = None
|
|
56
57
|
user: typing.Optional[str] = None
|
|
58
|
+
verbosity: typing.Optional[CompletionCreateParamsStreamingVerbosity] = None
|
|
57
59
|
web_search_options: typing.Optional[WebSearchOptions] = None
|
|
58
60
|
stream: bool
|
|
59
61
|
|
|
@@ -4,6 +4,13 @@ import typing
|
|
|
4
4
|
|
|
5
5
|
CompletionCreateParamsStreamingModel = typing.Union[
|
|
6
6
|
str,
|
|
7
|
+
typing.Literal["gpt-5"],
|
|
8
|
+
typing.Literal["gpt-5-mini"],
|
|
9
|
+
typing.Literal["gpt-5-nano"],
|
|
10
|
+
typing.Literal["gpt-5-2025-08-07"],
|
|
11
|
+
typing.Literal["gpt-5-mini-2025-08-07"],
|
|
12
|
+
typing.Literal["gpt-5-nano-2025-08-07"],
|
|
13
|
+
typing.Literal["gpt-5-chat-latest"],
|
|
7
14
|
typing.Literal["gpt-4.1"],
|
|
8
15
|
typing.Literal["gpt-4.1-mini"],
|
|
9
16
|
typing.Literal["gpt-4.1-nano"],
|
|
@@ -2,4 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
CompletionCreateParamsStreamingReasoningEffort = typing.Union[
|
|
5
|
+
CompletionCreateParamsStreamingReasoningEffort = typing.Union[
|
|
6
|
+
typing.Literal["minimal", "low", "medium", "high"], typing.Any
|
|
7
|
+
]
|
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
+
from .chat_completion_allowed_tool_choice_param import ChatCompletionAllowedToolChoiceParam
|
|
6
|
+
from .chat_completion_named_tool_choice_custom_param import ChatCompletionNamedToolChoiceCustomParam
|
|
5
7
|
from .chat_completion_named_tool_choice_param import ChatCompletionNamedToolChoiceParam
|
|
6
8
|
|
|
7
9
|
CompletionCreateParamsStreamingToolChoice = typing.Union[
|
|
8
|
-
typing.Literal["none"],
|
|
10
|
+
typing.Literal["none"],
|
|
11
|
+
typing.Literal["auto"],
|
|
12
|
+
typing.Literal["required"],
|
|
13
|
+
ChatCompletionAllowedToolChoiceParam,
|
|
14
|
+
ChatCompletionNamedToolChoiceParam,
|
|
15
|
+
ChatCompletionNamedToolChoiceCustomParam,
|
|
9
16
|
]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from .chat_completion_custom_tool_param import ChatCompletionCustomToolParam
|
|
6
|
+
from .chat_completion_function_tool_param import ChatCompletionFunctionToolParam
|
|
7
|
+
|
|
8
|
+
CompletionCreateParamsStreamingToolsItem = typing.Union[ChatCompletionFunctionToolParam, ChatCompletionCustomToolParam]
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .custom_format_grammar_grammar import CustomFormatGrammarGrammar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CustomFormatGrammar(UncheckedBaseModel):
|
|
12
|
+
grammar: CustomFormatGrammarGrammar
|
|
13
|
+
type: typing.Literal["grammar"] = "grammar"
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
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 .custom_format_grammar_grammar_syntax import CustomFormatGrammarGrammarSyntax
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CustomFormatGrammarGrammar(UncheckedBaseModel):
|
|
12
|
+
definition: str
|
|
13
|
+
syntax: CustomFormatGrammarGrammarSyntax
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
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 CustomFormatText(UncheckedBaseModel):
|
|
11
|
+
type: typing.Literal["text"] = "text"
|
|
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
|
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:
|
letta_client/types/message.py
CHANGED
|
@@ -6,7 +6,7 @@ import typing
|
|
|
6
6
|
import pydantic
|
|
7
7
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
8
|
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
9
|
-
from .
|
|
9
|
+
from .chat_completion_message_function_tool_call import ChatCompletionMessageFunctionToolCall
|
|
10
10
|
from .message_content_item import MessageContentItem
|
|
11
11
|
from .message_role import MessageRole
|
|
12
12
|
from .tool_return import ToolReturn
|
|
@@ -85,7 +85,7 @@ class Message(UncheckedBaseModel):
|
|
|
85
85
|
For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called.
|
|
86
86
|
"""
|
|
87
87
|
|
|
88
|
-
tool_calls: typing.Optional[typing.List[
|
|
88
|
+
tool_calls: typing.Optional[typing.List[ChatCompletionMessageFunctionToolCall]] = pydantic.Field(default=None)
|
|
89
89
|
"""
|
|
90
90
|
The list of tool calls requested. Only applicable for role assistant.
|
|
91
91
|
"""
|
|
@@ -0,0 +1,25 @@
|
|
|
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 .openai_types_chat_chat_completion_custom_tool_param_custom_format import (
|
|
9
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class OpenaiTypesChatChatCompletionCustomToolParamCustom(UncheckedBaseModel):
|
|
14
|
+
name: str
|
|
15
|
+
description: typing.Optional[str] = None
|
|
16
|
+
format: typing.Optional[OpenaiTypesChatChatCompletionCustomToolParamCustomFormat] = None
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
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
|
+
from .custom_format_grammar import CustomFormatGrammar
|
|
6
|
+
from .custom_format_text import CustomFormatText
|
|
7
|
+
|
|
8
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat = typing.Union[CustomFormatText, CustomFormatGrammar]
|
|
@@ -0,0 +1,21 @@
|
|
|
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 OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom(UncheckedBaseModel):
|
|
11
|
+
input: str
|
|
12
|
+
name: str
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
frozen = True
|
|
20
|
+
smart_union = True
|
|
21
|
+
extra = pydantic.Extra.allow
|
|
@@ -7,7 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
|
7
7
|
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction(UncheckedBaseModel):
|
|
11
11
|
arguments: str
|
|
12
12
|
name: str
|
|
13
13
|
|
|
@@ -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 OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom(UncheckedBaseModel):
|
|
11
|
+
name: str
|
|
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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=yYAXAoFMVYJoJsjL144IgrkKdkj3mTzJ9B5ZCVBzKIo,23200
|
|
2
2
|
letta_client/agents/__init__.py,sha256=JkuWGGNJsCfnMr2DFzQ1SiqEB1tcFZnafdidODi0_DY,2166
|
|
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
|
|
@@ -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=1cKtjO1165ACcm9Sv80JoJ_LEqnTHpypi2bPvIuKbXY,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
|
|
@@ -228,7 +228,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
|
|
|
228
228
|
letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
|
|
229
229
|
letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
|
|
230
230
|
letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
|
|
231
|
-
letta_client/types/__init__.py,sha256=
|
|
231
|
+
letta_client/types/__init__.py,sha256=HtFvs-LVhtQ3OoNAsO58ssBCoH8XmfwSnOnP7b8wX8k,28919
|
|
232
232
|
letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
|
|
233
233
|
letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
|
|
234
234
|
letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
|
|
@@ -255,9 +255,13 @@ letta_client/types/block.py,sha256=V47iVJFFeXhaH263OCM2iVptGftlc7AoZtGIY7qb5Yc,3
|
|
|
255
255
|
letta_client/types/block_schema.py,sha256=-kiDh63tyN2tai9m2f_FJE_afpDMaBTvBjYm4t0zK8c,1813
|
|
256
256
|
letta_client/types/block_update.py,sha256=f2ClrX0b5iPfoxmRZ5IVGK039VRDYqe0UXYGjLy3Eow,1898
|
|
257
257
|
letta_client/types/body_export_agent_serialized.py,sha256=KPLEf_PQpSRWdjDF6etcdtzo4WfHmQOdXwY7SktoDhM,880
|
|
258
|
-
letta_client/types/
|
|
258
|
+
letta_client/types/chat_completion_allowed_tool_choice_param.py,sha256=CrdImk8trUU-LFi-MmzvfufqcGcbjmcnosJ6LLbjHBU,760
|
|
259
|
+
letta_client/types/chat_completion_allowed_tools_param.py,sha256=CgzJpK31hM_3CwdbVNG1uvH-urRNL5xsgdKbSm2csMI,769
|
|
260
|
+
letta_client/types/chat_completion_allowed_tools_param_mode.py,sha256=ocp3464UJeMTnmGQWGcGvBfRp2oHcqKmKZ9gRZe3o6o,179
|
|
261
|
+
letta_client/types/chat_completion_assistant_message_param.py,sha256=OdnE1qO7c-RoNVx8ySri_OjHjXuM-ZUI2iC8MEZj7Lw,1264
|
|
259
262
|
letta_client/types/chat_completion_assistant_message_param_content.py,sha256=ehUGricpp5Di3As0cfksQcSyfpUDswGd06S2AqUbBnA,324
|
|
260
263
|
letta_client/types/chat_completion_assistant_message_param_content_item.py,sha256=IKw5Fr5KbFXgrnHd5CgnqT73V62y-ll6NiYbYN5rXDA,406
|
|
264
|
+
letta_client/types/chat_completion_assistant_message_param_tool_calls_item.py,sha256=ZXYBK5ZwaYu0oRKd-ssuAOtmHkKoaQ8AuL4HQmnBw-o,443
|
|
261
265
|
letta_client/types/chat_completion_audio_param.py,sha256=67fFn8t_tEZOAnAEQI39YpWyHq8RjyP1ISImAjEqKUA,796
|
|
262
266
|
letta_client/types/chat_completion_audio_param_format.py,sha256=_Jk2jCTMnQIi3tekbyca3izfaX-1Dkj_Jjc7-jai0D0,200
|
|
263
267
|
letta_client/types/chat_completion_audio_param_voice.py,sha256=BuZrNqrHNA-QyynayuzTcJgE3QfTUUre6t5C6dRu3ug,368
|
|
@@ -265,47 +269,54 @@ letta_client/types/chat_completion_content_part_image_param.py,sha256=vBM6W_XKxK
|
|
|
265
269
|
letta_client/types/chat_completion_content_part_input_audio_param.py,sha256=darA9e-fogSXdtBQKP6Vna-E5ZfWvof0-0FlUW7w_Xg,692
|
|
266
270
|
letta_client/types/chat_completion_content_part_refusal_param.py,sha256=w0aegJq3snvKnjmFejHDLTm5J7WusflEyQTrZxMXLOw,634
|
|
267
271
|
letta_client/types/chat_completion_content_part_text_param.py,sha256=PObZ89MEXiubJwjY7YctpOjYZTYJhmPp-FgiiKAiDn8,622
|
|
272
|
+
letta_client/types/chat_completion_custom_tool_param.py,sha256=rnCTcwwIzCXa_EqJyHfJWbWD1OyrtjUymaNsPiO9WqI,802
|
|
268
273
|
letta_client/types/chat_completion_developer_message_param.py,sha256=UQwR6BSUhjR0nhc46iYUn9TBf-PhayIAAXHdjEJkkwE,817
|
|
269
274
|
letta_client/types/chat_completion_developer_message_param_content.py,sha256=3vzb-bp9BKftHb19dKE0lwLuiZlPpL7OK7tGzIeMSR0,281
|
|
270
275
|
letta_client/types/chat_completion_function_call_option_param.py,sha256=5vTg5QPqVyt3LpVMmAKUz_XtES232aycD__SVIw5RrY,583
|
|
271
276
|
letta_client/types/chat_completion_function_message_param.py,sha256=AD5W28jAE-7MjHQpxExIBYm4xZNZf8ElGT-GB4sVw5M,671
|
|
272
|
-
letta_client/types/
|
|
273
|
-
letta_client/types/
|
|
277
|
+
letta_client/types/chat_completion_function_tool_param.py,sha256=mfeTpehqf3lfBEpe--Cdikgu3ekhwtYFDYXYSVkYnrM,714
|
|
278
|
+
letta_client/types/chat_completion_message_custom_tool_call_param.py,sha256=osXBxq4ke0zP1clZfWFFq_Q5UskH0VoSRBRxm4a_s3I,860
|
|
279
|
+
letta_client/types/chat_completion_message_function_tool_call.py,sha256=pcSJ87oAYgW0oJ0pgbDkxhqyjifxLej_3GCmEbJZ12g,704
|
|
280
|
+
letta_client/types/chat_completion_message_function_tool_call_param.py,sha256=Evo8XxMbnWtB7Ok0z5pWWqC6kxxEGueWv7T9Gp00LeQ,880
|
|
281
|
+
letta_client/types/chat_completion_named_tool_choice_custom_param.py,sha256=gIi87aveu0HVitoTIid6DnWGIu7BylZwqS4it9KxnwQ,848
|
|
274
282
|
letta_client/types/chat_completion_named_tool_choice_param.py,sha256=6pdtCulwRn0FeYbFHlklRRaFInofhzQFDALZlw9cSco,835
|
|
275
283
|
letta_client/types/chat_completion_prediction_content_param.py,sha256=HeRunxpwSbXxYAUkZL3xsPzJ_wiT4rIqByDCHqNuqtg,779
|
|
276
284
|
letta_client/types/chat_completion_prediction_content_param_content.py,sha256=81u9nLywMfVv7fExVUW4o1BCaWoU27lLxMxcLgZF9so,282
|
|
277
|
-
letta_client/types/chat_completion_stream_options_param.py,sha256=
|
|
285
|
+
letta_client/types/chat_completion_stream_options_param.py,sha256=xZqghHYOqjMT9Nq6Smw-RgH_6lkn16Yg7GG6tyzwEb4,666
|
|
278
286
|
letta_client/types/chat_completion_system_message_param.py,sha256=DgeROlxxdQNuP6gj1qgqdZOJEHLAtjrJno3PZ_5gVBk,799
|
|
279
287
|
letta_client/types/chat_completion_system_message_param_content.py,sha256=ngY5-4G3ePzTaVJma6pEqOhuna9gulIIgfy2hQ_fJDE,278
|
|
280
288
|
letta_client/types/chat_completion_tool_message_param.py,sha256=OIzfNL2tFgxTM9KJL72zM889s4wgdpYzGCLCa6cxduU,771
|
|
281
289
|
letta_client/types/chat_completion_tool_message_param_content.py,sha256=EYLRCGJecCk40QLO5mB2id0DaPm6llfAG15D7eI9RHE,276
|
|
282
|
-
letta_client/types/chat_completion_tool_param.py,sha256=xm1X44PRxnAk6iED-tRPExz9CbL1O9eE4NL-iye3o_M,706
|
|
283
290
|
letta_client/types/chat_completion_user_message_param.py,sha256=c4xX5dBaDG_i7jcLJKbDQFIj69SYHw1RNDdMgbIeTfI,787
|
|
284
291
|
letta_client/types/chat_completion_user_message_param_content.py,sha256=bLJRnIuun1MafPFOgkTF2dFyyOMHPb8PpeVzF_5EVLA,298
|
|
285
292
|
letta_client/types/chat_completion_user_message_param_content_item.py,sha256=Vfi7YnB1V9FBfD452M6ea-cVG8k9eoIUzCMYjeLbAds,580
|
|
286
293
|
letta_client/types/child_tool_rule.py,sha256=5Wl7jQgpSSTqYvK29yrQotZebjzQL1ACweJhTVNhpfo,1121
|
|
287
294
|
letta_client/types/child_tool_rule_schema.py,sha256=g43as4Qsi7p_kL9pnheGdJwaYbfhYdOKr-fpy3V0Ic4,615
|
|
288
295
|
letta_client/types/code_input.py,sha256=_Emu9EQBxJ-mD8MFliFaXb4tsD3NiGl-FhiytlfaZv8,772
|
|
289
|
-
letta_client/types/completion_create_params_non_streaming.py,sha256=
|
|
296
|
+
letta_client/types/completion_create_params_non_streaming.py,sha256=7Rqzj-FCGLVC3RW8MuwmKhw1hz7q-SXw2r-bcsdb5YQ,4362
|
|
290
297
|
letta_client/types/completion_create_params_non_streaming_function_call.py,sha256=rOhhZE6sp3nXl7eza8uPzc1CKsG3cn-fa8x8wvsqfh0,330
|
|
291
298
|
letta_client/types/completion_create_params_non_streaming_messages_item.py,sha256=_oNVb2SP0tpUWPtmPwbBS6jVP33j8uHmcsG83rFmKbE,884
|
|
292
299
|
letta_client/types/completion_create_params_non_streaming_modalities_item.py,sha256=BuyCf2nTCWVhishXFk3CsQphnPwNXj-kBdPMjkb8X10,189
|
|
293
|
-
letta_client/types/completion_create_params_non_streaming_model.py,sha256=
|
|
294
|
-
letta_client/types/completion_create_params_non_streaming_reasoning_effort.py,sha256=
|
|
300
|
+
letta_client/types/completion_create_params_non_streaming_model.py,sha256=F90scxzf6-Xi0hD3FoE7pdl70cYW3ARp4JbWrn91NvQ,2674
|
|
301
|
+
letta_client/types/completion_create_params_non_streaming_reasoning_effort.py,sha256=h9k4KD9GROKa6W90p-u9ZQPs3CnrF-ykLg2cL5e0FHg,215
|
|
295
302
|
letta_client/types/completion_create_params_non_streaming_response_format.py,sha256=Ksdl4NLFAf48PVeJsawe9mOYNwhB596JQOudH0Hulog,408
|
|
296
303
|
letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=ZmQ9USOqB1Tq2XvmbOLxz_BWAgMq1EU1BPxzmSsA38M,223
|
|
297
304
|
letta_client/types/completion_create_params_non_streaming_stop.py,sha256=5vPdgab7iH6eDizESU2_CMieWN5CN3pF8TZs-Zb7rMw,157
|
|
298
|
-
letta_client/types/completion_create_params_non_streaming_tool_choice.py,sha256=
|
|
299
|
-
letta_client/types/
|
|
305
|
+
letta_client/types/completion_create_params_non_streaming_tool_choice.py,sha256=aRCxLmExT8c0QTe39G68vlFzWxBRd1mKpo58_8DiXqs,641
|
|
306
|
+
letta_client/types/completion_create_params_non_streaming_tools_item.py,sha256=K5Hk046FJnDEEg9dP9Q3oYsNUICW6YY0QO03Ma6FaKQ,368
|
|
307
|
+
letta_client/types/completion_create_params_non_streaming_verbosity.py,sha256=Nc_ZvPxCA4-cgwei6AwzSYpDowi7dVawkLulvN80iSY,192
|
|
308
|
+
letta_client/types/completion_create_params_streaming.py,sha256=WlJw7g9HMjFP6rMc-_rgvmckLtCaK_6L6slN4aNxuIM,4225
|
|
300
309
|
letta_client/types/completion_create_params_streaming_function_call.py,sha256=qBqeR4gU4MO5kshKuOwQf04aJAxyjgcbi1ZMeFpVfNk,327
|
|
301
310
|
letta_client/types/completion_create_params_streaming_messages_item.py,sha256=jucJqEz5LgFxo0MGT4aDLu9aZXYPUjUD2CE2C8VcBj4,881
|
|
302
311
|
letta_client/types/completion_create_params_streaming_modalities_item.py,sha256=o9ZU7r22WrE6z-BSJ72LJXHtVRIpK499WArVgY-ODgI,186
|
|
303
|
-
letta_client/types/completion_create_params_streaming_model.py,sha256=
|
|
304
|
-
letta_client/types/completion_create_params_streaming_reasoning_effort.py,sha256=
|
|
312
|
+
letta_client/types/completion_create_params_streaming_model.py,sha256=VVJm2rIQmU_DGbljXgAGEyoXYlhiFr8aBTCjgp5X8Hw,2671
|
|
313
|
+
letta_client/types/completion_create_params_streaming_reasoning_effort.py,sha256=nGkbBwbpIkIxsKP0GMFIgm4O8AdVjyIkt-gcDHZkaHE,212
|
|
305
314
|
letta_client/types/completion_create_params_streaming_response_format.py,sha256=AnOrNXCHKi8ovek0nQYHaXmbMh5jWod966U_5kUzJxI,405
|
|
306
315
|
letta_client/types/completion_create_params_streaming_service_tier.py,sha256=sZLi6DuprrhDPrhGRZUBTBjwgLRoFcc-6GB37K8X-Rs,220
|
|
307
316
|
letta_client/types/completion_create_params_streaming_stop.py,sha256=dSyQDu851QyeoRjpoE2JBIyKIYGO5jVx6UIH-bLiQwo,154
|
|
308
|
-
letta_client/types/completion_create_params_streaming_tool_choice.py,sha256=
|
|
317
|
+
letta_client/types/completion_create_params_streaming_tool_choice.py,sha256=62GboMWkENllEOgy_83ezyRcZgtuA8tk_vIYx5ppwb4,638
|
|
318
|
+
letta_client/types/completion_create_params_streaming_tools_item.py,sha256=lGfcaKFneBxkpEMUuCSoWzzo6MKHsBNEQvxyaySc-PQ,359
|
|
319
|
+
letta_client/types/completion_create_params_streaming_verbosity.py,sha256=bj0nHrXfKHEA3WvXWiebH0v9MeFXJZQG5YJbkAIyh-s,189
|
|
309
320
|
letta_client/types/components_schemas_text_content.py,sha256=F21GPPwREb6GodS4dGsT7-4wySEUdhpq6krznF-sOPE,147
|
|
310
321
|
letta_client/types/conditional_tool_rule.py,sha256=p13n4riIYsxcGmiMZekNNcXTmBMv-YueovNPGWkuNHc,1464
|
|
311
322
|
letta_client/types/conditional_tool_rule_schema.py,sha256=zb6LXzC6Hk4Q-wdehR85aUWiWZogece0XAdlbh3EC1Q,718
|
|
@@ -314,6 +325,10 @@ letta_client/types/context_window_overview.py,sha256=1rWCBJvgJkkyMVPjgbhx1y26WbR
|
|
|
314
325
|
letta_client/types/continue_tool_rule.py,sha256=NsinYb8PMKFnBmQALOH_AzQ4c5yKxiqw7b7SxVWPXsE,1036
|
|
315
326
|
letta_client/types/core_memory_block_schema.py,sha256=5_k2XFEsPDwldGfPdzHW3j_7IJOBqTVscq89lXTD4d8,985
|
|
316
327
|
letta_client/types/create_block.py,sha256=8Jxsr3HIDJgz2-pTKXrfOJzE8p9DIFl7J8ZNGGD7ubw,1679
|
|
328
|
+
letta_client/types/custom_format_grammar.py,sha256=l16BZsFb3wPxhl-S6Q93RCBajoActOSQg6PIjTlAAuU,709
|
|
329
|
+
letta_client/types/custom_format_grammar_grammar.py,sha256=8skLshQW2sHV41OJrdTJX1SRbA5rjRGrqAbetf4YK14,706
|
|
330
|
+
letta_client/types/custom_format_grammar_grammar_syntax.py,sha256=8xsJRq0D02hhMGCQ55owIE-w7i4wu1ymWGNaKjg3cO4,173
|
|
331
|
+
letta_client/types/custom_format_text.py,sha256=JZQHhuuMfqvlI82NZ3364Nhu1gCfmJOps2xFykEg5Mw,590
|
|
317
332
|
letta_client/types/duplicate_file_handling.py,sha256=H7pDhPZSSbnqPHPo2yGl7xkpHAD9L0yZOdcU5n-9BdE,172
|
|
318
333
|
letta_client/types/dynamic_manager.py,sha256=B-GwXKSD_-vvYPOx27OW6Jzp11ev2IPz6zr5dY3dJzA,854
|
|
319
334
|
letta_client/types/dynamic_manager_update.py,sha256=73luQ0zJ2__wghe-OVEJ-f4JIfrEwytpf5NGpTumS9k,889
|
|
@@ -387,10 +402,11 @@ letta_client/types/letta_stop_reason.py,sha256=jYkXBnAKsdPS8tmdv_xumyVVQk9OoHKFy
|
|
|
387
402
|
letta_client/types/letta_streaming_request.py,sha256=pEq4WEzKTtKA5XdyR544D6kEQztJQxg0PSeMSHteDfg,2251
|
|
388
403
|
letta_client/types/letta_usage_statistics.py,sha256=uZZq2lVOGHK6N-VhA0oknQfUjE9Zb0sMYh0mHDvl-lc,1887
|
|
389
404
|
letta_client/types/letta_user_message_content_union.py,sha256=2SrcmMjvsQzCvfIUYG7PkaE4brMZcL6H437GSCLK4zg,230
|
|
390
|
-
letta_client/types/llm_config.py,sha256=
|
|
405
|
+
letta_client/types/llm_config.py,sha256=QxVLfO04egVhKg1J3nB-FkrrMpyK124HpgAyVD-_zk0,3864
|
|
391
406
|
letta_client/types/llm_config_compatibility_type.py,sha256=m6E90W-R9-Oi3EGSV_GdPIuVC2rmAH7TsUKbl79EiAQ,165
|
|
392
407
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=o59NDg3-3ud2mqAPYze40G7kyVD7pkRRbdT_vdTqL24,602
|
|
393
408
|
letta_client/types/llm_config_reasoning_effort.py,sha256=r4I3i2c7RxkBe-xXOE_XCXwjp9Y0QoaF2SVY7WYPdg4,184
|
|
409
|
+
letta_client/types/llm_config_verbosity.py,sha256=MO2MK7xRvBZd7W0jF_zluQc5XDs9L1URoqiY_lPE0AI,167
|
|
394
410
|
letta_client/types/local_sandbox_config.py,sha256=J_Dkqk2kkkw23AzLdDDM3r9ply-TK4HlEWIwsLKLhIQ,1388
|
|
395
411
|
letta_client/types/manager_type.py,sha256=3ztXv2xWw6PIgDoqqxaHwdIcssDYqdqB0KqUDSW3Bc0,222
|
|
396
412
|
letta_client/types/max_count_per_step_tool_rule.py,sha256=tl5vm0BvkHu4HHfQx14z8E0pZu3ysua1yCGMmOB-ccU,1226
|
|
@@ -401,7 +417,7 @@ letta_client/types/mcp_tool.py,sha256=o-0Z8eDpkKR8oUb_OhwxPWMFTwN7S0_6k-EvQgW0ik
|
|
|
401
417
|
letta_client/types/mcp_tool_execute_request.py,sha256=SVH2RlYN6Lb95-8eSB_PZYpHK_lOqeEELIZTmw7jBVY,711
|
|
402
418
|
letta_client/types/mcp_tool_health.py,sha256=ToG3Ut-9nvPkdFNL4gzu1LMv4bNmD7yFZ-bkMO16mzg,866
|
|
403
419
|
letta_client/types/memory.py,sha256=VduNAXj6OQ9lbPKcC5mLUZmnM2yUCiWLTISbvcfs93U,1257
|
|
404
|
-
letta_client/types/message.py,sha256=
|
|
420
|
+
letta_client/types/message.py,sha256=CXrBISHLIqLbsQXiwAk6meNy7aCCARp5kO88c69oHUc,4760
|
|
405
421
|
letta_client/types/message_content_item.py,sha256=mu9j_dp-XAHQjbE0bv5wxMH3fTRW_dCtiIzbhdCMauw,630
|
|
406
422
|
letta_client/types/message_create.py,sha256=4R5kWzAzlK-95W_sI64LESyxS6cqs-_mvaYKpMI2pE0,1602
|
|
407
423
|
letta_client/types/message_create_content.py,sha256=pKppl-N8IdqR-ShWCZ0HN-3b13plPE2vSi6YcRM3w8o,227
|
|
@@ -414,7 +430,11 @@ letta_client/types/not_found_error_body.py,sha256=CVqqfbqSAe_dXn3jF72uTWx2pbYLdt
|
|
|
414
430
|
letta_client/types/not_found_error_body_message.py,sha256=Kc9xrVghgDATdPAGpTPnzyKe6ds5q8Vr6zcBU5lLcH4,309
|
|
415
431
|
letta_client/types/npm_requirement.py,sha256=XnJhQNy8ywDXzgKuT4wT8PTk-6umQ_3N7Ok9RKuyT2E,774
|
|
416
432
|
letta_client/types/omitted_reasoning_content.py,sha256=SW3FdgrmkcGwF4CH2cFx3KoYkJewjzmDeh8mP-UlHDI,623
|
|
417
|
-
letta_client/types/
|
|
433
|
+
letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py,sha256=qpE18SGU6NorQ3lziqS4Hy51f8HNgwi1DFhPAl9yclc,879
|
|
434
|
+
letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom_format.py,sha256=tu-G3vlXYK1pYbW86y1bXdbdh_70IF7l459GYZ9RgWY,296
|
|
435
|
+
letta_client/types/openai_types_chat_chat_completion_message_custom_tool_call_param_custom.py,sha256=1J_4Po51hTHIBG5MyKwH_gHZjRLvbL7Adx4QqbvWjXE,622
|
|
436
|
+
letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_param_function.py,sha256=hijQEemNQENudbTqjgpgoVYH9LUTM24TEeBPodUCdEA,630
|
|
437
|
+
letta_client/types/openai_types_chat_chat_completion_named_tool_choice_custom_param_custom.py,sha256=JUyK64k43ovsIQeMtGcnmYePDMKXmPuim4LTwiiSwzc,607
|
|
418
438
|
letta_client/types/openai_types_chat_chat_completion_named_tool_choice_param_function.py,sha256=exiuqKxoYd0HqYkNhlit0rFkdehpWW-7lWXN84bqZkw,603
|
|
419
439
|
letta_client/types/openai_types_chat_completion_create_params_function.py,sha256=JDT4bhBHxet5d4KpTZNZ00MYu5KUEMeqz8ecDeeCosI,722
|
|
420
440
|
letta_client/types/organization.py,sha256=RV0shhT3Lg3WlJG6vcIFRGb7lpf6nWCZGBofD67f4po,1081
|
|
@@ -519,6 +539,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
519
539
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
520
540
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
521
541
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
522
|
-
letta_client-0.1.
|
|
523
|
-
letta_client-0.1.
|
|
524
|
-
letta_client-0.1.
|
|
542
|
+
letta_client-0.1.267.dist-info/METADATA,sha256=XMbsKsOhwVfqPCmBbbdqWHB7jiYSsvxSsVfktS9cdAs,5781
|
|
543
|
+
letta_client-0.1.267.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
544
|
+
letta_client-0.1.267.dist-info/RECORD,,
|
|
File without changes
|