We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163023c commit db0db08Copy full SHA for db0db08
agent-memory-client/agent_memory_client/models.py
@@ -5,7 +5,7 @@
5
For full model definitions, see the main agent_memory_server package.
6
"""
7
8
-from datetime import UTC, datetime, timezone
+from datetime import datetime, timezone
9
from enum import Enum
10
from typing import Any, Literal
11
@@ -58,7 +58,7 @@ class MemoryMessage(BaseModel):
58
description="Unique identifier for the message (auto-generated)",
59
)
60
created_at: datetime = Field(
61
- default_factory=lambda: datetime.now(UTC),
+ default_factory=lambda: datetime.now(timezone.utc),
62
description="Timestamp when the message was created",
63
64
persisted_at: datetime | None = Field(
0 commit comments