Specify lifetime for custom Cache
Closed this issue · 0 comments
marcominerva commented
Currently, custom Cache implementing IChatGptCache is always registered as singleton. To better support all scenarios, it is necessary to add the ability to specify the lifetime of the service.