@aibranch/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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibranch/llm-meta-widget",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "//version": "Must stay in step with lib/llm_meta_widget/version.rb. Two independently versioned copies of the same client is the drift docs/custom-element-distribution.md warns about: bump both, release both.",
5
5
  "description": "Embeddable browser chat widget: a custom element that discovers tools at page, origin and hub scope and dispatches each tool call to the right one. Two lines of HTML on any host, Rails or not.",
6
6
  "keywords": [