@copilotkit/react-core 1.52.1-next.0 → 1.52.1-next.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/CHANGELOG.md +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/components/copilot-provider/copilotkit.tsx +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1602,6 +1602,7 @@ react_markdown = __toESM(react_markdown);
|
|
|
1602
1602
|
* ```
|
|
1603
1603
|
*/
|
|
1604
1604
|
function CopilotKit({ children, ...props }) {
|
|
1605
|
+
var _props$useSingleEndpo;
|
|
1605
1606
|
const enabled = shouldShowDevConsole(props.showDevConsole);
|
|
1606
1607
|
const showInspector = shouldShowDevConsole(props.enableInspector);
|
|
1607
1608
|
const publicApiKey = props.publicApiKey || props.publicLicenseKey;
|
|
@@ -1617,7 +1618,7 @@ react_markdown = __toESM(react_markdown);
|
|
|
1617
1618
|
...props,
|
|
1618
1619
|
showDevConsole: showInspector,
|
|
1619
1620
|
renderCustomMessages: renderArr,
|
|
1620
|
-
useSingleEndpoint: true,
|
|
1621
|
+
useSingleEndpoint: (_props$useSingleEndpo = props.useSingleEndpoint) !== null && _props$useSingleEndpo !== void 0 ? _props$useSingleEndpo : true,
|
|
1621
1622
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopilotKitInternal, {
|
|
1622
1623
|
...props,
|
|
1623
1624
|
children
|