mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 01:07:21 +00:00
Improved the dialogs for local data sources and the Batch Processing assistant (#1096)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
149395c1a0
commit
f7e6ceb915
45 files changed
+2514
-361
No files matched your search
+3
-4
@@ -18,8 +18,6 @@ public partial class AssistantBatchProcessing
|
||||
|
||||
private string? ValidateFilePatterns(string patterns) => FileNamePatterns.Validate(patterns);
|
||||
|
||||
private string? ValidateExcludePatterns(string patterns) => FileExclusions.Validate(patterns);
|
||||
|
||||
private string? ValidateCsvFileName(string fileName)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(fileName))
|
||||
@@ -135,9 +133,10 @@ public partial class AssistantBatchProcessing
|
||||
|
||||
//
|
||||
// The exclusion list sits in the expert settings, which are folded away by default. Unfold
|
||||
// them, so the user sees the message next to the list:
|
||||
// them, so the user sees the message next to the list. Only the editor knows about an invalid
|
||||
// draft, since it passes on valid lists only:
|
||||
//
|
||||
if (this.ValidateExcludePatterns(this.excludePatterns) is not null)
|
||||
if (this.exclusionEditor is { IsValid: false })
|
||||
this.showExpertSettings = true;
|
||||
|
||||
var instructionIssue = this.ValidateInstructionSource();
|
||||
|
||||
Reference in new issue
Block a user