mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
8bf0ac5362
commit
b23af5abe0
2 changed files with 8 additions and 0 deletions
|
|
@ -570,6 +570,9 @@ function UserMessage(props: {
|
|||
</For>
|
||||
</box>
|
||||
</Show>
|
||||
<Show when={props.message.summary}>
|
||||
<text>EXPERIMENTAL: {props.message.summary!.text}</text>
|
||||
</Show>
|
||||
<text>
|
||||
{sync.data.config.username ?? "You"}{" "}
|
||||
<Show
|
||||
|
|
|
|||
|
|
@ -610,6 +610,10 @@ export type UserMessage = {
|
|||
time: {
|
||||
created: number
|
||||
}
|
||||
summary?: {
|
||||
diffs: Array<FileDiff>
|
||||
text: string
|
||||
}
|
||||
}
|
||||
|
||||
export type ProviderAuthError = {
|
||||
|
|
@ -652,6 +656,7 @@ export type AssistantMessage = {
|
|||
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError
|
||||
system: Array<string>
|
||||
finish?: string
|
||||
parentID: string
|
||||
modelID: string
|
||||
providerID: string
|
||||
mode: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue