diff --git a/app/MindWork AI Studio/Tools/RAG/RetrievalContentCategoryExtensions.cs b/app/MindWork AI Studio/Tools/RAG/RetrievalContentCategoryExtensions.cs index e4dd2a78..a5481695 100644 --- a/app/MindWork AI Studio/Tools/RAG/RetrievalContentCategoryExtensions.cs +++ b/app/MindWork AI Studio/Tools/RAG/RetrievalContentCategoryExtensions.cs @@ -9,7 +9,7 @@ public static class RetrievalContentCategoryExtensions /// /// The content type yielded by the ERI server. /// The corresponding retrieval content category. - public static RetrievalContentCategory ToRetrievalContentCategory(ContentType contentType) => contentType switch + public static RetrievalContentCategory ToRetrievalContentCategory(this ContentType contentType) => contentType switch { ContentType.NONE => RetrievalContentCategory.NONE, ContentType.UNKNOWN => RetrievalContentCategory.UNKNOWN,