mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 02:57:59 +00:00
Multiple Profiles can now be selected
This commit is contained in:
1 parent
d043fbc8f0
commit
cefc5464d5
89 files changed
+1360
-503
No files matched your search
+3
-3
@@ -62,13 +62,13 @@ public partial class VisualBriefingAssistant
|
||||
{
|
||||
var defaults = this.SettingsManager.ConfigurationData.VisualBriefing;
|
||||
var defaultProvider = this.SettingsManager.GetPreselectedProvider(ComponentKind.VISUAL_BRIEFING_ASSISTANT);
|
||||
var defaultProfile = this.SettingsManager.GetPreselectedProfile(ComponentKind.VISUAL_BRIEFING_ASSISTANT);
|
||||
var defaultProfiles = this.SettingsManager.GetPreselectedProfiles(ComponentKind.VISUAL_BRIEFING_ASSISTANT);
|
||||
var suggestedName = string.Format(T("Briefing {0}"), DateTimeOffset.Now.ToString("yyyy-MM-dd HH:mm"));
|
||||
var settings = new VisualBriefingLocalSettings
|
||||
{
|
||||
ProviderId = defaultProvider.Id,
|
||||
ModelId = defaultProvider.Model.Id,
|
||||
ProfileId = defaultProfile.Id,
|
||||
ProfileIds = defaultProfiles.Select(profile => profile.Id).ToHashSet(StringComparer.OrdinalIgnoreCase),
|
||||
TargetLanguage = defaults.PreselectedTargetLanguage,
|
||||
CustomTargetLanguage = defaults.PreselectedOtherLanguage,
|
||||
AudienceProfile = defaults.PreselectedAudienceProfile,
|
||||
@@ -386,4 +386,4 @@ public partial class VisualBriefingAssistant
|
||||
Settings = this.editor.ToSettings(),
|
||||
Sources = this.editor.ToSources().Select(source => new { source.Path, source.Kind }).ToArray(),
|
||||
}, VisualBriefingJson.Canonical);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user