@shop-os/modelkit 0.2.16 → 0.2.18
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 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.js +1 -1
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1055,7 +1055,7 @@ var TEXT_MODELS = [
|
|
|
1055
1055
|
"claude-sonnet-4-20250514"
|
|
1056
1056
|
],
|
|
1057
1057
|
display: {
|
|
1058
|
-
chat: { providerOptions:
|
|
1058
|
+
chat: { providerOptions: ANTHROPIC_ADAPTIVE },
|
|
1059
1059
|
provider: "anthropic",
|
|
1060
1060
|
costTier: 2,
|
|
1061
1061
|
description: "Anthropic Claude Sonnet 4.6 (legacy) balanced model; text and image input, 1M-token context."
|
|
@@ -4741,7 +4741,7 @@ async function generateOmniVideo(req, ctx, createGenAIClient) {
|
|
|
4741
4741
|
}
|
|
4742
4742
|
}
|
|
4743
4743
|
} finally {
|
|
4744
|
-
await cleanupUploads();
|
|
4744
|
+
if (!(extend && !chained)) await cleanupUploads();
|
|
4745
4745
|
}
|
|
4746
4746
|
const jobId = interaction.id ?? crypto.randomUUID();
|
|
4747
4747
|
const usage2 = videoUsage2(ctx, req, duration);
|