put

abstract suspend fun put(request: PromptCache.Request, response: List<Message.Response>)(source)

Put a response in the cache for a request.

Parameters

request

The request to cache the response for

response

The response to cache