Added a dialog that shows the system prompt and its parts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
j-erlerandClaude Opus 5.5 committed 2026-09-24 01:23:56 +02:00
1 parent 40ac215359
commit ac81bf25e9
2 files changed
+139

No files matched your search

@@ -0,0 +1,42 @@
@inherits MSGComponentBase
<MudDialog>
<DialogContent>
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
@T("This is the complete system prompt the AI receives with your next message. AI Studio assembles it from the parts listed here.")
</MudJustifiedText>
@* In the order in which the parts appear in the prompt below: *@
<MudSimpleTable Dense="@true" Class="mb-6">
<tbody>
<tr>
<td>@T("Date and time")</td>
<td>@this.DateTimeText</td>
</tr>
<tr>
<td>@T("Chat template")</td>
<td>@this.ChatTemplateText</td>
</tr>
<tr>
<td>@T("Data from your data sources")</td>
<td>@this.RetrievedDataText</td>
</tr>
<tr>
<td>@T("Profile")</td>
<td>@this.ProfileText</td>
</tr>
<tr>
<td>@T("Tool instructions")</td>
<td>@this.ToolNamesText</td>
</tr>
</tbody>
</MudSimpleTable>
<TextInfoLines Label="@T("Complete system prompt")" MaxLines="20" Value="@this.SystemPrompt" ClipboardTooltipSubject="@T("the complete system prompt")"/>
</DialogContent>
<DialogActions>
<MudButton OnClick="@this.Close" Variant="Variant.Filled" Color="Color.Primary">
@T("Close")
</MudButton>
</DialogActions>
</MudDialog>