@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.js
CHANGED
|
@@ -945,7 +945,7 @@ var TEXT_MODELS = [
|
|
|
945
945
|
"claude-sonnet-4-20250514"
|
|
946
946
|
],
|
|
947
947
|
display: {
|
|
948
|
-
chat: { providerOptions:
|
|
948
|
+
chat: { providerOptions: ANTHROPIC_ADAPTIVE },
|
|
949
949
|
provider: "anthropic",
|
|
950
950
|
costTier: 2,
|
|
951
951
|
description: "Anthropic Claude Sonnet 4.6 (legacy) balanced model; text and image input, 1M-token context."
|
|
@@ -4633,7 +4633,7 @@ async function generateOmniVideo(req, ctx, createGenAIClient) {
|
|
|
4633
4633
|
}
|
|
4634
4634
|
}
|
|
4635
4635
|
} finally {
|
|
4636
|
-
await cleanupUploads();
|
|
4636
|
+
if (!(extend && !chained)) await cleanupUploads();
|
|
4637
4637
|
}
|
|
4638
4638
|
const jobId = interaction.id ?? crypto.randomUUID();
|
|
4639
4639
|
const usage2 = videoUsage2(ctx, req, duration);
|