do not render dyad-chat-summary
This commit is contained in:
@@ -79,6 +79,7 @@ function preprocessUnclosedTags(content: string): {
|
|||||||
"dyad-execute-sql",
|
"dyad-execute-sql",
|
||||||
"dyad-add-integration",
|
"dyad-add-integration",
|
||||||
"dyad-output",
|
"dyad-output",
|
||||||
|
"dyad-chat-summary",
|
||||||
];
|
];
|
||||||
|
|
||||||
let processedContent = content;
|
let processedContent = content;
|
||||||
@@ -140,6 +141,7 @@ function parseCustomTags(content: string): ContentPiece[] {
|
|||||||
"dyad-execute-sql",
|
"dyad-execute-sql",
|
||||||
"dyad-add-integration",
|
"dyad-add-integration",
|
||||||
"dyad-output",
|
"dyad-output",
|
||||||
|
"dyad-chat-summary",
|
||||||
];
|
];
|
||||||
|
|
||||||
const tagPattern = new RegExp(
|
const tagPattern = new RegExp(
|
||||||
@@ -316,6 +318,10 @@ function renderCustomTag(
|
|||||||
</DyadOutput>
|
</DyadOutput>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
case "dyad-chat-summary":
|
||||||
|
// Don't render anything for dyad-chat-summary
|
||||||
|
return null;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user