mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-13 12:42:10 +00:00
fixed major bug with missing using directive for release mode compilation
This commit is contained in:
parent
c8fddada91
commit
c527fad2bf
@ -1,10 +1,13 @@
|
||||
using System.Text;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Dialogs.Settings;
|
||||
using AIStudio.Tools.PluginSystem.Assistants.DataModel;
|
||||
using AIStudio.Tools.Services;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
// ReSharper disable once RedundantUsingDirective
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
using DialogOptions = AIStudio.Dialogs.DialogOptions;
|
||||
|
||||
namespace AIStudio.Assistants.Meta;
|
||||
@ -87,7 +90,7 @@ public partial class AssistantMetaAssistant : AssistantBaseCore<NoSettingsPanel>
|
||||
private string generatedAssistantSpec = string.Empty;
|
||||
private string reviewNotes = string.Empty;
|
||||
private string generatedLuaAssistant = string.Empty;
|
||||
private readonly Guid pluginId = Guid.NewGuid();
|
||||
private Guid pluginId = Guid.NewGuid();
|
||||
private static readonly AssistantContextFile[] ASSISTANT_CONTEXT_FILES =
|
||||
[
|
||||
new("Assistant plugin schema", "Plugins/assistants/README.md", IsRequired: true),
|
||||
@ -117,6 +120,7 @@ public partial class AssistantMetaAssistant : AssistantBaseCore<NoSettingsPanel>
|
||||
|
||||
protected override void ResetForm()
|
||||
{
|
||||
this.pluginId = Guid.NewGuid();
|
||||
this.step = BuilderStep.DESCRIBE;
|
||||
this.assistantDescription = string.Empty;
|
||||
this.selectedCategory = AssistantCategory.AS_IS;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user