@shop-os/modelkit 0.3.4 → 0.3.5
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 +5 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,11 @@ header in the release PR.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.3.5] - Unreleased
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- `dataOnlyCapable` reports a `video-tool` row as servable when its adapter has `submitVideoTool` (fal). It tested such a row against the adapter's text surface, so it answered "fal cannot serve video-tool rows" and pro-backend refused every admin save of a listed video-tool row.
|
|
16
|
+
|
|
12
17
|
## [0.3.4] - Unreleased
|
|
13
18
|
|
|
14
19
|
### Added
|
package/dist/index.cjs
CHANGED
|
@@ -7999,6 +7999,7 @@ function adapterServesType(adapter, type) {
|
|
|
7999
7999
|
}
|
|
8000
8000
|
if (type === "video") return adapter.generateVideo !== void 0;
|
|
8001
8001
|
if (type === "audio") return adapter.generateAudio !== void 0;
|
|
8002
|
+
if (type === "video-tool") return adapter.submitVideoTool !== void 0;
|
|
8002
8003
|
return adapter.languageModel !== void 0;
|
|
8003
8004
|
}
|
|
8004
8005
|
function dataOnlyCapable(row) {
|