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,10 @@
namespace AIStudio.Tools.Services;
/// <summary>
/// The approved draft, the review notes, and the chosen chat, as the prompt for the texts of a direct chat launcher
/// 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>
/// <param name="ChatLaunch">The chat the launcher opens.</param>
internal sealed record AssistantBuilderLauncherPromptData(string ApprovedAssistantDraft, string? ReviewNotes, AssistantBuilderChatLaunchRequest ChatLaunch);