fix(provider): default custom models to image input
This commit is contained in:
parent
34b3d59a23
commit
628e886808
8 changed files with 243 additions and 10 deletions
|
|
@ -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: [] })
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue