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 1d6b8b1 commit 966dce6Copy full SHA for 966dce6
redisvl/extensions/cache/llm/langcache.py
@@ -527,7 +527,7 @@ async def astore(
527
logger.warning("LangCache does not support filters")
528
529
try:
530
- ttl_millis = int(ttl * 1000) if ttl is not None else None
+ ttl_millis = round(ttl * 1000) if ttl is not None else None
531
if metadata:
532
safe_metadata = _encode_attributes_for_langcache(metadata)
533
result = await self._client.set_async(
0 commit comments