mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 15:28:40 +00:00
Added an analyzer which keeps line breaks LF on every system (#1193)
This commit is contained in:
1 parent
b1c1f13993
commit
65d50de033
96 files changed
+741
-393
No files matched your search
@@ -113,7 +113,7 @@ internal sealed class AssistantDropdown : StatefulAssistantComponentBase
|
||||
public override string UserPromptFallback(AssistantState state)
|
||||
{
|
||||
if (this.IsMultiselect && state.MultiSelect.TryGetValue(this.Name, out var selections))
|
||||
return this.BuildAuditPromptBlock(string.Join(Environment.NewLine, selections.OrderBy(static value => value, StringComparer.Ordinal)));
|
||||
return this.BuildAuditPromptBlock(string.Join('\n', selections.OrderBy(static value => value, StringComparer.Ordinal)));
|
||||
|
||||
state.SingleSelect.TryGetValue(this.Name, out var userInput);
|
||||
return this.BuildAuditPromptBlock(userInput);
|
||||
|
||||
Reference in new issue
Block a user