fix: update snapshot caching to store the entire snapshot object instead of its model dump

This commit is contained in:
HibiKier
2025-12-31 09:23:51 +08:00
parent 46a924ca46
commit 4a103f5675
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ class PluginSnapshotService:
await CacheRoot.set(
CacheType.PLUGIN_SNAPSHOT,
cache_key,
snapshot.model_dump(),
snapshot,
expire=PLUGIN_REDIS_TTL,
)
except Exception: