feat(id): brand ProviderID and ModelID (#17110)

This commit is contained in:
Kit Langton
2026-03-12 09:27:52 -04:00
committed by GitHub
parent 2eeba53b07
commit c45467964c
23 changed files with 157 additions and 107 deletions

View File

@@ -13,6 +13,7 @@ const seed = async () => {
const { Session } = await import("../src/session")
const { MessageID, PartID } = await import("../src/session/schema")
const { Project } = await import("../src/project/project")
const { ModelID, ProviderID } = await import("../src/provider/schema")
await Instance.provide({
directory: dir,
@@ -28,8 +29,8 @@ const seed = async () => {
time: { created: now },
agent: "build",
model: {
providerID,
modelID,
providerID: ProviderID.make(providerID),
modelID: ModelID.make(modelID),
},
}
const part = {