@agentiffai/design 1.3.13 → 1.3.14
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/copilotkit/index.cjs +1 -0
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +1 -0
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +12 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -832,6 +832,7 @@ function AssistantThinking({
|
|
|
832
832
|
AssistantThinking.displayName = "AssistantThinking";
|
|
833
833
|
function parseMarkdown(text) {
|
|
834
834
|
if (!text) return [];
|
|
835
|
+
text = text.replace(/<!--TOOL_CALL:[^>]*-->/g, "").replace(/__TOOL_CALL__:[^:]+:\{[^}]*(?:\{[^}]*\}[^}]*)*\}/g, "");
|
|
835
836
|
const elements = [];
|
|
836
837
|
let key = 0;
|
|
837
838
|
const paragraphs = text.split(/\n\n+/);
|