@copilotkitnext/react 0.0.19-alpha.0 → 0.0.19-alpha.2

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.mjs CHANGED
@@ -1809,17 +1809,19 @@ function useRenderActivityMessage() {
1809
1809
  return null;
1810
1810
  }
1811
1811
  const Component = renderer.render;
1812
+ const agent = copilotkit.getAgent(agentId);
1812
1813
  return /* @__PURE__ */ jsx11(
1813
1814
  Component,
1814
1815
  {
1815
1816
  activityType: message.activityType,
1816
1817
  content: parseResult.data,
1817
- message
1818
+ message,
1819
+ agent
1818
1820
  },
1819
1821
  message.id
1820
1822
  );
1821
1823
  },
1822
- [agentId, renderers]
1824
+ [agentId, copilotkit, renderers]
1823
1825
  );
1824
1826
  }
1825
1827