I want a stateful cache storage package that exposes data layer.DataLayerInterface and two…
I want a stateful cache storage package that exposes data layer.DataLayerInterface and two…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For MemoryLayer , Init should create an in-process TTL cache sized from CacheConfig.CacheSize and store TTL behavior from…
The task
For `MemoryLayer`, `Init` should create an in-process TTL cache sized from `CacheConfig.CacheSize` and store TTL behavior from `CacheConfig.CacheTTL`. In a concrete session, after `SetKey(ctx, util.Kv{Key: "user:1", Value: "alice"})`, `KeyExists(ctx, "user:1")` should return `true, nil` and `GetValue(ctx, "user:1")`…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.