ai 7.0.96 → 7.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +12 -12
- package/src/generate-video/generate-video.ts +4 -2
package/dist/internal/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ai-sdk/gateway": "4.0.
|
|
46
|
-
"@ai-sdk/provider": "4.0.
|
|
47
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
45
|
+
"@ai-sdk/gateway": "4.0.78",
|
|
46
|
+
"@ai-sdk/provider": "4.0.13",
|
|
47
|
+
"@ai-sdk/provider-utils": "5.0.39"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@ai-sdk/amazon-bedrock": "5.0.
|
|
51
|
-
"@ai-sdk/deepseek": "3.0.
|
|
52
|
-
"@ai-sdk/google": "4.0.
|
|
53
|
-
"@ai-sdk/groq": "4.0.
|
|
54
|
-
"@ai-sdk/huggingface": "2.0.
|
|
55
|
-
"@ai-sdk/moonshotai": "3.0.
|
|
56
|
-
"@ai-sdk/openai": "4.0.
|
|
50
|
+
"@ai-sdk/amazon-bedrock": "5.0.81",
|
|
51
|
+
"@ai-sdk/deepseek": "3.0.42",
|
|
52
|
+
"@ai-sdk/google": "4.0.67",
|
|
53
|
+
"@ai-sdk/groq": "4.0.40",
|
|
54
|
+
"@ai-sdk/huggingface": "2.0.47",
|
|
55
|
+
"@ai-sdk/moonshotai": "3.0.48",
|
|
56
|
+
"@ai-sdk/openai": "4.0.65",
|
|
57
57
|
"@ai-sdk/test-server": "2.0.1",
|
|
58
|
-
"@ai-sdk/xai": "4.0.
|
|
58
|
+
"@ai-sdk/xai": "4.0.57",
|
|
59
59
|
"@edge-runtime/vm": "^5.0.0",
|
|
60
60
|
"@smithy/eventstream-codec": "^4.3.3",
|
|
61
61
|
"@smithy/util-utf8": "^4.3.3",
|
|
@@ -489,7 +489,7 @@ async function executeStartStatusFlow({
|
|
|
489
489
|
const earlyWarnings: Experimental_VideoModelV4Result['warnings'] = [];
|
|
490
490
|
let webhookUrl: string | undefined;
|
|
491
491
|
let webhookReceived:
|
|
492
|
-
|
|
|
492
|
+
| Promise<Experimental_VideoModelV4OperationWebhook>
|
|
493
493
|
| undefined;
|
|
494
494
|
|
|
495
495
|
if (webhookFactory != null) {
|
|
@@ -497,8 +497,10 @@ async function executeStartStatusFlow({
|
|
|
497
497
|
const result = await model.handleWebhookOption({
|
|
498
498
|
webhook: webhookFactory,
|
|
499
499
|
});
|
|
500
|
+
webhookReceived = Promise.resolve(result.received);
|
|
501
|
+
// Observe early failures without changing the error awaited after doStart.
|
|
502
|
+
webhookReceived.catch(() => {});
|
|
500
503
|
webhookUrl = result.webhookUrl;
|
|
501
|
-
webhookReceived = result.received;
|
|
502
504
|
} else {
|
|
503
505
|
earlyWarnings.push({
|
|
504
506
|
type: 'unsupported',
|