diff --git a/gateway/platforms/base.py b/gateway/platforms/base.py index 91e360e7f4cb..94640271ca7b 100644 --- a/gateway/platforms/base.py +++ b/gateway/platforms/base.py @@ -847,6 +847,13 @@ def cache_video_from_bytes(data: bytes, ext: str = ".mp4") -> str: _HERMES_HOME / "video_cache", _HERMES_HOME / "document_cache", _HERMES_HOME / "browser_screenshots", + # Hardcoded cache subdirectories used by image_gen_provider.save_b64_image() + # and other built-in tooling that writes to get_hermes_home() / "cache" / * + _HERMES_HOME / "cache" / "images", + _HERMES_HOME / "cache" / "audio", + _HERMES_HOME / "cache" / "videos", + _HERMES_HOME / "cache" / "documents", + _HERMES_HOME / "cache" / "screenshots", ) # Default recency window for trusting freshly-produced files (seconds).