fix(provider): default custom models to image input

This commit is contained in:
Aiden Cline 2026-06-22 17:08:44 -05:00
commit 628e886808
8 changed files with 243 additions and 10 deletions

View file

@ -21,3 +21,11 @@ describe("ModelV2.Ref", () => {
})
})
})
describe("ModelV2.Info", () => {
test("creates an empty model without modalities", () => {
const model = ModelV2.Info.empty(ProviderV2.ID.make("custom"), ModelV2.ID.make("model"))
expect(model.capabilities).toEqual({ tools: false, input: [], output: [] })
})
})