letta-client 0.1.250__py3-none-any.whl → 0.1.251__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.

@@ -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.250",
27
+ "User-Agent": "letta-client/0.1.251",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.250",
30
+ "X-Fern-SDK-Version": "0.1.251",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -3,16 +3,14 @@
3
3
  import typing
4
4
 
5
5
  import pydantic
6
- import typing_extensions
7
6
  from ...core.pydantic_utilities import IS_PYDANTIC_V2
8
- from ...core.serialization import FieldMetadata
9
7
  from ...core.unchecked_base_model import UncheckedBaseModel
10
8
  from .templates_list_response_templates_item import TemplatesListResponseTemplatesItem
11
9
 
12
10
 
13
11
  class TemplatesListResponse(UncheckedBaseModel):
14
12
  templates: typing.List[TemplatesListResponseTemplatesItem]
15
- has_next_page: typing_extensions.Annotated[bool, FieldMetadata(alias="hasNextPage")]
13
+ has_next_page: bool
16
14
 
17
15
  if IS_PYDANTIC_V2:
18
16
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -10,6 +10,12 @@ from ...core.unchecked_base_model import UncheckedBaseModel
10
10
  class TemplatesListResponseTemplatesItem(UncheckedBaseModel):
11
11
  name: str
12
12
  id: str
13
+ project_id: str
14
+ project_slug: str
15
+ template_deployment_slug: str = pydantic.Field()
16
+ """
17
+ The full name of the template, including version and project slug
18
+ """
13
19
 
14
20
  if IS_PYDANTIC_V2:
15
21
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -39,8 +39,10 @@ class CompletionCreateParamsNonStreaming(UncheckedBaseModel):
39
39
  parallel_tool_calls: typing.Optional[bool] = None
40
40
  prediction: typing.Optional[ChatCompletionPredictionContentParam] = None
41
41
  presence_penalty: typing.Optional[float] = None
42
+ prompt_cache_key: typing.Optional[str] = None
42
43
  reasoning_effort: typing.Optional[CompletionCreateParamsNonStreamingReasoningEffort] = None
43
44
  response_format: typing.Optional[CompletionCreateParamsNonStreamingResponseFormat] = None
45
+ safety_identifier: typing.Optional[str] = None
44
46
  seed: typing.Optional[int] = None
45
47
  service_tier: typing.Optional[CompletionCreateParamsNonStreamingServiceTier] = None
46
48
  stop: typing.Optional[CompletionCreateParamsNonStreamingStop] = None
@@ -39,8 +39,10 @@ class CompletionCreateParamsStreaming(UncheckedBaseModel):
39
39
  parallel_tool_calls: typing.Optional[bool] = None
40
40
  prediction: typing.Optional[ChatCompletionPredictionContentParam] = None
41
41
  presence_penalty: typing.Optional[float] = None
42
+ prompt_cache_key: typing.Optional[str] = None
42
43
  reasoning_effort: typing.Optional[CompletionCreateParamsStreamingReasoningEffort] = None
43
44
  response_format: typing.Optional[CompletionCreateParamsStreamingResponseFormat] = None
45
+ safety_identifier: typing.Optional[str] = None
44
46
  seed: typing.Optional[int] = None
45
47
  service_tier: typing.Optional[CompletionCreateParamsStreamingServiceTier] = None
46
48
  stop: typing.Optional[CompletionCreateParamsStreamingStop] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.250
3
+ Version: 0.1.251
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -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=MlzqdkjXBYTb98JUPGIUpdtz3axVxW40_dnk6Dkht1M,2776
95
+ letta_client/core/client_wrapper.py,sha256=821t2hlyix0-w0LCIeeBUMNU-3gIF9gdfvWrR-qTrao,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
@@ -212,8 +212,8 @@ letta_client/templates/agents/types/agents_create_response.py,sha256=P5sppbD_qW7
212
212
  letta_client/templates/client.py,sha256=-U27Wp3m2xQetgHOZ4awwAboyfJkhn2eHccG05ENdys,3826
213
213
  letta_client/templates/raw_client.py,sha256=SnmeCCODOmXYtTu_xb5QVswl5nZ1AYAgoi5vgcUe0mM,4437
214
214
  letta_client/templates/types/__init__.py,sha256=dYa1-Xhxgs1FUtz6gkhZhY59EZuhmBDqh2A7Z4cSBYw,306
