From 9d61be3f4eb429746923bb6e4b7812be64d9b137 Mon Sep 17 00:00:00 2001 From: Nils Kruthoff Date: Tue, 4 Aug 2026 15:13:46 +0200 Subject: [PATCH] render structured chart blocks in AI responses --- app/MindWork AI Studio/Chat/ContentBlockComponent.razor | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor index 52999549..652dac14 100644 --- a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor +++ b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor @@ -105,10 +105,14 @@ { } - else + else if (segment.Type is MarkdownRenderSegmentType.MATH_BLOCK) { } + else if (segment.ChartResult is not null) + { + + } } @if (textContent.Sources.Count > 0) {