Skip to content

Conversation

@agentifyanchor
Copy link

@agentifyanchor agentifyanchor commented Jan 27, 2026

Add LRU eviction for resource caches

@agentifyanchor
Copy link
Author

@microsoft-github-policy-service agree


from agentlightning.utils.cache import LRUCache

self._resource_cache: Dict[str, ResourcesUpdate] = LRUCache(capacity=100)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So where's this _resource_cache used? Did I miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants