@copilotkit/react-core 2.0.0-rc.26 → 2.0.0-rc.27

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.
@@ -3459,8 +3459,7 @@ function GenerativeUIToolCallRenderer() {
3459
3459
  args: zod.any(),
3460
3460
  render: () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, {})
3461
3461
  });
3462
- const existing = copilotkit._renderToolCalls ?? [];
3463
- copilotkit.setRenderToolCalls([...existing.filter((rc) => rc.name !== _copilotkit_shared.GENERATIVE_UI_RENDER_TOOL), renderer]);
3462
+ return copilotkit.ɵaddBuiltInRenderToolCall(renderer);
3464
3463
  }, [copilotkit]);
3465
3464
  return null;
3466
3465
  }
@@ -3901,4 +3900,4 @@ Object.defineProperty(exports, 'wrapperAria', {
3901
3900
  return wrapperAria;
3902
3901
  }
3903
3902
  });
3904
- //# sourceMappingURL=MarkdownSurfaces-v9AplTEj.cjs.map
3903
+ //# sourceMappingURL=MarkdownSurfaces-BbrHcSHN.cjs.map