@using AIStudio.Settings.DataModel @using AIStudio.Chat @inherits MSGComponentBase @if (this.ChatThread is not null) { var blocks = this.ChatThread.Blocks.OrderBy(n => n.Time).ToList(); for (var i = 0; i < blocks.Count; i++) { var block = blocks[i]; var isLastBlock = i == blocks.Count - 1; var isSecondLastBlock = i == blocks.Count - 2; @if (!block.HideFromUser) { } } } @if ( this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES && this.SettingsManager.ConfigurationData.Workspace.DisplayBehavior is WorkspaceDisplayBehavior.TOGGLE_OVERLAY) { } @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_MANUALLY) { } @if (!string.IsNullOrWhiteSpace(this.currentWorkspaceName)) { } @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY) { } @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) { } @if (this.SettingsManager.ConfigurationData.LLMProviders.ShowProviderConfidence) { } @if (this.isStreaming && this.cancellationTokenSource is not null) { }