Class CacheEligibilityResolver

java.lang.Object
org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver

public class CacheEligibilityResolver extends Object
Resolves cache eligibility for messages based on the provided AnthropicCacheOptions. Note: Tool definition messages are always considered for caching if the strategy includes system messages. The minimum content length check is not applied to tool definition messages.
Since:
1.1.0
Author:
Austin Dase, Soby Chacko