HF RL Explorer

I need the embedded Go API to let callers inspect the remaining expiration time for keys stored in a…

I need the embedded Go API to let callers inspect the remaining expiration time for keys stored in a…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). After a caller obtains a DB with the existing ledis.Open(cfg config.Config) (ledis.Ledis, error) and (Ledis).Select(index…

The task

After a caller obtains a DB with the existing ledis.Open(cfg config.Config) (ledis.Ledis, error) and (Ledis).Select(index int) (ledis.DB, error) flow, the DB should expose these lookup methods: TTL(key []byte) (int64, error) for string keys, LTTL(key []byte) (int64, error) for…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.