fix(core): preserve model capability semantics
This commit is contained in:
parent
77fce8b24c
commit
44a898f3ee
7 changed files with 27 additions and 59 deletions
|
|
@ -38,7 +38,7 @@ export const Capabilities = Schema.Struct({
|
|||
} = {},
|
||||
) =>
|
||||
schema.make({
|
||||
tools: input.tools ?? false,
|
||||
tools: input.tools ?? true,
|
||||
input: input.input === undefined ? ["text", "image"] : [...input.input],
|
||||
output: input.output === undefined ? ["text"] : [...input.output],
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue