letta-client 0.1.321__py3-none-any.whl → 0.1.323__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of letta-client might be problematic. Click here for more details.

Files changed (107) hide show
  1. letta_client/__init__.py +10 -182
  2. letta_client/core/client_wrapper.py +2 -2
  3. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py +1 -0
  4. letta_client/types/__init__.py +10 -196
  5. letta_client/types/agent_type.py +1 -0
  6. letta_client/types/{chat_completion_message_function_tool_call_output.py → chat_completion_message_function_tool_call.py} +3 -3
  7. letta_client/types/{function_call.py → function.py} +1 -1
  8. letta_client/types/{function_definition_input.py → function_definition.py} +1 -1
  9. letta_client/types/function_tool.py +2 -2
  10. letta_client/types/letta_schemas_agent_file_message_schema.py +2 -2
  11. letta_client/types/message.py +2 -2
  12. letta_client/types/message_content_item.py +2 -0
  13. letta_client/types/omitted_reasoning_content.py +4 -0
  14. letta_client/types/reasoning_content.py +4 -0
  15. letta_client/types/redacted_reasoning_content.py +4 -0
  16. letta_client/types/summarized_reasoning_content.py +39 -0
  17. letta_client/types/{chat_completion_content_part_refusal_param.py → summarized_reasoning_content_part.py} +10 -3
  18. {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/METADATA +1 -1
  19. {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/RECORD +20 -106
  20. letta_client/types/audio.py +0 -20
  21. letta_client/types/chat_completion_allowed_tool_choice_param.py +0 -22
  22. letta_client/types/chat_completion_allowed_tools_param.py +0 -22
  23. letta_client/types/chat_completion_allowed_tools_param_mode.py +0 -5
  24. letta_client/types/chat_completion_assistant_message_param.py +0 -30
  25. letta_client/types/chat_completion_assistant_message_param_content.py +0 -9
  26. letta_client/types/chat_completion_assistant_message_param_content_item.py +0 -10
  27. letta_client/types/chat_completion_assistant_message_param_tool_calls_item.py +0 -10
  28. letta_client/types/chat_completion_audio_param.py +0 -23
  29. letta_client/types/chat_completion_audio_param_format.py +0 -5
  30. letta_client/types/chat_completion_audio_param_voice.py +0 -15
  31. letta_client/types/chat_completion_content_part_image_param.py +0 -22
  32. letta_client/types/chat_completion_content_part_input_audio_param.py +0 -22
  33. letta_client/types/chat_completion_content_part_text_param.py +0 -21
  34. letta_client/types/chat_completion_custom_tool_param.py +0 -24
  35. letta_client/types/chat_completion_developer_message_param.py +0 -23
  36. letta_client/types/chat_completion_developer_message_param_content.py +0 -7
  37. letta_client/types/chat_completion_function_call_option_param.py +0 -20
  38. letta_client/types/chat_completion_function_message_param.py +0 -22
  39. letta_client/types/chat_completion_function_tool_param.py +0 -22
  40. letta_client/types/chat_completion_message_custom_tool_call_param.py +0 -25
  41. letta_client/types/chat_completion_message_function_tool_call_input.py +0 -25
  42. letta_client/types/chat_completion_message_function_tool_call_param.py +0 -25
  43. letta_client/types/chat_completion_named_tool_choice_custom_param.py +0 -24
  44. letta_client/types/chat_completion_named_tool_choice_param.py +0 -24
  45. letta_client/types/chat_completion_prediction_content_param.py +0 -22
  46. letta_client/types/chat_completion_prediction_content_param_content.py +0 -7
  47. letta_client/types/chat_completion_stream_options_param.py +0 -21
  48. letta_client/types/chat_completion_system_message_param.py +0 -23
  49. letta_client/types/chat_completion_system_message_param_content.py +0 -7
  50. letta_client/types/chat_completion_tool_message_param.py +0 -23
  51. letta_client/types/chat_completion_tool_message_param_content.py +0 -7
  52. letta_client/types/chat_completion_user_message_param.py +0 -23
  53. letta_client/types/chat_completion_user_message_param_content.py +0 -7
  54. letta_client/types/chat_completion_user_message_param_content_item.py +0 -15
  55. letta_client/types/completion_create_params_non_streaming.py +0 -69
  56. letta_client/types/completion_create_params_non_streaming_function_call.py +0 -9
  57. letta_client/types/completion_create_params_non_streaming_messages_item.py +0 -19
  58. letta_client/types/completion_create_params_non_streaming_modalities_item.py +0 -5
  59. letta_client/types/completion_create_params_non_streaming_model.py +0 -69
  60. letta_client/types/completion_create_params_non_streaming_reasoning_effort.py +0 -7
  61. letta_client/types/completion_create_params_non_streaming_response_format.py +0 -11
  62. letta_client/types/completion_create_params_non_streaming_service_tier.py +0 -7
  63. letta_client/types/completion_create_params_non_streaming_stop.py +0 -5
  64. letta_client/types/completion_create_params_non_streaming_tool_choice.py +0 -16
  65. letta_client/types/completion_create_params_non_streaming_tools_item.py +0 -10
  66. letta_client/types/completion_create_params_non_streaming_verbosity.py +0 -5
  67. letta_client/types/completion_create_params_streaming.py +0 -69
  68. letta_client/types/completion_create_params_streaming_function_call.py +0 -9
  69. letta_client/types/completion_create_params_streaming_messages_item.py +0 -19
  70. letta_client/types/completion_create_params_streaming_modalities_item.py +0 -5
  71. letta_client/types/completion_create_params_streaming_model.py +0 -69
  72. letta_client/types/completion_create_params_streaming_reasoning_effort.py +0 -7
  73. letta_client/types/completion_create_params_streaming_response_format.py +0 -11
  74. letta_client/types/completion_create_params_streaming_service_tier.py +0 -7
  75. letta_client/types/completion_create_params_streaming_stop.py +0 -5
  76. letta_client/types/completion_create_params_streaming_tool_choice.py +0 -16
  77. letta_client/types/completion_create_params_streaming_tools_item.py +0 -8
  78. letta_client/types/completion_create_params_streaming_verbosity.py +0 -5
  79. letta_client/types/custom_format_grammar.py +0 -22
  80. letta_client/types/custom_format_grammar_grammar.py +0 -22
  81. letta_client/types/custom_format_grammar_grammar_syntax.py +0 -5
  82. letta_client/types/custom_format_text.py +0 -20
  83. letta_client/types/file.py +0 -22
  84. letta_client/types/file_file.py +0 -22
  85. letta_client/types/function_definition_output.py +0 -23
  86. letta_client/types/function_output.py +0 -21
  87. letta_client/types/image_url.py +0 -22
  88. letta_client/types/image_url_detail.py +0 -5
  89. letta_client/types/input_audio.py +0 -22
  90. letta_client/types/input_audio_format.py +0 -5
  91. letta_client/types/json_schema.py +0 -27
  92. letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom.py +0 -25
  93. letta_client/types/openai_types_chat_chat_completion_custom_tool_param_custom_format.py +0 -8
  94. letta_client/types/openai_types_chat_chat_completion_message_custom_tool_call_param_custom.py +0 -21
  95. letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_function.py +0 -21
  96. letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_param_function.py +0 -21
  97. letta_client/types/openai_types_chat_chat_completion_named_tool_choice_custom_param_custom.py +0 -20
  98. letta_client/types/openai_types_chat_chat_completion_named_tool_choice_param_function.py +0 -20
  99. letta_client/types/openai_types_chat_completion_create_params_function.py +0 -22
  100. letta_client/types/response_format_json_object.py +0 -20
  101. letta_client/types/response_format_json_schema.py +0 -22
  102. letta_client/types/response_format_text.py +0 -20
  103. letta_client/types/web_search_options.py +0 -23
  104. letta_client/types/web_search_options_search_context_size.py +0 -5
  105. letta_client/types/web_search_options_user_location.py +0 -22
  106. letta_client/types/web_search_options_user_location_approximate.py +0 -23
  107. {letta_client-0.1.321.dist-info → letta_client-0.1.323.dist-info}/WHEEL +0 -0
@@ -1,23 +0,0 @@
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 .web_search_options_search_context_size import WebSearchOptionsSearchContextSize
9
- from .web_search_options_user_location import WebSearchOptionsUserLocation
10
-
11
-
12
- class WebSearchOptions(UncheckedBaseModel):
13
- search_context_size: typing.Optional[WebSearchOptionsSearchContextSize] = None
14
- user_location: typing.Optional[WebSearchOptionsUserLocation] = None
15
-
16
- if IS_PYDANTIC_V2:
17
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
- else:
19
-
20
- class Config:
21
- frozen = True
22
- smart_union = True
23
- extra = pydantic.Extra.allow
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- WebSearchOptionsSearchContextSize = typing.Union[typing.Literal["low", "medium", "high"], typing.Any]
@@ -1,22 +0,0 @@
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 .web_search_options_user_location_approximate import WebSearchOptionsUserLocationApproximate
9
-
10
-
11
- class WebSearchOptionsUserLocation(UncheckedBaseModel):
12
- approximate: WebSearchOptionsUserLocationApproximate
13
- type: typing.Literal["approximate"] = "approximate"
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
@@ -1,23 +0,0 @@
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 WebSearchOptionsUserLocationApproximate(UncheckedBaseModel):
11
- city: typing.Optional[str] = None
12
- country: typing.Optional[str] = None
13
- region: typing.Optional[str] = None
14
- timezone: typing.Optional[str] = None
15
-
16
- if IS_PYDANTIC_V2:
17
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
- else:
19
-
20
- class Config:
21
- frozen = True
22
- smart_union = True
23
- extra = pydantic.Extra.allow