Ask a question to get started
Enter to send•Shift+Enter new line
Set a value in the cache.
aset( self, key: str, value: Any, refresh_func: Callable[[], Awaitable[Any]] ) -> None
key
str
The cache key (prompt identifier).
value
Any
The value to cache.
refresh_func
Callable[[], Awaitable[Any]]
Async function to refresh this cache entry when stale.