mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 20:07:21 +00:00
Added the prompt guide to the settings of the Prompt Optimizer and to configuration plugins (#1165)
This commit is contained in:
1 parent
a3d38c5db4
commit
974244ae51
19 files changed
+290
-26
No files matched your search
@@ -76,6 +76,7 @@ public sealed class DataRestoreOpenPointsTests
|
||||
settings.BatchProcessing.InputDirectory = missingFolder;
|
||||
settings.BatchProcessing.OutputDirectory = this.testDirectory;
|
||||
settings.BatchProcessing.PromptFilePath = missingFile;
|
||||
settings.PromptOptimizer.PreselectedCustomPromptGuidePath = missingFile;
|
||||
settings.App.ExternalHttpCustomRootCertificatesEnabled = true;
|
||||
settings.App.ExternalHttpCustomRootCertificateBundlePath = missingFile;
|
||||
settings.ERI.ERIServers.Add(new DataERIServer { ServerName = "Wiki server", WriteToFilesystem = true, BaseDirectory = missingFolder });
|
||||
@@ -89,6 +90,7 @@ public sealed class DataRestoreOpenPointsTests
|
||||
new(DataRestoreOpenPointKind.DATA_SOURCE_NOT_FOUND, "Handbook"),
|
||||
new(DataRestoreOpenPointKind.BATCH_PROCESSING_PATH_NOT_FOUND, missingFolder),
|
||||
new(DataRestoreOpenPointKind.BATCH_PROCESSING_PATH_NOT_FOUND, missingFile),
|
||||
new(DataRestoreOpenPointKind.PROMPT_OPTIMIZER_GUIDE_NOT_FOUND, missingFile),
|
||||
new(DataRestoreOpenPointKind.CERTIFICATE_BUNDLE_NOT_FOUND, missingFile),
|
||||
new(DataRestoreOpenPointKind.ERI_SERVER_DIRECTORY_NOT_FOUND, "Wiki server"),
|
||||
}));
|
||||
|
||||
@@ -56,6 +56,7 @@ public sealed class ManagedSettingsCoverageTests
|
||||
{
|
||||
["DataSlideBuilder.TemplatePath"] = Path.Combine(Path.GetTempPath(), "Corporate.potx").Replace('\\', '/'),
|
||||
["DataSlideBuilder.PreselectedPictureLibraryPath"] = Path.Combine(Path.GetTempPath(), "Pictures").Replace('\\', '/'),
|
||||
["DataPromptOptimizer.PreselectedCustomPromptGuidePath"] = Path.Combine(Path.GetTempPath(), "Prompting-Guide.md").Replace('\\', '/'),
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user