mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 12:47:21 +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
+2
-2
@@ -78,7 +78,7 @@ internal static partial class VisualBriefingStructuredResponseProcessor
|
||||
var root = GetContract(typeof(T));
|
||||
var shapes = EnumerateObjectShapes(root);
|
||||
var builder = new StringBuilder();
|
||||
builder.AppendLine("Strict JSON grammar generated from the active response contract:");
|
||||
builder.AppendLineLF("Strict JSON grammar generated from the active response contract:");
|
||||
foreach (var shape in shapes)
|
||||
{
|
||||
builder.Append(shape.Name);
|
||||
@@ -98,7 +98,7 @@ internal static partial class VisualBriefingStructuredResponseProcessor
|
||||
if (property.AllowsNull)
|
||||
builder.Append(" | null");
|
||||
}
|
||||
builder.AppendLine("}");
|
||||
builder.AppendLineLF("}");
|
||||
}
|
||||
builder.Append(
|
||||
"Every object may contain only the properties shown above. Required properties must be present even when their value is null.");
|
||||
|
||||
Reference in new issue
Block a user