@invergent/agent-chat-react 2.17.5 → 2.17.7

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/dist/index.js CHANGED
@@ -4924,7 +4924,7 @@ function MemoryToolBlock({ tc }) {
4924
4924
  args.content && /* @__PURE__ */ jsx(MemoryEntry, { content: args.content, label: "New", variant: "added" })
4925
4925
  ] }),
4926
4926
  action === "remove" && args.old_text && /* @__PURE__ */ jsx(MemoryEntry, { content: args.old_text, variant: "removed" }),
4927
- result?.error && /* @__PURE__ */ jsx("div", { className: "rounded bg-red-500/10 px-2 py-1 text-xs text-red-500", children: result.error })
4927
+ result?.error && /* @__PURE__ */ jsx("div", { className: "rounded bg-red-500/10 px-2 py-1 text-xs text-red-500", children: typeof result.error === "string" ? result.error : JSON.stringify(result.error) })
4928
4928
  ] })
4929
4929
  }
4930
4930
  )