feat(worktree): add managed workspace cloning (#30117)
This commit is contained in:
parent
331bed2469
commit
5661af2034
23 changed files with 2374 additions and 28 deletions
|
|
@ -68,8 +68,8 @@ export class Info extends Schema.Class<Info>("ModelV2.Info")({
|
|||
output: Schema.Int,
|
||||
}),
|
||||
}) {
|
||||
static empty(providerID: ProviderV2.ID, modelID: ID) {
|
||||
return new Info({
|
||||
static empty(providerID: ProviderV2.ID, modelID: ID): Info {
|
||||
return {
|
||||
id: modelID,
|
||||
apiID: modelID,
|
||||
providerID,
|
||||
|
|
@ -101,7 +101,7 @@ export class Info extends Schema.Class<Info>("ModelV2.Info")({
|
|||
context: 0,
|
||||
output: 0,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue