letta-client 0.1.265__py3-none-any.whl → 0.1.266__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 +46 -8
- letta_client/core/client_wrapper.py +2 -2
- letta_client/types/__init__.py +55 -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/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.266.dist-info}/METADATA +1 -1
- {letta_client-0.1.265.dist-info → letta_client-0.1.266.dist-info}/RECORD +40 -21
- {letta_client-0.1.265.dist-info → letta_client-0.1.266.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,
|
|
@@ -188,7 +203,11 @@ from .types import (
|
|
|
188
203
|
NotFoundErrorBodyMessage,
|
|
189
204
|
NpmRequirement,
|
|
190
205
|
OmittedReasoningContent,
|
|
191
|
-
|
|
206
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
207
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
208
|
+
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
209
|
+
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
210
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
192
211
|
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
193
212
|
OpenaiTypesChatCompletionCreateParamsFunction,
|
|
194
213
|
Organization,
|
|
@@ -412,9 +431,13 @@ __all__ = [
|
|
|
412
431
|
"BlockSchema",
|
|
413
432
|
"BlockUpdate",
|
|
414
433
|
"BodyExportAgentSerialized",
|
|
434
|
+
"ChatCompletionAllowedToolChoiceParam",
|
|
435
|
+
"ChatCompletionAllowedToolsParam",
|
|
436
|
+
"ChatCompletionAllowedToolsParamMode",
|
|
415
437
|
"ChatCompletionAssistantMessageParam",
|
|
416
438
|
"ChatCompletionAssistantMessageParamContent",
|
|
417
439
|
"ChatCompletionAssistantMessageParamContentItem",
|
|
440
|
+
"ChatCompletionAssistantMessageParamToolCallsItem",
|
|
418
441
|
"ChatCompletionAudioParam",
|
|
419
442
|
"ChatCompletionAudioParamFormat",
|
|
420
443
|
"ChatCompletionAudioParamVoice",
|
|
@@ -422,12 +445,16 @@ __all__ = [
|
|
|
422
445
|
"ChatCompletionContentPartInputAudioParam",
|
|
423
446
|
"ChatCompletionContentPartRefusalParam",
|
|
424
447
|
"ChatCompletionContentPartTextParam",
|
|
448
|
+
"ChatCompletionCustomToolParam",
|
|
425
449
|
"ChatCompletionDeveloperMessageParam",
|
|
426
450
|
"ChatCompletionDeveloperMessageParamContent",
|
|
427
451
|
"ChatCompletionFunctionCallOptionParam",
|
|
428
452
|
"ChatCompletionFunctionMessageParam",
|
|
429
|
-
"
|
|
430
|
-
"
|
|
453
|
+
"ChatCompletionFunctionToolParam",
|
|
454
|
+
"ChatCompletionMessageCustomToolCallParam",
|
|
455
|
+
"ChatCompletionMessageFunctionToolCall",
|
|
456
|
+
"ChatCompletionMessageFunctionToolCallParam",
|
|
457
|
+
"ChatCompletionNamedToolChoiceCustomParam",
|
|
431
458
|
"ChatCompletionNamedToolChoiceParam",
|
|
432
459
|
"ChatCompletionPredictionContentParam",
|
|
433
460
|
"ChatCompletionPredictionContentParamContent",
|
|
@@ -436,7 +463,6 @@ __all__ = [
|
|
|
436
463
|
"ChatCompletionSystemMessageParamContent",
|
|
437
464
|
"ChatCompletionToolMessageParam",
|
|
438
465
|
"ChatCompletionToolMessageParamContent",
|
|
439
|
-
"ChatCompletionToolParam",
|
|
440
466
|
"ChatCompletionUserMessageParam",
|
|
441
467
|
"ChatCompletionUserMessageParamContent",
|
|
442
468
|
"ChatCompletionUserMessageParamContentItem",
|
|
@@ -464,6 +490,8 @@ __all__ = [
|
|
|
464
490
|
"CompletionCreateParamsNonStreamingServiceTier",
|
|
465
491
|
"CompletionCreateParamsNonStreamingStop",
|
|
466
492
|
"CompletionCreateParamsNonStreamingToolChoice",
|
|
493
|
+
"CompletionCreateParamsNonStreamingToolsItem",
|
|
494
|
+
"CompletionCreateParamsNonStreamingVerbosity",
|
|
467
495
|
"CompletionCreateParamsStreaming",
|
|
468
496
|
"CompletionCreateParamsStreamingFunctionCall",
|
|
469
497
|
"CompletionCreateParamsStreamingMessagesItem",
|
|
@@ -474,6 +502,8 @@ __all__ = [
|
|
|
474
502
|
"CompletionCreateParamsStreamingServiceTier",
|
|
475
503
|
"CompletionCreateParamsStreamingStop",
|
|
476
504
|
"CompletionCreateParamsStreamingToolChoice",
|
|
505
|
+
"CompletionCreateParamsStreamingToolsItem",
|
|
506
|
+
"CompletionCreateParamsStreamingVerbosity",
|
|
477
507
|
"ComponentsSchemasTextContent",
|
|
478
508
|
"ConditionalToolRule",
|
|
479
509
|
"ConditionalToolRuleSchema",
|
|
@@ -487,6 +517,10 @@ __all__ = [
|
|
|
487
517
|
"CreateAgentRequestResponseFormat",
|
|
488
518
|
"CreateAgentRequestToolRulesItem",
|
|
489
519
|
"CreateBlock",
|
|
520
|
+
"CustomFormatGrammar",
|
|
521
|
+
"CustomFormatGrammarGrammar",
|
|
522
|
+
"CustomFormatGrammarGrammarSyntax",
|
|
523
|
+
"CustomFormatText",
|
|
490
524
|
"DeleteMcpServerResponseItem",
|
|
491
525
|
"DuplicateFileHandling",
|
|
492
526
|
"DynamicManager",
|
|
@@ -595,7 +629,11 @@ __all__ = [
|
|
|
595
629
|
"NotFoundErrorBodyMessage",
|
|
596
630
|
"NpmRequirement",
|
|
597
631
|
"OmittedReasoningContent",
|
|
598
|
-
"
|
|
632
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
633
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustomFormat",
|
|
634
|
+
"OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom",
|
|
635
|
+
"OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction",
|
|
636
|
+
"OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom",
|
|
599
637
|
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
600
638
|
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
601
639
|
"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.266",
|
|
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.266",
|
|
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
|
|
@@ -195,8 +210,20 @@ from .not_found_error_body import NotFoundErrorBody
|
|
|
195
210
|
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
196
211
|
from .npm_requirement import NpmRequirement
|
|
197
212
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
198
|
-
from .
|
|
199
|
-
|
|
213
|
+
from .openai_types_chat_chat_completion_custom_tool_param_custom import (
|
|
214
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustom,
|
|
215
|
+
)
|
|
216
|
+
from .openai_types_chat_chat_completion_custom_tool_param_custom_format import (
|
|
217
|
+
OpenaiTypesChatChatCompletionCustomToolParamCustomFormat,
|
|
218
|
+
)
|
|
219
|
+
from .openai_types_chat_chat_completion_message_custom_tool_call_param_custom import (
|
|
220
|
+
OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom,
|
|
221
|
+
)
|
|
222
|
+
from .openai_types_chat_chat_completion_message_function_tool_call_param_function import (
|
|
223
|
+
OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction,
|
|
224
|
+
)
|
|
225
|
+
from .openai_types_chat_chat_completion_named_tool_choice_custom_param_custom import (
|
|
226
|
+
OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom,
|
|
200
227
|
)
|
|
201
228
|
from .openai_types_chat_chat_completion_named_tool_choice_param_function import (
|
|
202
229
|
OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction,
|
|
@@ -328,9 +355,13 @@ __all__ = [
|
|
|
328
355
|
"BlockSchema",
|
|
329
356
|
"BlockUpdate",
|
|
330
357
|
"BodyExportAgentSerialized",
|
|
358
|
+
"ChatCompletionAllowedToolChoiceParam",
|
|
359
|
+
"ChatCompletionAllowedToolsParam",
|
|
360
|
+
"ChatCompletionAllowedToolsParamMode",
|
|
331
361
|
"ChatCompletionAssistantMessageParam",
|
|
332
362
|
"ChatCompletionAssistantMessageParamContent",
|
|
333
363
|
"ChatCompletionAssistantMessageParamContentItem",
|
|
364
|
+
"ChatCompletionAssistantMessageParamToolCallsItem",
|
|
334
365
|
"ChatCompletionAudioParam",
|
|
335
366
|
"ChatCompletionAudioParamFormat",
|
|
336
367
|
"ChatCompletionAudioParamVoice",
|
|
@@ -338,12 +369,16 @@ __all__ = [
|
|
|
338
369
|
"ChatCompletionContentPartInputAudioParam",
|
|
339
370
|
"ChatCompletionContentPartRefusalParam",
|
|
340
371
|
"ChatCompletionContentPartTextParam",
|
|
372
|
+
"ChatCompletionCustomToolParam",
|
|
341
373
|
"ChatCompletionDeveloperMessageParam",
|
|
342
374
|
"ChatCompletionDeveloperMessageParamContent",
|
|
343
375
|
"ChatCompletionFunctionCallOptionParam",
|
|
344
376
|
"ChatCompletionFunctionMessageParam",
|
|
345
|
-
"
|
|
346
|
-
"
|
|
377
|
+
"ChatCompletionFunctionToolParam",
|
|
378
|
+
"ChatCompletionMessageCustomToolCallParam",
|
|
379
|
+
"ChatCompletionMessageFunctionToolCall",
|
|
380
|
+
"ChatCompletionMessageFunctionToolCallParam",
|
|
381
|
+
"ChatCompletionNamedToolChoiceCustomParam",
|
|
347
382
|
"ChatCompletionNamedToolChoiceParam",
|
|
348
383
|
"ChatCompletionPredictionContentParam",
|
|
349
384
|
"ChatCompletionPredictionContentParamContent",
|
|
@@ -352,7 +387,6 @@ __all__ = [
|
|
|
352
387
|
"ChatCompletionSystemMessageParamContent",
|
|
353
388
|
"ChatCompletionToolMessageParam",
|
|
354
389
|
"ChatCompletionToolMessageParamContent",
|
|
355
|
-
"ChatCompletionToolParam",
|
|
356
390
|
"ChatCompletionUserMessageParam",
|
|
357
391
|
"ChatCompletionUserMessageParamContent",
|
|
358
392
|
"ChatCompletionUserMessageParamContentItem",
|
|
@@ -369,6 +403,8 @@ __all__ = [
|
|
|
369
403
|
"CompletionCreateParamsNonStreamingServiceTier",
|
|
370
404
|
"CompletionCreateParamsNonStreamingStop",
|
|
371
405
|
"CompletionCreateParamsNonStreamingToolChoice",
|
|
406
|
+
"CompletionCreateParamsNonStreamingToolsItem",
|
|
407
|
+
"CompletionCreateParamsNonStreamingVerbosity",
|
|
372
408
|
"CompletionCreateParamsStreaming",
|
|
373
409
|
"CompletionCreateParamsStreamingFunctionCall",
|
|
374
410
|
"CompletionCreateParamsStreamingMessagesItem",
|
|
@@ -379,6 +415,8 @@ __all__ = [
|
|
|
379
415
|
"CompletionCreateParamsStreamingServiceTier",
|
|
380
416
|
"CompletionCreateParamsStreamingStop",
|
|
381
417
|
"CompletionCreateParamsStreamingToolChoice",
|
|
418
|
+
"CompletionCreateParamsStreamingToolsItem",
|
|
419
|
+
"CompletionCreateParamsStreamingVerbosity",
|
|
382
420
|
"ComponentsSchemasTextContent",
|
|
383
421
|
"ConditionalToolRule",
|
|
384
422
|
"ConditionalToolRuleSchema",
|
|
@@ -387,6 +425,10 @@ __all__ = [
|
|
|
387
425
|
"ContinueToolRule",
|
|
388
426
|
"CoreMemoryBlockSchema",
|
|
389
427
|
"CreateBlock",
|
|
428
|
+
"CustomFormatGrammar",
|
|
429
|
+
"CustomFormatGrammarGrammar",
|
|
430
|
+
"CustomFormatGrammarGrammarSyntax",
|
|
431
|
+
"CustomFormatText",
|
|
390
432
|
"DuplicateFileHandling",
|
|
391
433
|
"DynamicManager",
|
|
392
434
|
"DynamicManagerUpdate",
|
|
@@ -487,7 +529,11 @@ __all__ = [
|
|
|
487
529
|
"NotFoundErrorBodyMessage",
|
|
488
530
|
"NpmRequirement",
|
|
489
531
|
"OmittedReasoningContent",
|
|
490
|
-
"
|
|
532
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustom",
|
|
533
|
+
"OpenaiTypesChatChatCompletionCustomToolParamCustomFormat",
|
|
534
|
+
"OpenaiTypesChatChatCompletionMessageCustomToolCallParamCustom",
|
|
535
|
+
"OpenaiTypesChatChatCompletionMessageFunctionToolCallParamFunction",
|
|
536
|
+
"OpenaiTypesChatChatCompletionNamedToolChoiceCustomParamCustom",
|
|
491
537
|
"OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction",
|
|
492
538
|
"OpenaiTypesChatCompletionCreateParamsFunction",
|
|
493
539
|
"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/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=ZAs-VX7e5ai1m1RGR52sfH9O14OHXFlwlk0KssUAHPE,23150
|
|
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=66_RPvWx2L-L0i9dsyK-uEy-Iec_bkfdvRHN4nq9-Z0,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=kbpwpC95kchFwxyBWOGlwNabyfP2SzZ3j1N-hHcvWZQ,28840
|
|
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
|
|
@@ -401,7 +416,7 @@ letta_client/types/mcp_tool.py,sha256=o-0Z8eDpkKR8oUb_OhwxPWMFTwN7S0_6k-EvQgW0ik
|
|
|
401
416
|
letta_client/types/mcp_tool_execute_request.py,sha256=SVH2RlYN6Lb95-8eSB_PZYpHK_lOqeEELIZTmw7jBVY,711
|
|
402
417
|
letta_client/types/mcp_tool_health.py,sha256=ToG3Ut-9nvPkdFNL4gzu1LMv4bNmD7yFZ-bkMO16mzg,866
|
|
403
418
|
letta_client/types/memory.py,sha256=VduNAXj6OQ9lbPKcC5mLUZmnM2yUCiWLTISbvcfs93U,1257
|
|
404
|
-
letta_client/types/message.py,sha256=
|
|
419
|
+
letta_client/types/message.py,sha256=CXrBISHLIqLbsQXiwAk6meNy7aCCARp5kO88c69oHUc,4760
|
|
405
420
|
letta_client/types/message_content_item.py,sha256=mu9j_dp-XAHQjbE0bv5wxMH3fTRW_dCtiIzbhdCMauw,630
|
|
406
421
|
letta_client/types/message_create.py,sha256=4R5kWzAzlK-95W_sI64LESyxS6cqs-_mvaYKpMI2pE0,1602
|
|
407
422
|
letta_client/types/message_create_content.py,sha256=pKppl-N8IdqR-ShWCZ0HN-3b13plPE2vSi6YcRM3w8o,227
|
|
@@ -414,7 +429,11 @@ letta_client/types/not_found_error_body.py,sha256=CVqqfbqSAe_dXn3jF72uTWx2pbYLdt
|
|
|
414
429
|
letta_client/types/not_found_error_body_message.py,sha256=Kc9xrVghgDATdPAGpTPnzyKe6ds5q8Vr6zcBU5lLcH4,309
|
|
415
430
|
letta_client/types/npm_requirement.py,sha256=XnJhQNy8ywDXzgKuT4wT8PTk-6umQ_3N7Ok9RKuyT2E,774
|
|
416
431
|
letta_client/types/omitted_reasoning_content.py,sha256=SW3FdgrmkcGwF4CH2cFx3KoYkJewjzmDeh8mP-UlHDI,623
|
|
417
|
-
letta_client/types/
|
|
432
|
+
letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py,sha256=qpE18SGU6NorQ3lziqS4Hy51f8HNgwi1DFhPAl9yclc,879
|
|
433
|
+
letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom_format.py,sha256=tu-G3vlXYK1pYbW86y1bXdbdh_70IF7l459GYZ9RgWY,296
|
|
434
|
+
letta_client/types/openai_types_chat_chat_completion_message_custom_tool_call_param_custom.py,sha256=1J_4Po51hTHIBG5MyKwH_gHZjRLvbL7Adx4QqbvWjXE,622
|
|
435
|
+
letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_param_function.py,sha256=hijQEemNQENudbTqjgpgoVYH9LUTM24TEeBPodUCdEA,630
|
|
436
|
+
letta_client/types/openai_types_chat_chat_completion_named_tool_choice_custom_param_custom.py,sha256=JUyK64k43ovsIQeMtGcnmYePDMKXmPuim4LTwiiSwzc,607
|
|
418
437
|
letta_client/types/openai_types_chat_chat_completion_named_tool_choice_param_function.py,sha256=exiuqKxoYd0HqYkNhlit0rFkdehpWW-7lWXN84bqZkw,603
|
|
419
438
|
letta_client/types/openai_types_chat_completion_create_params_function.py,sha256=JDT4bhBHxet5d4KpTZNZ00MYu5KUEMeqz8ecDeeCosI,722
|
|
420
439
|
letta_client/types/organization.py,sha256=RV0shhT3Lg3WlJG6vcIFRGb7lpf6nWCZGBofD67f4po,1081
|
|
@@ -519,6 +538,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
519
538
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
520
539
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
521
540
|
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.
|
|
541
|
+
letta_client-0.1.266.dist-info/METADATA,sha256=9u6ma870t6Mcg4G-Tu-Jo7faEllCKXX7BbnrLSTnxN8,5781
|
|
542
|
+
letta_client-0.1.266.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
543
|
+
letta_client-0.1.266.dist-info/RECORD,,
|
|
File without changes
|