letta-nightly 0.6.3.dev20241211050151__py3-none-any.whl → 0.6.3.dev20241211104238__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-nightly might be problematic. Click here for more details.
- letta/schemas/message.py +3 -3
- {letta_nightly-0.6.3.dev20241211050151.dist-info → letta_nightly-0.6.3.dev20241211104238.dist-info}/METADATA +1 -1
- {letta_nightly-0.6.3.dev20241211050151.dist-info → letta_nightly-0.6.3.dev20241211104238.dist-info}/RECORD +6 -6
- {letta_nightly-0.6.3.dev20241211050151.dist-info → letta_nightly-0.6.3.dev20241211104238.dist-info}/LICENSE +0 -0
- {letta_nightly-0.6.3.dev20241211050151.dist-info → letta_nightly-0.6.3.dev20241211104238.dist-info}/WHEEL +0 -0
- {letta_nightly-0.6.3.dev20241211050151.dist-info → letta_nightly-0.6.3.dev20241211104238.dist-info}/entry_points.txt +0 -0
letta/schemas/message.py
CHANGED
|
@@ -4,7 +4,7 @@ import warnings
|
|
|
4
4
|
from datetime import datetime, timezone
|
|
5
5
|
from typing import List, Literal, Optional
|
|
6
6
|
|
|
7
|
-
from pydantic import Field, field_validator
|
|
7
|
+
from pydantic import BaseModel, Field, field_validator
|
|
8
8
|
|
|
9
9
|
from letta.constants import (
|
|
10
10
|
DEFAULT_MESSAGE_TOOL,
|
|
@@ -54,7 +54,7 @@ class BaseMessage(OrmMetadataBase):
|
|
|
54
54
|
__id_prefix__ = "message"
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
class MessageCreate(
|
|
57
|
+
class MessageCreate(BaseModel):
|
|
58
58
|
"""Request to create a message"""
|
|
59
59
|
|
|
60
60
|
# In the simplified format, only allow simple roles
|
|
@@ -66,7 +66,7 @@ class MessageCreate(BaseMessage):
|
|
|
66
66
|
name: Optional[str] = Field(None, description="The name of the participant.")
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
class MessageUpdate(
|
|
69
|
+
class MessageUpdate(BaseModel):
|
|
70
70
|
"""Request to update a message"""
|
|
71
71
|
|
|
72
72
|
role: Optional[MessageRole] = Field(None, description="The role of the participant.")
|
|
@@ -154,7 +154,7 @@ letta/schemas/letta_request.py,sha256=Hfb66FB1tXmrpEX4_yLQVfTrTSMbPYeEvZY-vqW9Tj
|
|
|
154
154
|
letta/schemas/letta_response.py,sha256=vQV5uqe-kq9fc4wCo-sVB_PJt5yUk8DB2zOgHsrmN-k,6189
|
|
155
155
|
letta/schemas/llm_config.py,sha256=RbgnCaqYd_yl-Xs7t-DEI1NhpKD8WiVWjxcwq5mZd5M,4467
|
|
156
156
|
letta/schemas/memory.py,sha256=80Y7gqWQQndhNkJ-0j38d2m619gTlfes_qJNA6_ant8,10040
|
|
157
|
-
letta/schemas/message.py,sha256=
|
|
157
|
+
letta/schemas/message.py,sha256=QF6OrCVfh5ETo-KJ2KZpleAuvisBIMMsIL3uH6h_kMM,34161
|
|
158
158
|
letta/schemas/openai/chat_completion_request.py,sha256=AOIwgbN3CZKVqkuXeMHeSa53u4h0wVq69t3T_LJ0vIE,3389
|
|
159
159
|
letta/schemas/openai/chat_completion_response.py,sha256=ub-oVSyLpuJd-5_yzCSIRR8tD3GM83IeDO1c1uAATa4,3970
|
|
160
160
|
letta/schemas/openai/chat_completions.py,sha256=V0ZPIIk-ds3O6MAkNHMz8zh1hqMFSPrTcYr88WDYzWE,3588
|
|
@@ -233,8 +233,8 @@ letta/streaming_interface.py,sha256=_FPUWy58j50evHcpXyd7zB1wWqeCc71NCFeWh_TBvnw,
|
|
|
233
233
|
letta/streaming_utils.py,sha256=329fsvj1ZN0r0LpQtmMPZ2vSxkDBIUUwvGHZFkjm2I8,11745
|
|
234
234
|
letta/system.py,sha256=buKYPqG5n2x41hVmWpu6JUpyd7vTWED9Km2_M7dLrvk,6960
|
|
235
235
|
letta/utils.py,sha256=L8c6S77gyMYFgVP6ncGRaNbGjWtg6BOU_whI1vjt9Ts,32915
|
|
236
|
-
letta_nightly-0.6.3.
|
|
237
|
-
letta_nightly-0.6.3.
|
|
238
|
-
letta_nightly-0.6.3.
|
|
239
|
-
letta_nightly-0.6.3.
|
|
240
|
-
letta_nightly-0.6.3.
|
|
236
|
+
letta_nightly-0.6.3.dev20241211104238.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
|
|
237
|
+
letta_nightly-0.6.3.dev20241211104238.dist-info/METADATA,sha256=OzyQk10br4NZoCh6A9oPl4_JKTjAt0P_Ws3-o56VDo0,19560
|
|
238
|
+
letta_nightly-0.6.3.dev20241211104238.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
239
|
+
letta_nightly-0.6.3.dev20241211104238.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
|
|
240
|
+
letta_nightly-0.6.3.dev20241211104238.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|