Skip to main content

CachingConfig

Defined in the feature_configs module.
Configuration for caching behavior. Consolidates: cache, prompt_caching

Properties

enabled
bool
No description available.
prompt_caching
Optional
No description available.
  • to_dict: Convert to dictionary.

Usage

# Simple enable
    Agent(caching=True)
    
    # With config
    Agent(caching=CachingConfig(
        enabled=True,
        prompt_caching=True,
    ))