@inherits MSGComponentBase @if (!string.IsNullOrWhiteSpace(this.issue)) { @this.issue } @if (this.isLoading) { } else if (this.assistantPlugin is not null) { @this.assistantPlugin.AssistantTitle @T("Describe what should change after trying the assistant. AI Studio will revise the installed plugin while keeping the same assistant ID.") @if (this.isGenerating) { @T("Creating revision...") } else { @T("Create revision") } @if (this.isGenerating) { } @if (this.revisionCheckResult?.Success is true) { @string.Format(T("The revised assistant '{0}' is valid and ready to update."), string.IsNullOrWhiteSpace(this.revisedPluginName) ? this.revisionCheckResult.PluginName : this.revisedPluginName) } @if (!string.IsNullOrWhiteSpace(this.revisedLua)) {
@T("Revised Lua plugin")
} @if (this.isApplying || this.isAuditing) { @(this.isAuditing ? T("Running security audit...") : T("Updating assistant...")) } }
@T("Cancel") @T("Update assistant")