mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-21 03:14:35 +00:00
Improved the assistants page with categories for assistant plugins (#1211)
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user