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

@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "letta-client",
19
- "X-Fern-SDK-Version": "0.1.101",
19
+ "X-Fern-SDK-Version": "0.1.102",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -53,39 +53,39 @@ class Message(UncheckedBaseModel):
53
53
  The human-friendly ID of the Message
54
54
  """
55
55
 
56
- role: MessageRole = pydantic.Field()
56
+ agent_id: typing.Optional[str] = pydantic.Field(default=None)
57
57
  """
58
- The role of the participant.
58
+ The unique identifier of the agent.
59
59
  """
60
60
 
61
- content: typing.Optional[typing.List[MessageContentItem]] = pydantic.Field(default=None)
61
+ model: typing.Optional[str] = pydantic.Field(default=None)
62
62
  """
63
- The content of the message.
63
+ The model used to make the function call.
64
64
  """
65
65
 
66
- agent_id: typing.Optional[str] = pydantic.Field(default=None)
66
+ role: MessageRole = pydantic.Field()
67
67
  """
68
- The unique identifier of the agent.
68
+ The role of the participant.
69
69
  """
70
70
 
71
- model: typing.Optional[str] = pydantic.Field(default=None)
71
+ content: typing.Optional[typing.List[MessageContentItem]] = pydantic.Field(default=None)
72
72
  """
73
- The model used to make the function call.
73
+ The content of the message.
74
74
  """
75
75
 
76
76
  name: typing.Optional[str] = pydantic.Field(default=None)
77
77
  """
78
- The name of the participant.
78
+ For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called.
79
79
  """
80
80
 
81
81
  tool_calls: typing.Optional[typing.List[ChatCompletionMessageToolCall]] = pydantic.Field(default=None)
82
82
  """
83
- The list of tool calls requested.
83
+ The list of tool calls requested. Only applicable for role assistant.
84
84
  """
85
85
 
86
86
  tool_call_id: typing.Optional[str] = pydantic.Field(default=None)
87
87
  """
88
- The id of the tool call.
88
+ The ID of the tool call. Only applicable for role tool.
89
89
  """
90
90
 
91
91
  step_id: typing.Optional[str] = pydantic.Field(default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.101
3
+ Version: 0.1.102
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -44,7 +44,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
44
44
  letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
45
45
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
46
46
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
47
- letta_client/core/client_wrapper.py,sha256=BjLyo0-ZdGAb0s0pt-T0WrAOnV1S1Haeo3pFE6Iv7nQ,1998
47
+ letta_client/core/client_wrapper.py,sha256=zbdOYMyMq14fGL5Fd7kALrelcto87WM0_es2CoS5Pj4,1998
48
48
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
49
49
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
50
50
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -235,7 +235,7 @@ letta_client/types/max_count_per_step_tool_rule_schema.py,sha256=1Zq4vblRTqFycqk
235
235
  letta_client/types/mcp_server_type.py,sha256=Hv45mKMPzmey2UVjwrTAvWXP1sDd13UwAtvtogBloLo,153
236
236
  letta_client/types/mcp_tool.py,sha256=_GSTb0k8l-IUEflRkQ6-v45UnbTcA4Nv1N8sgmExJQ0,912
237
237
  letta_client/types/memory.py,sha256=KD5MkDQB-vbRPT9f_-yFBWY1WUW_NWxYEI0IiflG6P8,1035
238
- letta_client/types/message.py,sha256=g7iDdt_ZZRsTAtDylSgzlJJjttjczjVmXLELYzTEgcI,3617
238
+ letta_client/types/message.py,sha256=AqByBZj_7Q_EvAFJNF5_VSA3Xh2vlkagzpA6ga4JBCs,3777
239
239
  letta_client/types/message_content_item.py,sha256=mg2npSBRXsH7-fAwhx9YhkVbeCF3cM8pE6fPYtUDIyc,550
240
240
  letta_client/types/message_create.py,sha256=CyiRbarJjzm4VeqwX5diMhppWGqsXy6mB_OSxIHtX3c,1148
241
241
  letta_client/types/message_create_content.py,sha256=KL3XAVKVrdsh4DZwdxKofUyehS-vnOT_VJNVzZDpE20,226
@@ -323,6 +323,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
323
323
  letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
324
324
  letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
325
325
  letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
326
- letta_client-0.1.101.dist-info/METADATA,sha256=cgPoJMk5KnSIqQFvDV3M_WJu2KrDEmM_Qqqr6sTXesg,5042
327
- letta_client-0.1.101.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
- letta_client-0.1.101.dist-info/RECORD,,
326
+ letta_client-0.1.102.dist-info/METADATA,sha256=wCvf_HkjoSWGFWWxPJ2eertlZHQFycSb09zRlZeV5hw,5042
327
+ letta_client-0.1.102.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
+ letta_client-0.1.102.dist-info/RECORD,,