refactor(core): optimize location startup
This commit is contained in:
parent
b642f9c7bc
commit
85fdb3bde6
12 changed files with 322 additions and 384 deletions
|
|
@ -93,9 +93,9 @@ export const Info = Schema.Struct({
|
|||
})
|
||||
.annotate({ identifier: "Model.Info" })
|
||||
.pipe(
|
||||
statics((schema) => ({
|
||||
statics(() => ({
|
||||
empty: (providerID: Provider.ID, id: ID) =>
|
||||
schema.make({
|
||||
({
|
||||
id,
|
||||
modelID: id,
|
||||
providerID,
|
||||
|
|
@ -107,6 +107,6 @@ export const Info = Schema.Struct({
|
|||
status: "active",
|
||||
enabled: true,
|
||||
limit: { context: 0, output: 0 },
|
||||
}),
|
||||
}) satisfies Info,
|
||||
})),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue