mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 05:28:16 +00:00
chore: refactoring
This commit is contained in:
parent
674797bd48
commit
cf8e16018d
2 changed files with 10 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue