llm_meta_widget 0.8.4 → 0.8.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00faf07976c3996c8dde526d85ae14baaa012290453a15e0e16ec64862ad5c00
|
|
4
|
+
data.tar.gz: f645a3cfe67ca0d163b4a2d44059148950c573f125ad7f51638683acf9726276
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6604c83be08505904da3397520fe67744b05f99bd07ccf146a9bdb6e86f8272bf0cd00cf290c2311e8c814ee5a078ad8730f05373c9325d20c28b7993d532d9
|
|
7
|
+
data.tar.gz: b9357df041a048abb2f1c72b069b9433f1da3d8c967a4bac1adc6f12ab7cffea88551800578dbabaf9ad81b5af21b0b2645c846bc622000f978eba3b1d993aa9
|
|
@@ -408,6 +408,13 @@ function boot(cfg) {
|
|
|
408
408
|
(payload.llms || []).forEach(function(llm) {
|
|
409
409
|
if (llm.family !== "ollama") return;
|
|
410
410
|
(llm.available_models || []).forEach(function(m) {
|
|
411
|
+
// This widget exists to call tools — page actions and MCP. A model
|
|
412
|
+
// that declares no tool support fails hard the moment any tool is
|
|
413
|
+
// declared ("<model> does not support tools"), so offering it in the
|
|
414
|
+
// picker is a trap: the visitor picks it and the next turn errors.
|
|
415
|
+
// `=== false` on purpose — a hub that omits the field is older, not
|
|
416
|
+
// a claim of no support, and must keep working.
|
|
417
|
+
if (m.supports_tools === false) return;
|
|
411
418
|
if (anyAllowedByAllowlist(m.value, MODEL_ALLOWLIST)) {
|
|
412
419
|
flat.push({ value: m.value, label: m.label });
|
|
413
420
|
}
|
|
@@ -3868,6 +3868,7 @@ function boot(cfg) {
|
|
|
3868
3868
|
(payload.llms || []).forEach(function(llm) {
|
|
3869
3869
|
if (llm.family !== "ollama") return;
|
|
3870
3870
|
(llm.available_models || []).forEach(function(m) {
|
|
3871
|
+
if (m.supports_tools === false) return;
|
|
3871
3872
|
if (anyAllowedByAllowlist(m.value, MODEL_ALLOWLIST)) {
|
|
3872
3873
|
flat.push({ value: m.value, label: m.label });
|
|
3873
3874
|
}
|