@page "/chat" @using AIStudio.Chat @using AIStudio.Settings @inherits AIStudio.Tools.MSGComponentBase @if (this.chatThread is not null && this.chatThread.WorkspaceId != Guid.Empty) { @($"Chat in Workspace \"{this.currentWorkspaceName}\"") } else { @("Temporary Chat") } @foreach (var provider in this.SettingsManager.ConfigurationData.Providers) { } @if (this.chatThread is not null) { foreach (var block in this.chatThread.Blocks.OrderBy(n => n.Time)) { } } @if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) { } @if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_MANUALLY) { } @if (!string.IsNullOrWhiteSpace(this.currentWorkspaceName)) { } @if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY) { } @if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) { } @if (this.SettingsManager.ConfigurationData.WorkspaceStorageBehavior != WorkspaceStorageBehavior.DISABLE_WORKSPACES) { Your workspaces }