fix(session): preserve usage update timestamps (#27094)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user