@tangle-network/agent-app 0.60.130 → 0.60.131

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.
@@ -1013,6 +1013,7 @@ function StudioComposer({
1013
1013
  const loadingModels = Boolean(workspaceId) && (catalogLoading || !catalog && !catalogError);
1014
1014
  const modelStatus = loadingModels ? "Loading media models\u2026" : catalogError ?? (laneDown ? laneDownMessage : null);
1015
1015
  const showModelMenu = catalogReady && curatedModels.length > 0;
1016
+ const triggerBrand = modelOption?.maker?.trim() || modelOption?.provider;
1016
1017
  const pickerModels = useMemo2(() => curatedModels.map((model) => pickerModel(model, type)), [curatedModels, type]);
1017
1018
  const modelDisplayName = laneDown ? "Unavailable" : modelOption?.name || modelId || "Select a model";
1018
1019
  const modelUnavailable = laneDown || modelOption?.status === "unavailable";
@@ -1066,7 +1067,7 @@ function StudioComposer({
1066
1067
  "aria-label": `Model: ${modelDisplayName}${modelUnavailable ? " (unavailable)" : ""}`,
1067
1068
  triggerContent: /* @__PURE__ */ jsxs2("span", { className: "contents", children: [
1068
1069
  modelUnavailable && /* @__PURE__ */ jsx2(TriangleAlert, { "aria-hidden": true, className: "h-3.5 w-3.5 shrink-0 text-warning", strokeWidth: 2 }),
1069
- !laneDown && modelOption?.provider && /* @__PURE__ */ jsx2("span", { className: "shrink-0", "aria-hidden": true, children: /* @__PURE__ */ jsx2(ProviderLogo, { provider: modelOption.provider, size: 16 }) }),
1070
+ !laneDown && triggerBrand && /* @__PURE__ */ jsx2("span", { className: "shrink-0", "aria-hidden": true, children: /* @__PURE__ */ jsx2(ProviderLogo, { provider: triggerBrand, size: 16 }) }),
1070
1071
  /* @__PURE__ */ jsx2("span", { className: "max-w-[160px] truncate leading-normal", children: modelDisplayName })
1071
1072
  ] })
1072
1073
  }