summaryrefslogtreecommitdiffhomepage
path: root/internal/message
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-13 10:27:09 -0500
committeradamdottv <[email protected]>2025-05-13 10:27:09 -0500
commitae86ef519c5dc557914c29bd1786b1c87d8dcb95 (patch)
treee1b5f7bbeb74739c74055d205ad62181230f0b12 /internal/message
parent2391e338b4e41726e7233e2bf027a62476140130 (diff)
downloadopencode-ae86ef519c5dc557914c29bd1786b1c87d8dcb95.tar.gz
opencode-ae86ef519c5dc557914c29bd1786b1c87d8dcb95.zip
chore: refactoring
Diffstat (limited to 'internal/message')
-rw-r--r--internal/message/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/message/content.go b/internal/message/content.go
index 4509460af..0a1ba714b 100644
--- a/internal/message/content.go
+++ b/internal/message/content.go
@@ -318,7 +318,7 @@ func (m *Message) AddFinish(reason FinishReason) {
break
}
}
- m.Parts = append(m.Parts, Finish{Reason: reason, Time: time.Now().Unix()})
+ m.Parts = append(m.Parts, Finish{Reason: reason, Time: time.Now().UnixMilli()})
}
func (m *Message) AddImageURL(url, detail string) {