@using AIStudio.Settings @if (this.SelectionMode is DataSourceSelectionMode.SELECTION_MODE) {
@if (this.PopoverTriggerMode is PopoverTriggerMode.ICON) { } else { Select data sources } Data Source Selection @if (this.waitingForDataSources) { } else if (this.showDataSourceSelection) { @if (this.areDataSourcesEnabled) { @if (this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation) { } @if (this.aiBasedSourceSelection is false || this.DataSourcesAISelected.Count == 0) { @foreach (var source in this.availableDataSources) { @source.Name } } else { @foreach (var source in this.availableDataSources) { @source.Name } @foreach (var source in this.DataSourcesAISelected) { @source.DataSource.Name @this.GetAIReasoning(source) } } } } Close
} else if (this.SelectionMode is DataSourceSelectionMode.CONFIGURATION_MODE) { Data Source Selection @if (!string.IsNullOrWhiteSpace(this.ConfigurationHeaderMessage)) { @this.ConfigurationHeaderMessage } @if (this.areDataSourcesEnabled) { @foreach (var source in this.availableDataSources) { @source.Name } } }