Get LLM chat cache size

llm_cache_size(provider = NULL)

Arguments

provider

Optional character string. If provided, only cache entries for that backend are counted.

Value

Integer count of currently cached LLM responses.