@shop-os/modelkit 0.2.16 → 0.2.17
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 +6 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,12 @@ header in the release PR.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
-
## [0.2.
|
|
12
|
+
## [0.2.17] - Unreleased
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Gemini Omni extension: an extension started from an uploaded source no longer deletes the upload once the interaction is created. The stored interaction keeps referencing that file, so a follow-up call chaining on it by `previousInteractionId` failed with `403 You do not have permission to access the content` (only the first of a multi-segment extension ever ran). Uploads for extend-from-source calls are left to the Files API's 48 h expiry; every other call still cleans up immediately.
|
|
16
|
+
|
|
17
|
+
## [0.2.16] - 2026-09-24
|
|
13
18
|
|
|
14
19
|
### Added
|
|
15
20
|
- Gemini Omni 1.1 Flash video extension. The row declares `supports: ["videoExtension"]` and `constraints.extension: { segmentSeconds: 10, maxTotalSeconds: 40 }`. A `taskType: "extend"` request continues the clip by `durationSeconds` and the result is the **full cumulative clip** (probe 2026-09-24). The first extension may upload a source video (≤ 10 s, `sourceVideo`); follow-ups chain with `VideoRequest.previousInteractionId`, taken from the previous result's new `VideoResult.providerRef.interactionId`. The Interactions API rejects `previous_interaction_id` together with a video task, so chained calls carry only the prompt (no `generation_config`) and no aspect ratio.
|
package/dist/index.cjs
CHANGED
|
@@ -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);
|