feat(canvas): support multimodal video storyboard tables
This commit is contained in:
1 parent
7985dbec48
commit
6d355380cb
10 files changed
+425
-45
No files matched your search
@@ -112,6 +112,14 @@ func TestMatchCapabilityRoutesTextImagesOnlyToDeclaredProfiles(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestMatchCapabilityRoutesUndeclaredVideoToTextMultimodalProfile(t *testing.T) {
|
||||
profile := CapabilitySpec{Version: 1, Capability: "text"}
|
||||
intent := ModelRequestIntent{Capability: "text", Inputs: map[string]int{"video": 1}}
|
||||
if match := MatchCapability(profile, intent); !match.Matched {
|
||||
t.Fatalf("multimodal text profile should accept legacy undeclared video input: %#v", match)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMatchCapabilityAcceptsWildcardOptionValues(t *testing.T) {
|
||||
spec := CapabilitySpec{
|
||||
Version: 1,
|
||||
|
||||
Reference in new issue
Block a user