We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a344a76 commit c56f4aaCopy full SHA for c56f4aa
packages/opencode/src/session/index.ts
@@ -579,7 +579,7 @@ export namespace Session {
579
})
580
581
export const updateMessage = fn(MessageV2.Info, async (msg) => {
582
- const time_created = msg.role === "user" ? msg.time.created : msg.time.created
+ const time_created = msg.time.created
583
const { id, sessionID, ...data } = msg
584
Database.use((db) => {
585
db.insert(MessageTable)
0 commit comments