@copilotkit/react-core 2.0.0-rc.25 → 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.
@@ -3430,8 +3430,7 @@ function GenerativeUIToolCallRenderer() {
3430
3430
  args: z.any(),
3431
3431
  render: () => /* @__PURE__ */ jsx(Fragment$1, {})
3432
3432
  });
3433
- const existing = copilotkit._renderToolCalls ?? [];
3434
- copilotkit.setRenderToolCalls([...existing.filter((rc) => rc.name !== GENERATIVE_UI_RENDER_TOOL), renderer]);
3433
+ return copilotkit.ɵaddBuiltInRenderToolCall(renderer);
3435
3434
  }, [copilotkit]);
3436
3435
  return null;
3437
3436
  }
@@ -3585,4 +3584,4 @@ function MarkdownSurfaces({ content, messageId, isStreaming = false, ...markdown
3585
3584
 
3586
3585
  //#endregion
3587
3586
  export { ExpressionError as A, renderSlot as B, issueKey as C, getMarkdownSurfaceSource as D, containsDynamicValue as E, toJsonSchema as F, CopilotIcon as G, CopilotChatConfigurationProvider as H, defineToolCallRenderer as I, StreamingMarkdownDefaultRenderer as J, IconSvg as K, MarkdownRendererProvider as L, catalogIdsOf as M, componentCatalogIds as N, isRecord as O, createGenerativeUI as P, useMarkdownRenderer as R, isAsyncIssue as S, withoutRejectedNulls as T, useCopilotChatConfiguration as U, ControlledModalOpenScope as V, useShallowStableRef as W, GenerativeUINodeContext as _, GenerativeUIToolCallRenderer as a, useRequiredGenerativeUIRuntime as b, SurfaceView as c, namedRole as d, useGenerativeUIAccessibility as f, useManagerVersion as g, useGenerativeUIState as h, GenerativeUIChatSlotContext as i, GenerativeUIError as j, BASIC_FUNCTIONS as k, DARK_THEME_CSS as l, useGenerativeUIFunction as m, ProviderMarkdown as n, createGenerativeUIActivityRenderer as o, wrapperAria as p, cn as q, DefaultGenerativeUIChatCard as r, createGenerativeUIFunctionCallActivityRenderer as s, MarkdownSurfaces as t, controlAria as u, GenerativeUIRuntimeContext as v, validateSchemaSync as w, formatIssues as x, useGenerativeUIRuntime as y, isReactComponentType as z };
3588
- //# sourceMappingURL=MarkdownSurfaces-CD0FAiZq.mjs.map
3587
+ //# sourceMappingURL=MarkdownSurfaces-DQbRS91-.mjs.map