feat: publish v1.0.0-rc.36-custom.1
Publish Docker image (Multi-arch) / Build & push (amd64) (push) Failing after 9m20s
Release (Linux, macOS, Windows) / Linux Release (push) Failing after 55m7s
Publish Docker image (Multi-arch) / Build & push (arm64) (push) Canceled after 0s
Release (Linux, macOS, Windows) / macOS Release (push) Canceled after 0s
Release (Linux, macOS, Windows) / Windows Release (push) Canceled after 0s
Publish Docker image (Multi-arch) / Create multi-arch manifests (push) Canceled after 0s
Publish Docker image (Multi-arch) / Build & push (amd64) (push) Failing after 9m20s
Release (Linux, macOS, Windows) / Linux Release (push) Failing after 55m7s
Publish Docker image (Multi-arch) / Build & push (arm64) (push) Canceled after 0s
Release (Linux, macOS, Windows) / macOS Release (push) Canceled after 0s
Release (Linux, macOS, Windows) / Windows Release (push) Canceled after 0s
Publish Docker image (Multi-arch) / Create multi-arch manifests (push) Canceled after 0s
This commit is contained in:
commit
bb7968b612
2381 files changed
+551494
No files matched your search
@@ -0,0 +1,31 @@
|
||||
package plugins_test
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestViduResponsesProtocol(t *testing.T) {
|
||||
testVideoResponsesProtocol(t, videoResponsesTestCase{
|
||||
pluginKey: "vidu",
|
||||
model: "viduq2",
|
||||
requestBody: map[string]any{
|
||||
"model": "viduq2",
|
||||
"input": []any{map[string]any{"role": "user", "content": []any{
|
||||
map[string]any{"type": "input_text", "text": "move between frames"},
|
||||
map[string]any{"type": "input_image", "image_url": "https://cdn.example/first.png"},
|
||||
map[string]any{"type": "input_image", "image_url": "https://cdn.example/last.png"},
|
||||
}}},
|
||||
"seconds": 8,
|
||||
"size": "720p",
|
||||
},
|
||||
wantAction: "first_tail_to_video",
|
||||
wantRequest: map[string]any{
|
||||
"model": "viduq2",
|
||||
"prompt": "move between frames",
|
||||
"images": []any{"https://cdn.example/first.png", "https://cdn.example/last.png"},
|
||||
"duration": float64(8),
|
||||
"size": "720p",
|
||||
},
|
||||
wantUsageKeys: []string{"credits", "duration", "resolution"},
|
||||
wantSubmitUsageKeys: []string{"duration", "resolution"},
|
||||
wantVendorName: "vidu",
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user