fix(session): preserve usage update timestamps (#27094)

This commit is contained in:
Shoubhit Dash
2026-05-12 22:10:28 +05:30
committed by GitHub
parent d658e1e350
commit 3dc2c1d81c
2 changed files with 3 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ export const layer = Layer.effect(
tokens_reasoning: value.tokens.reasoning,
tokens_cache_read: value.tokens.cache.read,
tokens_cache_write: value.tokens.cache.write,
time_updated: sql`${SessionTable.time_updated}`,
})
.where(eq(SessionTable.id, sessionID))
.run()