Skip to main content

Module result_cache

Module result_cache 

Source
Expand description

Tool result caching for read-only operations

Caches results from read-only tools (grep, list_files, ast analysis) within a session to avoid re-running identical queries.

Uses exact-match caching for identical queries.

Structsยง

ToolCacheKey
Identifies a cached tool result
ToolResultCache
Tool result cache with LRU eviction