@copilotkitnext/react 0.0.19-alpha.0 → 0.0.19-alpha.1
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1851,17 +1851,19 @@ function useRenderActivityMessage() {
|
|
|
1851
1851
|
return null;
|
|
1852
1852
|
}
|
|
1853
1853
|
const Component = renderer.render;
|
|
1854
|
+
const agent = copilotkit.getAgent(agentId);
|
|
1854
1855
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1855
1856
|
Component,
|
|
1856
1857
|
{
|
|
1857
1858
|
activityType: message.activityType,
|
|
1858
1859
|
content: parseResult.data,
|
|
1859
|
-
message
|
|
1860
|
+
message,
|
|
1861
|
+
agent
|
|
1860
1862
|
},
|
|
1861
1863
|
message.id
|
|
1862
1864
|
);
|
|
1863
1865
|
},
|
|
1864
|
-
[agentId, renderers]
|
|
1866
|
+
[agentId, copilotkit, renderers]
|
|
1865
1867
|
);
|
|
1866
1868
|
}
|
|
1867
1869
|
|