Replaced the anonymous JSON shapes of the Assistant Builder and the SWOT moderation with records

This commit is contained in:
Thorsten Sommer committed 2026-11-03 08:36:42 +01:00
1 parent fc3dc57e60
commit 4c0ba56546
15 files changed
+336 -43

No files matched your search

@@ -0,0 +1,8 @@
namespace AIStudio.Tools.Services;
/// <summary>
/// The approved draft and the review notes, as the prompt for the Lua code of a form assistant hands them to the model.
/// </summary>
/// <param name="ApprovedAssistantDraft">The approved draft.</param>
/// <param name="ReviewNotes">The review notes, or null when the user left them empty.</param>
internal sealed record AssistantBuilderGenerationPromptData(string ApprovedAssistantDraft, string? ReviewNotes);