215
- letta_client/templates/types/templates_list_response.py,sha256=w34WEjxLHwApK4f57mHz7rH2_2WN-t-rq7Z7yG_3JJQ,867
216
- letta_client/templates/types/templates_list_response_templates_item.py,sha256=HkPDLxOghdyIYKplK7IGXPHCIFIWRMWw3-v99dE-gs8,594
215
+ letta_client/templates/types/templates_list_response.py,sha256=M2vTXGuqbQBEsh-lO0OWLRaYk5VgWD7pUTfOeERAyXk,729
216
+ letta_client/templates/types/templates_list_response_templates_item.py,sha256=qplmgPLb_EtucsvkZ9GFj7BCq6D7OSqtVQ2rnMacO_g,775
217
217
  letta_client/tools/__init__.py,sha256=ZR4ev9ZmyWZl9iJPXK_FRk79YjgIytkA_2TlNS1PaQI,725
218
218
  letta_client/tools/client.py,sha256=KiKplM1UMmdbsYyV1DgRycWJrtBncR8s3in_YQ4gT44,58657
219
219
  letta_client/tools/raw_client.py,sha256=Gq40VjZJOzEQd6e8eLvU8eBx7vxC9iHhdS6irpaNp2A,104979
@@ -285,7 +285,7 @@ letta_client/types/chat_completion_user_message_param_content_item.py,sha256=Vfi
285
285
  letta_client/types/child_tool_rule.py,sha256=5Wl7jQgpSSTqYvK29yrQotZebjzQL1ACweJhTVNhpfo,1121
286
286
  letta_client/types/child_tool_rule_schema.py,sha256=g43as4Qsi7p_kL9pnheGdJwaYbfhYdOKr-fpy3V0Ic4,615
287
287
  letta_client/types/code_input.py,sha256=P5UBaxX2gz3qWZAORtSEhpVDOy_i6JPIJ7CjA-g1veo,638
288
- letta_client/types/completion_create_params_non_streaming.py,sha256=no6QwCZV6TIXH6yoiCn62jhQnMTrDwgdxHVSLOBbHF4,4009
288
+ letta_client/types/completion_create_params_non_streaming.py,sha256=WtfSfUapc6UKhyyVku98I9hZMIPAlJpiiT69d5CoUXM,4110
289
289
  letta_client/types/completion_create_params_non_streaming_function_call.py,sha256=rOhhZE6sp3nXl7eza8uPzc1CKsG3cn-fa8x8wvsqfh0,330
290
290
  letta_client/types/completion_create_params_non_streaming_messages_item.py,sha256=_oNVb2SP0tpUWPtmPwbBS6jVP33j8uHmcsG83rFmKbE,884
291
291
  letta_client/types/completion_create_params_non_streaming_modalities_item.py,sha256=BuyCf2nTCWVhishXFk3CsQphnPwNXj-kBdPMjkb8X10,189
@@ -295,7 +295,7 @@ letta_client/types/completion_create_params_non_streaming_response_format.py,sha
295
295
  letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=ZmQ9USOqB1Tq2XvmbOLxz_BWAgMq1EU1BPxzmSsA38M,223
296
296
  letta_client/types/completion_create_params_non_streaming_stop.py,sha256=5vPdgab7iH6eDizESU2_CMieWN5CN3pF8TZs-Zb7rMw,157
297
297
  letta_client/types/completion_create_params_non_streaming_tool_choice.py,sha256=qJW9qnwJ7dtNQyqniHnWrAxK-B54LuWimE-KCObh46w,347
298
- letta_client/types/completion_create_params_streaming.py,sha256=AulVeOamNg_rW3cBqoiT9sMSmiUrfU4__tZmxvBzV68,3892
298
+ letta_client/types/completion_create_params_streaming.py,sha256=ROefIpgs1OhaI56A8Pgi_q3siSdJVdqzrYLpmU6o1C4,3993
299
299
  letta_client/types/completion_create_params_streaming_function_call.py,sha256=qBqeR4gU4MO5kshKuOwQf04aJAxyjgcbi1ZMeFpVfNk,327
300
300
  letta_client/types/completion_create_params_streaming_messages_item.py,sha256=jucJqEz5LgFxo0MGT4aDLu9aZXYPUjUD2CE2C8VcBj4,881
301
301
  letta_client/types/completion_create_params_streaming_modalities_item.py,sha256=o9ZU7r22WrE6z-BSJ72LJXHtVRIpK499WArVgY-ODgI,186
@@ -501,6 +501,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
501
501
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
502
502
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
503
503
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
504
- letta_client-0.1.250.dist-info/METADATA,sha256=b_-Vgcw1CjRa827o_A-ug-uHaSytwkG8TCaDVm2ZWAM,5781
505
- letta_client-0.1.250.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
506
- letta_client-0.1.250.dist-info/RECORD,,
504
+ letta_client-0.1.251.dist-info/METADATA,sha256=ehiH0-KIa0ByL9D4zeXO0lR8S9Qu16wqmAVPt8ZPffI,5781
505
+ letta_client-0.1.251.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
506
+ letta_client-0.1.251.dist-info/RECORD,,