letta-client 0.1.301__py3-none-any.whl → 0.1.303__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.301",
27
+ "User-Agent": "letta-client/0.1.303",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.301",
30
+ "X-Fern-SDK-Version": "0.1.303",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -130,6 +130,21 @@ class Message(UncheckedBaseModel):
130
130
  Whether this message is part of an error step. Used only for debugging purposes.
131
131
  """
132
132
 
133
+ approval_request_id: typing.Optional[str] = pydantic.Field(default=None)
134
+ """
135
+ The id of the approval request if this message is associated with a tool call request.
136
+ """
137
+
138
+ approve: typing.Optional[bool] = pydantic.Field(default=None)
139
+ """
140
+ Whether tool call is approved.
141
+ """
142
+
143
+ denial_reason: typing.Optional[str] = pydantic.Field(default=None)
144
+ """
145
+ The reason the tool call request was denied.
146
+ """
147
+
133
148
  if IS_PYDANTIC_V2:
134
149
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
135
150
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.301
3
+ Version: 0.1.303
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -90,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
90
90
  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
91
91
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
92
92
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
93
- letta_client/core/client_wrapper.py,sha256=6P73rmaBkBgQbqvspwSFKnYqYLzwo_wjb-eZdTREf0g,2776
93
+ letta_client/core/client_wrapper.py,sha256=Ydm7GekwN1rJ8kvUGhEyfqsaNsgM0vmUGuevQ0xLLUM,2776
94
94
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
95
95
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
96
96
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -451,7 +451,7 @@ letta_client/types/mcp_tool.py,sha256=o-0Z8eDpkKR8oUb_OhwxPWMFTwN7S0_6k-EvQgW0ik
451
451
  letta_client/types/mcp_tool_execute_request.py,sha256=SVH2RlYN6Lb95-8eSB_PZYpHK_lOqeEELIZTmw7jBVY,711
452
452
  letta_client/types/mcp_tool_health.py,sha256=ToG3Ut-9nvPkdFNL4gzu1LMv4bNmD7yFZ-bkMO16mzg,866
453
453
  letta_client/types/memory.py,sha256=VduNAXj6OQ9lbPKcC5mLUZmnM2yUCiWLTISbvcfs93U,1257
454
- letta_client/types/message.py,sha256=ElThmDE3A1b8akYUCsIzOSW8T1ZJ_DvdZ5u5WENZpBQ,4779
454
+ letta_client/types/message.py,sha256=i4b5EFfgzF0DN02OZTnuKzGSlW3RNjGAixctg7CLH40,5219
455
455
  letta_client/types/message_content_item.py,sha256=mu9j_dp-XAHQjbE0bv5wxMH3fTRW_dCtiIzbhdCMauw,630
456
456
  letta_client/types/message_create.py,sha256=OCmj0ZZLk2v48I4w3vZOXAmt7tySBG6U0iYZv4vsXEo,1739
457
457
  letta_client/types/message_create_content.py,sha256=pKppl-N8IdqR-ShWCZ0HN-3b13plPE2vSi6YcRM3w8o,227
@@ -575,6 +575,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
575
575
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
576
576
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
577
577
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
578
- letta_client-0.1.301.dist-info/METADATA,sha256=LhHUYqhMPvL0LaLLrMhyG43znjI889kKUxeKN8ajMtM,5782
579
- letta_client-0.1.301.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
580
- letta_client-0.1.301.dist-info/RECORD,,
578
+ letta_client-0.1.303.dist-info/METADATA,sha256=-JPN05D03IBN1iIGQJLkPLzPJu75o3ViMrsELp2Fna0,5782
579
+ letta_client-0.1.303.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
580
+ letta_client-0.1.303.dist-info/RECORD,,