mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +00:00
ignore: share page fix
This commit is contained in:
parent
86a2ea44b5
commit
80b77caec0
1 changed files with 9 additions and 1 deletions
|
@ -496,7 +496,15 @@ export function fromV1(v1: Message.Info): MessageWithParts {
|
||||||
cost: v1.metadata.assistant!.cost,
|
cost: v1.metadata.assistant!.cost,
|
||||||
path: v1.metadata.assistant!.path,
|
path: v1.metadata.assistant!.path,
|
||||||
summary: v1.metadata.assistant!.summary,
|
summary: v1.metadata.assistant!.summary,
|
||||||
tokens: v1.metadata.assistant!.tokens,
|
tokens: v1.metadata.assistant!.tokens ?? {
|
||||||
|
input: 0,
|
||||||
|
output: 0,
|
||||||
|
cache: {
|
||||||
|
read: 0,
|
||||||
|
write: 0,
|
||||||
|
},
|
||||||
|
reasoning: 0,
|
||||||
|
},
|
||||||
modelID: v1.metadata.assistant!.modelID,
|
modelID: v1.metadata.assistant!.modelID,
|
||||||
providerID: v1.metadata.assistant!.providerID,
|
providerID: v1.metadata.assistant!.providerID,
|
||||||
system: v1.metadata.assistant!.system,
|
system: v1.metadata.assistant!.system,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue