Improved the assistants page with categories for assistant plugins (#1211)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-20 11:47:59 +01:00
1 parent ef059ffd15
commit 1db0f85898
74 files changed
+3392 -380

No files matched your search

@@ -90,6 +90,12 @@ internal sealed partial class LuaResponse
return false;
}
if (!AssistantBuilderCategories.TryRead(this.Plugin.Categories, this.Plugin.CustomCategories, out _, out _))
{
error = LuaResponseParseError.INVALID_CATEGORIES;
return false;
}
if (string.IsNullOrWhiteSpace(this.Assistant.Title) ||
string.IsNullOrWhiteSpace(this.Assistant.Description) ||
!IsValidAssistantMetadata(this.Assistant))