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