Skip to content

Commit c75f0b3

Browse files
fcenedesCopilot
andauthored
Update agent-memory-client/agent_memory_client/models.py
Co-authored-by: Copilot <[email protected]>
1 parent 980e56d commit c75f0b3

File tree

1 file changed

+2
-3
lines changed
  • agent-memory-client/agent_memory_client

1 file changed

+2
-3
lines changed

agent-memory-client/agent_memory_client/models.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,9 @@ def validate_created_at(cls, data: Any) -> Any:
146146

147147
if created_at_value > max_allowed:
148148
raise ValueError(
149-
f"created_at cannot be in the future. "
149+
f"created_at cannot be more than {cls._max_future_seconds} seconds in the future. "
150150
f"Received: {created_at_value.isoformat()}, "
151-
f"Max allowed (with {cls._max_future_seconds}s tolerance): "
152-
f"{max_allowed.isoformat()}"
151+
f"Max allowed: {max_allowed.isoformat()}"
153152
)
154153

155154
return data

0 commit comments

Comments
 (0)