mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 19:47:22 +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
@@ -29,20 +29,20 @@ public sealed record PreparedRetrievalContext(IRetrievalContext Context, string
|
||||
switch (index)
|
||||
{
|
||||
case > 0 when numTotalRetrievalContexts is null:
|
||||
sb.AppendLine($"# Retrieval context {index}");
|
||||
sb.AppendLineLF($"# Retrieval context {index}");
|
||||
break;
|
||||
|
||||
case > 0 when numTotalRetrievalContexts > 0:
|
||||
sb.AppendLine($"# Retrieval context {index} of {numTotalRetrievalContexts}");
|
||||
sb.AppendLineLF($"# Retrieval context {index} of {numTotalRetrievalContexts}");
|
||||
break;
|
||||
|
||||
default:
|
||||
sb.AppendLine("# Retrieval context");
|
||||
sb.AppendLineLF("# Retrieval context");
|
||||
break;
|
||||
}
|
||||
|
||||
sb.Append(this.Body);
|
||||
sb.AppendLine();
|
||||
sb.AppendLineLF();
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user