From 429f9a566e815ba2f4c563c5028ac48edcb293d0 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 30 Jun 2025 08:49:41 +0200 Subject: [PATCH] Moved warnings to code review --- app/MindWork AI Studio/Tools/ContentStreamSseHandler.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/MindWork AI Studio/Tools/ContentStreamSseHandler.cs b/app/MindWork AI Studio/Tools/ContentStreamSseHandler.cs index 1b777c3d..6d23f5f3 100644 --- a/app/MindWork AI Studio/Tools/ContentStreamSseHandler.cs +++ b/app/MindWork AI Studio/Tools/ContentStreamSseHandler.cs @@ -6,8 +6,6 @@ namespace AIStudio.Tools; public static class ContentStreamSseHandler { private static readonly ConcurrentDictionary> PPTX_IMAGES = new(); - - #warning We must used a ConcurrentDictionary as well for multiple parallel embeddings private static int CURRENT_SLIDE_NUMBER; public static string ProcessEvent(ContentStreamSseEvent? sseEvent, bool extractImages = true) @@ -74,7 +72,6 @@ public static class ContentStreamSseHandler if (string.IsNullOrWhiteSpace(contentStreamPptxImageData.Id)) return false; - #warning Image IDs must be unique across all parallel embeddings. Use a GUID or similar as prefix. var id = contentStreamPptxImageData.Id; var segment = contentStreamPptxImageData.Segment ?? 0; var content = contentStreamPptxImageData.Content ?? string.Empty;