mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:07:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
@@ -491,16 +491,16 @@ public partial class SlideAssistant : AssistantBaseCore<SettingsDialogSlideBuild
|
||||
var prompts = new List<string>();
|
||||
|
||||
if (this.selectedAudienceProfile is not AudienceProfile.UNSPECIFIED)
|
||||
prompts.Add(this.selectedAudienceProfile.Prompt());
|
||||
prompts.Add(this.selectedAudienceProfile.Prompt);
|
||||
|
||||
if (this.selectedAudienceAgeGroup is not AudienceAgeGroup.UNSPECIFIED)
|
||||
prompts.Add(this.selectedAudienceAgeGroup.Prompt());
|
||||
prompts.Add(this.selectedAudienceAgeGroup.Prompt);
|
||||
|
||||
if (this.selectedAudienceOrganizationalLevel is not AudienceOrganizationalLevel.UNSPECIFIED)
|
||||
prompts.Add(this.selectedAudienceOrganizationalLevel.Prompt());
|
||||
prompts.Add(this.selectedAudienceOrganizationalLevel.Prompt);
|
||||
|
||||
if (this.selectedAudienceExpertise is not AudienceExpertise.UNSPECIFIED)
|
||||
prompts.Add(this.selectedAudienceExpertise.Prompt());
|
||||
prompts.Add(this.selectedAudienceExpertise.Prompt);
|
||||
|
||||
if (prompts.Count == 0)
|
||||
return " - Do not tailor the text to a specific audience.";
|
||||
|
||||
Reference in new issue
Block a user