diff options
| author | adamdottv <[email protected]> | 2025-05-13 11:15:14 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-13 11:15:14 -0500 |
| commit | cf8e16018dceffa6a7c32022b8f81039f784142d (patch) | |
| tree | c85bcf9f16123eb7188ee09df9ae4f509c56b895 /internal/message/content.go | |
| parent | 674797bd48839771750ead0a160912a9bab02943 (diff) | |
| download | opencode-cf8e16018dceffa6a7c32022b8f81039f784142d.tar.gz opencode-cf8e16018dceffa6a7c32022b8f81039f784142d.zip | |
chore: refactoring
Diffstat (limited to 'internal/message/content.go')
| -rw-r--r-- | internal/message/content.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/message/content.go b/internal/message/content.go index d7b76f8ce..0e1608753 100644 --- a/internal/message/content.go +++ b/internal/message/content.go @@ -109,6 +109,11 @@ type Finish struct { Time time.Time `json:"time"` } +type DBFinish struct { + Reason FinishReason `json:"reason"` + Time int64 `json:"time"` +} + func (Finish) isPart() {} func (m *Message) Content() *TextContent { |
