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 7b12f57 commit 1d6b8b1Copy full SHA for 1d6b8b1
redisvl/extensions/cache/llm/langcache.py
@@ -454,7 +454,7 @@ def store(
454
logger.warning("LangCache does not support filters")
455
456
try:
457
- ttl_millis = int(ttl * 1000) if ttl is not None else None
+ ttl_millis = round(ttl * 1000) if ttl is not None else None
458
if metadata:
459
safe_metadata = _encode_attributes_for_langcache(metadata)
460
result = self._client.set(
0 commit comments