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 980e56d commit c75f0b3Copy full SHA for c75f0b3
agent-memory-client/agent_memory_client/models.py
@@ -146,10 +146,9 @@ def validate_created_at(cls, data: Any) -> Any:
146
147
if created_at_value > max_allowed:
148
raise ValueError(
149
- f"created_at cannot be in the future. "
+ f"created_at cannot be more than {cls._max_future_seconds} seconds in the future. "
150
f"Received: {created_at_value.isoformat()}, "
151
- f"Max allowed (with {cls._max_future_seconds}s tolerance): "
152
- f"{max_allowed.isoformat()}"
+ f"Max allowed: {max_allowed.isoformat()}"
153
)
154
155
return data
0 commit comments