|
1
|
from typing import Any |
|
2
|
from helpers.extension import Extension |
|
3
|
from helpers import cache |
|
4
|
|
|
5
|
|
|
6
|
class SaveToolCallFile(Extension): |
|
7
|
def execute(self, data: dict[str, Any] | None = None, **kwargs): |
|
8
|
# trim unused cache entries |
|
9
|
cache.trim_cache("*", seconds=300) |