@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
package/dist/copilotkit/index.js
CHANGED
|
@@ -826,6 +826,7 @@ function AssistantThinking({
|
|
|
826
826
|
AssistantThinking.displayName = "AssistantThinking";
|
|
827
827
|
function parseMarkdown(text) {
|
|
828
828
|
if (!text) return [];
|
|
829
|
+
text = text.replace(/<!--TOOL_CALL:[^>]*-->/g, "").replace(/__TOOL_CALL__:[^:]+:\{[^}]*(?:\{[^}]*\}[^}]*)*\}/g, "");
|
|
829
830
|
const elements = [];
|
|
830
831
|
let key = 0;
|
|
831
832
|
const paragraphs = text.split(/\n\n+/);
|